--- title: "Workflow" slug: "workflow" updated: 2024-02-22T05:01:26Z published: 2024-02-22T05:01:26Z canonical: "help.pillir.io/workflow" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.pillir.io/llms.txt > Use this file to discover all available pages before exploring further. # Workflow The workflow blocks are used to manage the workitems automatically through a service(BOS), eliminating the need for admin to manually navigate to the Console > Universal Worklist tab for specific corrective actions. These actions include: - Restart - Retry - End - Continue - Revert - Archive - Update In scenarios where a work item encounters an error, these blocks enable the implementation of logic to automatically perform the necessary actions (such as those listed above) on the work item. | Block Description | Block on canvas | | --- | --- | | ### Restart Restarts the execution of the workitem from the initial state. The **workitem ID** is added as an input variable. | ![1-restart](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/1-restart.png) | | ### Retry Retries an errored workitem from the current state. The **workitem ID** is added as an input variable. If the error is due to some data, new **data** can be passed through an input variable and the workitem is retried. | ![2-Retry](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/2-Retry.png) | | ### End Stops the execution of a workitem. The **workitem ID** is added as an input variable. | ![3-end](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/3-end.png) | | ### Continue Continues the workitem from the current state. The **workitem ID** is added as an input variable. | ![4-continue](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/4-continue.png) | | ### Revert Restarts the execution of the workitem from the previous success state. The **workitem ID** is added as an input variable. Additionally **data** can be passed through an input variable. | ![5-revert](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/5-revert.png) | | ### Archive Archives the workitem based on the workitem ID. The archived workitems are moved from the Universal Worklist log. The **workitem ID** is added as an input variable. | ![6-archive](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/6-archive.png) |