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

Sai Kumar B
Mega Sage
Mega Sage

Hi @terrieb 

1.) Firstly, In all task activities set the stage to fulfillment and check the wait for completion box.

2.) Connect all the task activities to the "Join" activity, Join activity contains two conditions (By native)
      a.) Complete - It triggers when all the tasks are completed
      b.) Incomplete - It triggers when all the tasks are incomplete

3.) Connect the Join activity complete flow to "Set values" activity Inside set values set the stage to "Completed" and set state field to Closed completed(That means RITM gets completed)

4.) Connect the Join activity In complete flow to "Set values" activity Inside set values set the stage to "Request canceled" and set state field to Closed Incomplete(That means RITM gets Closed In complete)

Please mark my answer as helpful/correct, if applicable

Best regards,
Sai Kumar

There are 23 tasks in this workflow.  They want all tasks to generate at the time of creation and have the ability to complete them out of order if necessary.

So, while I built the join activity as you stated, if the final task, with the wait for completion box checked, is closed before the other tasks are all closed, the RITM/Request still goes to Closed Complete State and Stage of Completed.

All tasks are using the fulfillment stage.

If I apply the wait for check box on all 23 tasks, then they do not create all at once.

Am I just doing something wrong here?

Thanks

Hi,

 

Use Branch and Join activity

Branch will open the 16 task at once and join will wait until all are closed

find_real_file.png

mark Correct✅/helpful if applicable, thanks!!

Aman

@terrieb  Can you please share your workflow here? if possible