Configure Criteria for Journeys and Tasks Using Redwood Rule Builder
You can use the Redwood Rule Builder in the Redwood journeys setup pages to configure various criteria for journeys and tasks.
- Configure events in a journey template.
- Create a contextual journey template.
- Create a survey journey template.
- Configure an application task that supports completion criteria.
- Configure an embedded application task that supports completion criteria.
These are some use cases on how you can use the Rule Builder:
Configure Rule to Trigger Journey Based on Event
- Navigate to the journey where you want to configure the event. On the Advanced tab, click Add in the Configure Events section.
- Select the Absence Entries event.
- In the Rule Builder panel drawer, add two groups and configure these
conditions in each group by using the attribute, operator, and operand
value:
- Absence Type is Maternity Leave
- Absence Status is Submitted
Connect these two groups by using the group connector (All operator). The rule is evaluated only when both these conditions are satisfied.
Configure Rule to Trigger Contextual Journey
- Navigate to the journey where you want to configure the rule. On the Advanced tab, click Add in the Configure Criteria section.
- Create a group and add these conditions in the group:
- Location is US_ATL
- Department is Direct Sales US
Connect these two conditions by using the expression connector (Any operator). The rule is evaluated only when either of these conditions is satisfied.
Configure Rule to Evaluate Population for Survey Journey
- Navigate to the journey where you want to configure the rule. On the Advanced tab, click Add in the Configure Criteria section.
- Create a group and add this condition in the group:
- Legal Employer is Vision Corporation
- Add a subgroup in the created group and add this condition in the
subgroup:
- Business Unit is Vision ADB
Connect the group and its subgroup by using the group connector (All operator). The rule is evaluated only when both these conditions are satisfied.
Configure Rule to Determine Application Task Completion
- Navigate to the journey where you want to configure the rule. On the Overview tab > Tasks section, click the Edit icon for the application task where you want to configure the completion criteria. Click Add in the Completion Criteria section.
- Select the Address business object attribute and the criteria you want to configure for the application task.
- Create a group for the person criterion and add this condition in the group: Legal Employer is Vision Corporation.
- Create a group for the object criterion and add this condition in the group: Address Type is Home Address. Connect the groups in both criteria by using the group connector (All operator). The rule is evaluated only when both the conditions are satisfied.
Points to Consider
- You can add only one subgroup in a group when using Redwood Rule Builder.
- You need to ensure that the case of the attribute value configured in the rule matches that of the data in the application.