Automatically update a successor item when predecessor is marked complete

OneDesk’s workflow automations are a powerful tool, allowing for deeply customizable ways to streamline your workflow. Another useful workflow automation is updating an item’s successors when the predecessor item’s lifecycle changes.

Predecessor vs. successor items

In OneDesk, items may be linked together and defined by a linked item relationship. Two relations which linked items can have are “preceded by” and “succeeded by”.

predecessor and successor

The relationship “preceded by” indicates that the linked item comes before the specific item, while “succeeded by” shows that the linked item comes after. In the image below, the sample ticket is in the middle of a linked relationship. The sample task is its parent, while the second sample ticket is its successor.

linked items

Now that we know the difference between predecessor and successor linked item relationships in OneDesk, let’s create an automation to automatically update an item’s successor task lifecycle state to “ready to start” when the predecessor is marked as “closed”.

Accessing workflow automations

First, navigate to the “more applications” section on the bottom-left of the OneDesk interface, and select the “administration” cog. From here, select “tickets”, “tasks”, or “projects” under the “user apps” drop-down, depending on what item you wish to create an automation for. Next, scroll down to the “workflow automations” section.

workflow automations

Select “Create Workflow Automation” in the top-left corner. This will bring you to the workflow creation screen – you can select the item that you wish this automation to run on, the trigger for the automation to occur, and the action that occurs when the trigger is met. Additionally, you can filter your selections to apply only to items that meet certain conditions.

create workflow automation

Creating our automation

Let’s have our automation run on tasks, and update successors to “ready to start” when the predecessor item’s lifecycle state changes to “closed”. Under “runs on”, we select tasks, set our trigger to be the lifecycle status being closed, and the action to update our task’s successor lifecycle state to “ready to start”.

update successor when predecessor closed

Select save, and you have created your automation to update a successor item when its predecessor is completed.

Related articles

Linked item relationships

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>