How to call decision rule in interface

Here, I have created a decision rule, My requirements are if I call this decision rule in the interface in the orgName field the tax Id and Address should be displayed.

How can i configure this in the interface?

  Discussion posts and replies are publicly visible

Parents Reply
  • a!localVariables(
      local!address:rule!ALM_decisionRule(input1: "AKSHARA FOUNDATION"),
      {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!sectionLayout(
              label: " ",
              contents: {
                a!boxLayout(
                  label: "Donation Details",
                  contents: {
                    a!pickerFieldUsers(
                      label: "Donor *",
                      labelPosition: "ABOVE",
                      placeholder: "Enter the name of the Donor",
                      maxSelections: 1,
                      value: ri!donationDetails.donarName,
                      saveInto: ri!donationDetails.donarName,
                      readOnly: ri!isReadOnly
                    ),
                    a!sideBySideLayout(
                      items: {
                        a!sideBySideItem(
                          item: a!dropdownField(
                            label: "Organization Name",
                            labelPosition: "ABOVE",
                            placeholder: "Choose a value",
                            choiceLabels: local!address,
                            choiceValues: local!address,
                            value: local!address,
                            saveInto: ri!donationDetails.orgName,
                            disabled: ri!isReadOnly
                      
                          )
                        ),

Children