RITM closing before all tasks are completed

johnsonjohn
Tera Contributor

Hi, Service Now rookie here so please be patient.

I have a very simple workflow that creates 4 tasks sequentially -- each task is created once the previous task is closed.   What I'm finding, however, is that when the first task is closed the RITM closes.   What I would like is for the RITM to close only after the last task in the sequence is closed.   Would appreciate any assistance anyone can provide.

7 REPLIES 7

Cheyenne1
Kilo Guru

Can you screen shot your workflow?


Hi Cheyenne, sure here it is.   There are other things going on here, but the screenshot shows the part I'm describing.   The item is called Oracle Human Resources, which creates 4 catalog tasks in sequence (beginning with IT_T3_Development and ending with HRIS Fulfillment).   Someone suggested I use the Generate Tasks activity, but that didn't do what I needed here.



find_real_file.png


Cheyenne1
Kilo Guru

It may be your workflow stages. I just mocked this up quick and it keeps the other tasks pending until the previous one is closed complete as well as keeps the RITM ' work in progress'. Once all the tasks are closed it sets the RITM as 'completed' and active = false. Try removing the stage 'Fulfillment' from the catalog tasks and running it and see if it works how you'd like it to



find_real_file.png


That didn't seem to work.   As soon as I close a task, the RITM goes to closed, even with the stage removed from the task.   Also, I removed the "Generate" activity because it was creating all 4 tasks immediately.   I only want each task created when the previous task is complete, and the RITM to close only when the last task is closed.   Seems like it should be simple, but I can't figure it out.   I do appreciate your time.