20.2.3 Creating a Workflow Activity
Create a workflow activity by right-clicking the workflow version and selecting Create Activity.
To create a workflow activity:
- Adding a Workflow Start Activity
 A Start activity begins a workflow.
- Adding a Workflow End Activity
 An end activity ends a workflow or a workflow branch.
- Adding a Workflow Switch Activity
 A switch activity defines conditional branches in your workflow.
- Adding a Workflow Wait Activity
 A Wait activity pauses workflow execution.
- Adding a Workflow Human Task Activity
 A Human Task - Create activity creates a human task using an existing task definition.
- Adding a Custom Process Type Plug-in as an Activity
 A custom process type plugin uses a custom plugin as an activity.
- Adding an Invoke Workflow Activity
 An invoke workflow activity calls another workflow in the same application.
- Defining an Activity Variable
 Add an activity variable by right-clicking the activity in the workflow tree and selecting Create Activity Variable.
Parent topic: Creating a Workflow
20.2.3.1 Adding a Workflow Start Activity
A Start activity begins a workflow.
To create a workflow start activity:
Parent topic: Creating a Workflow Activity
20.2.3.2 Adding a Workflow End Activity
An end activity ends a workflow or a workflow branch.
Parent topic: Creating a Workflow Activity
20.2.3.3 Adding a Workflow Switch Activity
A switch activity defines conditional branches in your workflow.
To create a workflow switch activity:
- Configuring a True False Switch
 A True False switch is based on the result of a single condition that returns a boolean.
- Configuring a Check Workflow Variable Switch
 A Check Workflow Variable switch is based on the value of a workflow variable.
- Configuring a Case Switch
 A Case switch is based on the result of a computation.
- Configuring an If Elsif Else Switch
 An If Elsif Else switch is based onAND/ORcomparisons between the conditions.
Parent topic: Creating a Workflow Activity
20.2.3.3.1 Configuring a True False Switch
A True False switch is based on the result of a single condition that returns a boolean.
To configure a True False Switch:
Add the switch branches. To create a new branch:
Parent topic: Adding a Workflow Switch Activity
20.2.3.3.2 Configuring a Check Workflow Variable Switch
A Check Workflow Variable switch is based on the value of a workflow variable.
To configure a Check Workflow Variable Switch:
Add the switch branches. To create a new branch:
Parent topic: Adding a Workflow Switch Activity
20.2.3.3.3 Configuring a Case Switch
A Case switch is based on the result of a computation.
To configure a Case Switch:
Add the switch branches. To create a new branch:
Parent topic: Adding a Workflow Switch Activity
20.2.3.3.4 Configuring an If Elsif Else Switch
An If Elsif Else switch is based on AND/OR comparisons between the conditions.
                     
To configure an If Elsif Else switch:
Add the switch branches. To create a new branch:
Parent topic: Adding a Workflow Switch Activity
20.2.3.4 Adding a Workflow Wait Activity
A Wait activity pauses workflow execution.
apex_workflow.continue_activity.
                  To create a workflow wait activity:
Parent topic: Creating a Workflow Activity
20.2.3.5 Adding a Workflow Human Task Activity
A Human Task - Create activity creates a human task using an existing task definition.
To create a workflow human task activity:
Parent topic: Creating a Workflow Activity
20.2.3.6 Adding a Custom Process Type Plug-in as an Activity
A custom process type plugin uses a custom plugin as an activity.
To configure the process type plug-in for workflow use:
To configure the workflow to wait on this process and only progress after the process completes:
To add the custom process type plug-in to the workflow:
Parent topic: Creating a Workflow Activity
20.2.3.7 Adding an Invoke Workflow Activity
An invoke workflow activity calls another workflow in the same application.
To add an invoke workflow activity:
Parent topic: Creating a Workflow Activity
20.2.3.8 Defining an Activity Variable
Add an activity variable by right-clicking the activity in the workflow tree and selecting Create Activity Variable.
To add a workflow activity variable:
- Right-click on the activity in the workflow tree and select Create Activity Variable.
- Fill in the properties for the variable:- Static ID - The unique name of the variable.
- Label - The user-friendly label for the variable.
- Data Type - Select from VARCHAR2,TIMESTAMP,TIMESTAMP WITH LOCAL TIME ZONE,TIMESTAMP WITH TIME ZONE,NUMBER,BOOLEAN, andCLOB.
- Value Type - The type of value for the variable.
- Value Language - Language, if applicable.
- (Item only) Item - The workflow parameter, version variable, or activity variable.
- (Boolean only) Format Mask - If applicable, fill in the variable or parameter value used to determine the values.
 
Parent topic: Creating a Workflow Activity