Creating Parameters for Actions That Invoke Workflows
If you defined an action for the product offer that invokes a workflow, then you can define parameters that are passed to the workflow.
For example, you have a number of product offers that require customers to have a minimum, prepaid balance, with different balances required for the different product offers. You create a workflow that checks an external application to determine the customer’s prepaid balance and that generates an order only if the customer has more than the required balance. Different product offers pass different parameters to the workflow, depending on the minimum balance that the offer requires. When you create a new product offer that requires a minimum balance of $50, you call this workflow, and enter 50 as the workflow parameter.
For this product offer, you would enter the name of this workflow that checks minimum balance in the Workflow field, and you would enter 50 in the Value field in the following procedure. For a different product offer that requires a minimum balance of $200, you would enter the name of this workflow in the Workflow field, and you would enter 200 in the Value field.
If you want to provide inputs from the current context, such as an order ID generated by earlier actions or custom fields on the account header, then you must extend the Default Product Offer Recommendation variable maps unless you have configured custom variable maps
To specify parameters for actions that invoke workflows
Create the action, as described earlier in this topic, with the values shown in the following table.
Field Value Action
RunProcess
Action Code
Workflow
Workflow
The name of the workflow that is invoked
Click the Workflow Parameter view tab.
Add one or more new records to the Workflow Parameter list, and complete the necessary fields as described in the following table.
Field Comments Name
Enter a workflow parameter name.
Value
Enter the workflow parameter value.