Issues with close of RITM's and Catalog Tasks

Vaishnavi35
Tera Guru

Hi,

1. When Tasks are closed, RITM is not getting closed. (RITM should close once the Catalog Task is closed)
2. When RITM is cancelled/closed Tasks should cancel or close . Approvals No longer required.

Vaishnavi35_0-1687518970924.png

Code does not work. The Tasks are getting closed just fine but the RITM state automatically moves to "Closed Incomplete" though I am marking it as Closed Complete , once the form reloads it moving to closed incomplete. Not sure why.

3. Once the RITM is closed REQ is not getting closed and still "Active".

 

Please help me fix this issue!

 

Thanks,

Vaishnavi

1 ACCEPTED SOLUTION

This happening because your workflow is attached to the RITM and it is still going to proceed with the flow. There is only one functionality which cancel the workflow upon ritm cancelation. 

If you close complete the RITM and there is still few activities in the workflow to be executed. it will execute that. 

 

Make sure to close RITM upon completion of Workflow. you can do one thing before this activity. You can put a if statement and check if RITM is closed complete or not and according proceed the flow.

 

Please mark it Correct if it resolves your query.

View solution in original post

24 REPLIES 24

Vaishnavi35_0-1687351115319.png

When I have tried to debug the business rule this is what I got.

 

Vaishnavi35_1-1687351156312.png

This is the condition defined for "Closed Tasks due to cancellations" - OOB

 

Can I add a condition for "Closed Complete"?

Vaishnavi35_2-1687351217798.png

Thanks,

Vaishnavi

Hi,

I have made progress

For some of the requests its getting closed correctly.

 

Vaishnavi35_0-1687941906069.png

The RITM is getting closed correctly. Even the tasks.

But the 4th Task which is created after the closure of 3rd task is created in Open state.

 

Vaishnavi35_0-1687942085207.png

 

Here the 3 tasks are created as soon as we submit the RITM. so when RITM is closed 3 tasks get closed but the 4th task is opened. How can I avoid this?

Is it possible?

 

Thanks,

Vaishnavi

can you share the workflow please

Hi @Mehta 

If you can help please?

 

Vaishnavi35_0-1687948474790.png

 

Same case another Workflow,

Vaishnavi35_2-1687948915159.png

 

Vaishnavi35_1-1687948885134.png

 

Thank you!

This happening because your workflow is attached to the RITM and it is still going to proceed with the flow. There is only one functionality which cancel the workflow upon ritm cancelation. 

If you close complete the RITM and there is still few activities in the workflow to be executed. it will execute that. 

 

Make sure to close RITM upon completion of Workflow. you can do one thing before this activity. You can put a if statement and check if RITM is closed complete or not and according proceed the flow.

 

Please mark it Correct if it resolves your query.