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.

This example includes these tasks.
  1. Use the Manage Common Lookups task to create a Lookup for Legal Entity parameter.
  2. 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

Let's look at the steps to create a lookup that returns all legal entity values as a smart list of values for the Legal Entity parameter.
  1. Navigate to the Setup and Maintenance area search and select the Manage Common Lookups task.

  2. 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.

  3. Add a row in Lookup Codes and update the row with Lookup Code P_LEGAL_ENTITY_ID.

  4. Enter the Start Date and End Date.

  5. Enter the Meaning. This value is displayed in the smart list of values lookup values in the Flow Parameter setup page.

  6. Click Save and Close.

Add the Lookup to the Payroll Flow Pattern

Let's look at the steps to add the lookup to the payroll flow pattern.
  1. Navigate to the Payroll Flow Patterns quick link under Payroll in My Client Groups.

  2. Create or edit the flow you want to add the smart list of values for the Legal Entity parameter.

  3. On the Flow Parameters page, add or edit a row where you want to add the smart list of values.

  4. Enter the details of the parameter and select Smart LOV as the Display Format.

  5. In the Lookup column select the meaning of the Lookup Type P_LEGAL_ENTITY_ID you entered in Step 5 of the previous task.

  6. 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.