Building a CA PAM Interaction Request Form with a drop down list populated from a database field.
The Interaction Request Form contains two variables. Values and LastName.
Values is a hidden parameter that will be populated by the process with the database values.
LastName is the parameter that will read from the Values parameter and present that in this form as a drop down. It uses the expression field to refer to the Values parameter.
The process looks like this:
The properties of the Select_Operator are shown below. The expression is in double quotes and just does a select of the last_name field from a contact table.
On the Execution Settings tab of the Select Operator properties, the Post Execution will populate the process dataset variable, LastNames, with the values that are read from the database.
On the User Interaction Form Operator Properties, select the Assignee(s) that we are presenting the drop down list to on the Assingees tab.
On the User Prompt tab, select the Interaction Request Form that was created above.
Select the Form data initialization code button and enter the following to pass the Process LastNames values to the Form's Values parameter.
Now save and check in the process and run it. The assignee will see the following on their task list in the management console:
Select Reply and see the following: