Need Help with State/Stage in RITM/Requests

terrieb
Tera Guru

So I have a Catalog Item that has about 16 catalog tasks.

They want the tasks to all generate at once, but don't want the RITM/Request to go to Stage of Completed and State of Closed Complete until ALL tasks are completed.

As it works now, if they complete the final task before the other tasks are completed, then the State and Stage changes to Completed.

I have tried making the final task "wait for completion" as a work around for now, but that is not what they want.  

The last activity in the workflow is Log Message - Completed

 

Is there a way to do this?

 

1 ACCEPTED SOLUTION

@terrieb 

1.) After Run script activity, attach branch activity

2.) Now Connect that branch activity to all the individual catalog task activities

3.) Connect every individual task to Join the activity

4.) Connect join-complete to Set values RITM complete and Join-incomplete to Set values RITM incomplete

View solution in original post

13 REPLIES 13

Attaching screen shot

After run script use branch and then join 16 tasks with the branch activity output and then output of every catalog task to Join activity.

Take the example shared by me in my previous comment.

The way i have joined three task between branch and join, you need to do the same with your 16 tasks.

This is standard way and you will surely achieve your desired requirement.

@terrieb  I can see you're attaching one task activity to another task activity please don't do that instead, attach all individual task activities to the common Join activity. Also, connect that Run script activity to all catalog tasks individually, make sure you have checked "wait for completion" in all task activities.

Thanks & Regards,
Sai Kumar

After closing all the Tasks, the RITM/Request did not move to Closed Complete, so while it solved one problem, I now have another.

The only modifications I did were:

1.  Checked "wait for completion" on all task activities

2.  Removed attachment to each other for each task

3.  Created Branch and linked all tasks to the Branch

4.  Added all tasks to the Join

 

@terrieb 

1.) After Run script activity, attach branch activity

2.) Now Connect that branch activity to all the individual catalog task activities

3.) Connect every individual task to Join the activity

4.) Connect join-complete to Set values RITM complete and Join-incomplete to Set values RITM incomplete