Configure the Output Parameter for the Get Eligible Program Rebate Types Flow Action in Flow Builder

Configure the Output Parameter for the Get Eligible Program Rebate Types Flow Action in Flow Builder

The Get Eligible Rebate Types flow action has two output parameters, Resultant Rebate Types for API and Resultant Rebate Types for Flow. Use the Resultant Rebate Types for API parameter for API calls and the Resultant Rebate Types for Flow parameter when creating a flow with the GetEligibleRebateTypes invocable action.

Required Editions

Available in: Enterprise, Unlimited, and Developer Editions that have Rebate Management enabled.
User Permissions Needed
To create a flow Rebate Management Admin permission set, Manage Flows
  1. From Setup, in the Quick Find box, enter Flows and then select Flows.
  2. Click New Flow.
  3. Select a flow type and then click Create.
  4. Select the Freeform layout and then drag the Action element onto the canvas.
  5. In the Action field in the New Action dialog, select the Get Eligible Program Rebate Types action and specify these details.
    Field Description
    Label The name for the action.
    API Name The API name for the action.
    Reference ID The input collection variable. Select {!ReferenceObjectIDs}.
    Limit The limit for the eligible rebate type results.
    Offset The offset for the eligible rebate type results.
    Applied Rebate Types Limit The limit for the applied rebate types results.
    Applied Rebate Types Offset Input The offset for the applied rebate types results.
    Manually assign variables Select the checkbox to manually assign the output variables.
  6. In the Resultant Rebate Types for Flow field, click New Resource.
  7. In the New Resource dialog, specify these details.
    Field Value
    Resource Type Variable.
    API Name Specify an API name for the variable.
    Data Type Apex-Defined.
    Apex Class ConnectApi__EligibleProgramRebateTypesOutput.
    Add apex-defined output parameter
  8. Select the Available for output checkbox and then click Done.
  9. In the New Action dialog, click Done.
  10. Add other elements as required to the flow and save your work.