Task Results Rule - Custom Voting Rule with Other Task Step Result

Use a custom voting rule when you need more complex logic, such as when a result must take into account decisions made on other task steps.

You can, for example in workflow that starts when a new employee joins a company, design parallel paths that must be completed by one group and another path that includes the final stopping point of the employee onboarding process. The employee receives a laptop and completes training. The IT department configures the employee's profile and issues their laptop. Training is presented by company department heads and follows a separate path.

The new employee cannot be issued a final certificate until the laptop is issued, even if they have completed all of their training. When everything is done, the employee receives a certificate of completion and the workflow ends.

To start this process, the employee completes an online form. This starts the workflow and tasks are sent to the IT department and to the trainers.

Only once the IT task Issue Laptop to User and all the training completes does the employee get a certificate. This scenario illustrates the connection between unrelated tasks and is controlled by the voting rule.

Example of the configured Custom Voting Rule with Task