Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Blocking of Auto sub-task creation if subtask in parent with same summary already exists?

Tracey Ryan
September 17, 2017

I have set up auto-sub task creation using post functions on a couple of transitions in our workflow. However, I our workflow can go back and forth between stages, and therefore i only want the sub-tasks to create the first time it gets transitioned.

Is there a script that i can use in the condition section of the post-script auto-sub task function that will only create the sub-task if a sub-task with the same summary doesn’t already exist on the Parent?  If it does exist, then the sub task wont’ create, but if sub-task doesn’t already exist, then it will create.

 thanks

Tracey

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 10, 2015

Yes, they're exports - once the process that creates them has completed, they are not used by the server again, and can be deleted.

Suggest an answer

Log in or Sign up to answer