For the workflow to reach the decision node, you must define a recipient in the properties of the routing node. When routing and decision nodes are used in workflows for providing approvals, they must always be routed to at least one user. Even though you are only leveraging this functionality so that you can create a delay in the workflow, you must still select a recipient; otherwise, the workflow will end in error.
Because you don’t need an actual user to provide an approval or rejection in the workflow, you should create a non-employee account in Dayforce to route to. This user account will not be logged into; it will only be used for selecting a user in the routing node, so that the workflow can continue to the decision node (for example, "Workflow Automated Notification User").
Once this user account is added to the system, you can select it in the Send to User field in the routing node properties.
To create a user for the purpose of routing to the decision node:
- Go to System Admin > User.
- Click New.
- Configure the fields in the Properties tab as follows:
- User Name: Enter a name that you will be able to find easily, such as "Workflow Automated Message User".
- Culture: Select an option in the drop-down list. This is a mandatory field.
- Approved: Select the checkbox.
- Note: For this user to be available to assign to the routing node, the Approved checkbox must be selected.
- Click Add User Role. Each user in Dayforce must have at least one role defined.
- Configure the fields for the user role as follows:
- User Roles: Select Client Administrator.
- Is Default: Select the checkbox.
- Click Save.