Supported variable types in Process Composer
- Updated: 2024/12/18
Supported variable types in Process Composer
The core part of any process automation in Process Composer is how data moves (flows) between each task. To run properly, tasks require variables.
Variable types
These variable types are supported in a process automation in Process Composer:
- Input
- Use this variable type to return values that went “in” a task.
- Output
- Use this variable type to return values that came “out” of a task.
- Meta
- Use this variable type to return high-level details about the request of a task.
Variable entities
The following entities can hold variables:
- Global
- Global values span across the tenant and all variable types, and use this form:
$@variableName$
. - Request
- Requests hold meta-type variables only and use this form: This meta-type variable value is from the request.
- Task
- Tasks can hold three types of variables (input, output, meta) and use these forms:
Date time variables
Name | Entity | Description |
---|---|---|
createdOn | Request, Task | Shows the date when the request or task was created. Example: $createdOn$ or $Approval_Task.createdOn$ |
updatedOn | Request, Task | Shows the date when the request or task was last
updated. Example: $updatedOn$ or $Approval_Task.updatedOn$ |
Dictionary variables
Name | Entity | Description |
---|---|---|
assignedTo | Task | Shows information about the user who is assigned to the
task. Dictionary key: {id}, {username}, {email} Example: $Approval_Task.assignedTo$ |
createdBy | Request | Shows information about the user who created the
request. Dictionary key: {id}, {username}, {email} Example: $createdBy$ |
Number variables
String variables
User-defined variable
Name | Entity | Description |
---|---|---|
Any | Task | Stores Boolean, Data table, Date time, File, Number, Record, String, or
Window data types. Use this variable type when you are uncertain of the action data type. |