Adding Stage Rules to Issue Workflows
You can add stage rules to your issue workflows to automatically generate an action based on the details of the issue. Conditional logic rules can be configured in the Stage Rules tab to create tasks. OneTrust supports the creation and management of these rules to provide more control and flexibility to the workflows that you have created in the tool.
The workflow stage rules will be evaluated each time the issue reaches the stage in which the rule is configured and the conditions are met.
The ability to view the Issue Workflow tile is controlled by the Custom Issue Workflow View permission.
Available Workflow Stage Rule Actions
Currently, workflow stage rules can be configured to initiate the following actions automatically:
|
Action |
Description |
|---|---|
|
Create Task |
Once initiated, this action will add tasks to an issue record to help define and assign tasks within your organization. For more information, see Configure Stage Rules to Create Tasks . |
|
Send Notification |
Once initiated, this action will send a notification with the provided message to a specified recipient(s). For more information, see Configure Stage Rules to Send Notifications . |
|
Update Attribute |
Once initiated, this action will update the chosen attribute with a new value when conditions are met. For more information, see Configure Stage Rule to Update Attributes |
To add a workflow stage rule
You can add workflow stage rules to workflows in draft status.
Workflow Stage Rule Conditions
The issue workflow stage rule conditions are used to initiate certain actions if any or all of the conditions are met. You can create individual conditions or combine conditions using the Add Condition button to create complex automation logic.
When combining multiple conditions, you can choose whether any of the conditions can be met to initiate the rule action or if all conditions must be met to initiate the action. This section explains how to configure single or multiple conditions to initiate workflow stage rule actions.
|
Section |
Field |
Description |
|---|---|---|
|
General |
Rule Name |
Enter a name for the workflow stage rule. |
|
Conditions |
ALL |
If you select ALL, the stage rule will only be initiated if all of the conditions are met.
Note:
This option only appears if you add more than one condition to the workflow stage rule. |
|
ANY |
If you select ANY, the stage rule will be initiated if any one of the conditions are met.
Note:
This option only appears if you add more than one condition to the workflow stage rule. |
|
|
Condition Block |
Conditions (Trigger) |
Select the condition(s) that must be met before initiating the workflow stage rule action. The following condition are available to configure: |
|
Attribute - This condition will launch the stage rule action if the system or custom attribute you configured for the condition is met. |
||
|
Attribute |
Select the attribute that will be linked to this condition. The attribute field is only available when the Attribute condition is selected. |
|
|
Operator |
Select the relationship that must be met between the field and value. |
|
|
Value |
Select the value that applies to your condition(s). |
|
|
Add Condition Block |
N/A |
Click the Add Condition Block button to add more conditions to the workflow stage rule. |
Workflow Stage Rule Actions
Configure Stage Rules to Create Tasks
You can configure stage rules to automatically add tasks to an issue record to help define and assign tasks within your organization.
- Field
- Description
- Actions
-
Select Create Task.
- Task Name
-
Enter the name of the task that should be created by the rule.
- Description
-
Enter a brief description of the task that should be created by the rule.
- Mark task as required
-
Enable to require task to be completed before moving to another stage.
- Assignee
-
Select the user that will be assigned to the task. You can assign the task to System Users or User Type Attributes.Note:
The User type attribute option appears only when the object has at least one available single-select user attribute.
- Priority
-
Select a priority level of the task being created. The priority options include:
-
Critical
-
High
-
Medium
-
Low
-
- Task Collaborators
-
Select the collaborator(s) for the task.
- Deadline
-
Select a deadline for the task to be completed.
Configure Stage Rules to Send Notifications
You can configure stage rules to automatically send a notification with the provided message to a specified recipient(s).
- Field
- Description
- Actions
-
Select Send Notification.
- Assignee
-
Select the respondent(s) that will be sent the notification email. You can select from system users and user type attributes.
- Subject
-
Enter the subject of the notification email.
Note:You can configure system attributes as dynamic variables in the subject field by clicking the Add variables icon.
- Body
-
Enter the body of the notification email.
Note:You can configure system attributes as dynamic variables in the body field by clicking the Add variables icon.
- Add Action
-
Click the Add Action button to add more actions to the workflow stage rule.
Configure Stage Rule to Update Attributes
You can configure stage rules to automatically update an attribute with a specific value when conditions are met.
- Field
- Description
- Actions
-
Select Update Attribute
- Attributes
-
Select the attribute that should be updated. You will also need to provide a value to replace the existing attribute value.
- Add Action
-
Click the Add Action button to add more actions to the workflow stage rule.
To edit a workflow stage rule
- On the Workflow Details screen, select the Stage Rules tab.
- Click the Context Menu icon on the existing workflow stage rule you'd like to edit.
- On the Context menu, select Edit.
- Edit the existing workflow stage as needed.
- Click the Save button.
To delete a workflow stage rule
To add required attributes to advance stage
You can customize the title, guidance, and attributes that appear on the confirmation modal when requiring attributes to advance to the next stage.
To set a stage as an approval stage
If required approvers are configured for a stage, the stage advancement should still proceed as per the workflow rules. These configurations do not block rule‑based stage advancement.
To allow comments when moving to another stage
You can configure workflow stage settings to enable comments when transitioning to another stage in a workflow.
If mandatory comments are configured for a stage, the stage advancement should still proceed as per the workflow rules. These configurations do not block rule‑based stage advancement.