Create a Smart List of Values for a Flow Parameter
This example shows how you can create a lookup and add the lookup to a flow as a smart list of values for a flow parameter.
- Use the Manage Common Lookups task to create a Lookup for Legal Entity parameter.
-
use the Payroll Flow Patterns task to add the lookup to the flow as a smart list of values for the Legal Entity flow parameter.
Create a Lookup for the Legal Entity Parameter
-
Navigate to the Setup and Maintenance area search and select the Manage Common Lookups task.
-
On the Manage Common Lookups page search for the Lookup Type PAY_FLOWPARAMETER_VO. This lookup type fetches the smart list of values for the flow parameter.
-
Add a row in Lookup Codes and update the row with Lookup Code P_LEGAL_ENTITY_ID.
-
Enter the Start Date and End Date.
-
Enter the Meaning. This value is displayed in the smart list of values lookup values in the Flow Parameter setup page.
-
Click Save and Close.
Add the Lookup to the Payroll Flow Pattern
-
Navigate to the Payroll Flow Patterns quick link under Payroll in My Client Groups.
-
Create or edit the flow you want to add the smart list of values for the Legal Entity parameter.
-
On the Flow Parameters page, add or edit a row where you want to add the smart list of values.
-
Enter the details of the parameter and select Smart LOV as the Display Format.
-
In the Lookup column select the meaning of the Lookup Type P_LEGAL_ENTITY_ID you entered in Step 5 of the previous task.
- Save or submit the flow. When you submit the flow, you are presented with a list of values for the Legal Entity parameter for you to select.