# New/updated request trigger
This real-time trigger runs when there is a New/updated request in a Workflow app.
It also runs when the following events occur:
- When a new task in a Workflow app is created.
- When a user completes a task or a task expires.
- When a task is reassigned from one app user to another app user.
- When a user creates/updates a record manually in a Workflow app's corresponding data table.
# Input fields
Workflow app
Choose a Workflow app to check for new/updated requests.
When first started this recipe should pick up events from
Get new/updated requests since a particular date/time. Leave empty to get new requests since one hour ago. Once the recipe has been run or tested, you cannot change this value.
You can also toggle Set trigger condition to only process trigger events matching conditions you specify.
# Output
Output is dynamic and may vary depending on the actions and triggers in your recipe, as well as the columns present in your Workflow app's corresponding data table.
To use this data in downstream steps, map in the relevant datapill from the datatree.
- Change ID
- The ID number that corresponds to the Workflow app's corresponding data table.
- Request
- This JSON object includes the following available attributes. Additional output is available depending on the Workflow app you select and its data table.
- Record ID
- Workato automatically generates a unique ID for each record in a Workflow app's corresponding data table.
- Active task
- A nested JSON object within the Request object.
- This object is empty if there is not an active task associated with the request.
Available attributes include
- Task ID:
- The ID of the task.
- Task name:
- The name of the task.
- Status:
- The task's status.
- Assigned user:
- A nested JSON object within the Assigned task object.
- This object is empty if the task is assigned to a group.
Available attributes include
- User ID:
- The ID of the user assigned to the task.
- User name:
- The name of the user assigned to the task.
- Email:
- The email of the user assigned to the task.
- Status:
- The status of the user assigned to the task.
- Assigned group:
- A nested JSON object within the Assigned task object.
- This object is empty if the task is assigned to an individual user.
Available attributes include
- User ID:
- The ID of the user assigned to the task.
- User name:
- The name of the user assigned to the task.
- The email of the user assigned to the task.
- Status
- The status of the user assigned to the task.
- Due date:
- The due date of the task.
- Created by
- A nested JSON object within the Request object.
Available attributes include
- User ID:
- The ID of the user who created the request.
- User name:
- The name of the user who created the request.
- Email:
- The email of the user who created the request.
- Status:
- The status of the user.
- Groups
- A nested JSON object within the Created by object.
Available attributes include
- Group ID:
- The ID of the group this task is assigned to.
- Group name:
- The name of the group this task is assigned to.
- List size
- List index
- Stage
- A nested JSON object within the Request object.
Available attributes include
- Stage ID:
- The ID of the group this task is assigned to.
- Group name:
- The name of the group this task is assigned to.
- Created at
- The date the record was created.
- Updated at
- The date the record was most recently updated.
- Old request
- This JSON object includes the following available attributes. Additional output is available depending on the Workflow app you select and its data table.
- Record ID
- Workato automatically generates a unique ID for each record in a Workflow app's corresponding data table.
- Assigned task
- A nested JSON object within the Old request object.
- This object is empty if there is not an active task associated with the request.
Available attributes include
- Task ID:
- The ID of the task.
- Task name:
- The name of the task.
- Status:
- The task's status.
- Assigned user:
- A nested JSON object within the Assigned task object.
- This object is empty if the task is assigned to a group.
Available attributes include
- User ID:
- The ID of the user assigned to the task.
- User name:
- The name of the user assigned to the task.
- Email:
- The email of the user assigned to the task.
- Status:
- The status of the user assigned to the task.
- Assigned group:
- A nested JSON object within the Assigned task object.
- This object is empty if the task is assigned to an individual user.
Available attributes include
- User ID:
- The ID of the user assigned to the task.
- User name:
- The name of the user assigned to the task.
- The email of the user assigned to the task.
- Status
- The status of the user assigned to the task.
- Due date:
- The due date of the task.
- Created by
- A nested JSON object within the Old request object.
Available attributes include
- User ID:
- The ID of the user who created the request.
- User name:
- The name of the user who created the request.
- Email:
- The email of the user who created the request.
- Status:
- The status of the user.
- Groups
- A nested JSON object within the Created by object.
Available attributes include
- Group ID:
- The ID of the group this task is assigned to.
- Group name:
- The name of the group this task is assigned to.
- List size
- List index
- Stage
- A nested JSON object within the Old request object.
Available attributes include
- Stage ID:
- The ID of the group this task is assigned to.
- Group name:
- The name of the group this task is assigned to.
- Created at
- The date the record was created.
- Updated at
- The date the record was most recently updated.
Last updated: 2/13/2024, 1:10:22 AM