How to trigger one activity depending on other activity output??

pratik_karande
Tera Contributor

We have a requirement that there are 2 activities inside an activity set named orientation. Both are for task creation. The requirement is such that when one task state changes to closed complete the next task state should become ready. Until the first task is closed the second one should remain in Draft state. Can anyone please tell me how this can be achieved? Thank You

2 REPLIES 2

brianrichards
Tera Guru

Working within the Lifecycle Events configuration page does not provide enough tools for this kind of flexibility as far as I know. Where I have needed to do this in the past I have done so using either a custom Business Rule on the HR Task table (using the task.task_template field as part of the criteria), or using a tiny little Flow Designer Flow.

JohnnySnow
Kilo Sage

Hi @pratik_karande If it is in the same activity set, then you can group these 2 activities into a activity container and set their order. This should work fine in your case i.e. only after completion of first activity will the next one run. 

When you add new activity you'll get this option.

 

JohnnySnow_1-1685624527783.png

 

If the answer helped, please give a thumbs up and if resolved, please accept this as solution and close the thread!

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.