How to Create a Button That Skips to a Particular Task
- Similar to submitting the task but upon submission skip to a designated task instead of just the next task
Video explanation
Steps to set up
- This example will skip from task 1 to task 3
- Create a workflow with three tasks
- Open up the advanced editor
- Add a new action under the action set on the first task
- Set up these properties and values on the new action
- “displayName”: “Skip”,
- “simpleName”: “Skip”,
- “destination”: {
- “destinationType”: “ByStepName”,
- “target”: “target task name goes here”
- To find the value for this go to the third task and copy the value from the “name” property (e.g. ecosystem/workflow/entity/generated-e54376f2-b194-4983-baee-58c5112e554d/untitledstep__generated-e6177194-e211-4a37-b056-ba5a9692ec8c/untitledtask__generated-52a8e144-e970-4cad-a10a-fc0d0d262ea4)
- }
- You can leave the other properties as they are
- Publish the workflow
- Done!
- Now when you create a new work item you can choose either to “Submit” to the next task or “Skip” to the third task
- Additional notes
- If you want the skip button to only show when a condition is met please see this knowledge base page