Loading
Service
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Store Screen Pop Instructions in a Variable

          Store Screen Pop Instructions in a Variable

          If you add multiple Add Screen Pop actions to a flow, define a collection variable to aggregate and store all screen pop instructions. By storing all instructions in a variable, you don’t have to worry about the order in which the Add Screen Pop actions are added to the flow.

          To understand why order is important if you don’t use a variable, consider this scenario. You create a flow that passes the output of Screen Pop 1 to Screen Pop 2, and then passes the output of Screen Pop 2 to the Route Work action. If you reorder the Add Screen Pop actions, you must change the input screen pop instructions for each of them.

          1. Define a variable to store the Add Screen Pop action’s instructions.
            1. In the Toolbox, select the Manager tab.
            2. Click New Resource.
            3. In Resource Type, select Variable.
            4. Enter the API name and, optionally, a description.
            5. In Data Type, select Record.
            6. Select the Allow multiple values (collection) checkbox.
            7. In Object, select Pending Service Routing Interaction Information.
              The Screen Pop variable has Record data type, allows multiple values, and is based on the Pending Service Routing Interaction Information object.
            8. Click Done.
              The variable appears under Record Collection Variables in the Manager tab of Toolbox.
              The variable appears under the Record Collection Variables section in the Manager tab of the Toolbox.
          2. Use the variable to store the first Add Screen Pop action’s output. Use the variable as input and output for all subsequent Add Screen Pop actions in the flow.
            1. Edit the Add Screen Pop action.
            2. To provide the screen pop instructions stored in the variable as input, under Set Input Variables, select this variable in the Set Collection Variable field.
              The variable is set as the input for the second Add Screen Pop action.
            3. To write the results of the Add Screen Pop action as output to the variable, expand Advanced, select Manually assign variables. Then select the variable in the Screen Pop Collection Variable field.
              Write the second Add Screen Pop action's output to the variable.
          3. Pass the screen pop instructions from the variable to the Route Work action.
            1. Edit the Route Work action.
            2. In the Set Additional Input Values, select the variable in the Screen Pop Collection Variable field.
              Set the Route Work action's input to the variable.
          4. Save the flow.
           
          Loading
          Salesforce Help | Article