20.3.1 Creating a Workflow Parameter

Create a workflow parameter by right-clicking on the workflow and selecting Create Parameter.

A workflow parameter is an input for the workflow. APEX passes parameters to the workflow instance when the workflow starts. A parameter applies to all versions of a workflow, and the value of a parameter does not change during the workflow runtime.

To create a workflow parameter:

  1. Right-click on the workflow and choose Create Parameter.
    Create Version and Create Parameter are options on the Workflow context menu. Create Activity, Create Variable, and Create Participant are options on the Workflow Version context menu.
  2. Define the parameter attributes:
    1. Static ID - The unique name of the parameter.
    2. Label - The user-friendly label for the parameter.
    3. Data Type - Allowable data types are VARCHAR2, TIMESTAMP, TIMESTAMP WITH LOCAL TIME ZONE, TIMESTAMP WITH TIME ZONE, NUMBER, BOOLEAN.
    4. Session State Format Mask - Only applicable for some data types. For more information, see item-level help.
    5. Application Format Masks - Only applicable for some data types. For more information, see item-level help.
  3. Under Value:
    1. If the parameter is required, turn on the Required toggle.
    2. Set the Default Value.