Task should not be created if previous task is closed incomplete

Vikram3
Giga Guru

Hi all,

I have a requirement that if a task is closed complete, next task should be created. If not RITM should be closed incomplete.

How to configure workflow for this?

Thanks in advance.

Regards,

Vikram

1 ACCEPTED SOLUTION

Brent Sutton
Mega Sage

Hi Vikram,

I have had a similar requirement in the past and created a subflow to handle "Closed Incomplete" in a standard repeatable way.

1. Create a workflow to handle the closed incomplete activities. This will be used as a Subflow in your RITM workflow and can be used across multiple workflows. Should look something like this:

* NOTE: You don't need to put these activities into a subflow if you don't want to. You could add them directly to your main workflow if you like. I put them into a subflow so I can reuse the functionality across multiple workflows. 

find_real_file.png

2. Drag your "Closed Incomplete" subflow onto your RITM workflow

find_real_file.png

3. On you Catalog task activity in your workflow you need to right click and select "Add Condition"

find_real_file.png

4. Configure the "Condition" to activity.result == '4'

find_real_file.png

5. Amend the "Always" condition to activity.result == '3'

find_real_file.png

6. Link the Task Condition for "Closed Incomplete" to the subflow that handles the closing of the RITM

find_real_file.png

Hopefully this gives you some ideas about how to handle Closed Incomplete.

Brent

P.S. Please mark as helpful and/or correct if this answered your question.

View solution in original post

8 REPLIES 8

Thanks Brent. You are great. 

No worries, glad I could help.

Community Alums
Not applicable

Hi,

I am trying to implement the same in my Change Request workflow. I want one task to have conditions Closed Complete, Closed Incomplete, Closed Skipped. But that task activity is not moving to the next activity when task is Closed Incomplete/Skipped. I think the change workflow task activity not recognizing the "activity.result".

Any suggestions on this?

Deepak Kumar5
Kilo Sage

Go with Brent solution,Copy the modified Task activity and use it after Closed completed.

If you just have to make the request cancel then instead of subworkflow, you can use "Set value" and set the RITM state and stage there.