All Task not created after Request Item approval

User687957
Tera Contributor

Dear all,

I am learning the service now platform by exploring the Administration training course.

I have created a catalog Request which create Request Item and need to be validated by the reporter manager.

When approved by manager, it is suppose to create 3 catalog task but only the first one is created and I do not understand why

The first task is flag as completed

The second is flag as Waiting

The third is flag as Not run

 

Here is below the screen capture of the flow

User687957_2-1768212624928.png

 

 

And here is the flow config

User687957_1-1768212538956.png

Any idea why not all task gets created from the flow ?

regards

1 ACCEPTED SOLUTION

vaishali231
Giga Guru

Hi @User687957 

 

This is expected behavior in Flow Designer and nothing is wrong with your flow.

 

In Flow Designer, actions run one after another, not in parallel.

 

When you use Create Catalog Task, the flow waits until that task is completed (closed) before moving to the next step.

That is why you are seeing this:

 

First task – Completed
The task was created and then closed, so the flow moved forward.

Second task – Waiting
The task is created but still open, so the flow is paused here.

Third task – Not Run
This step has not been reached yet because the second task is still open.

So the flow is behaving exactly as designed.

If your requirement is sequential tasks then your current design is correct.
You just need to close the second task to allow the third one to be created.

If you want all three catalog tasks to be created at the same time, then you should not use sequential “Create Catalog Task” actions. In that case, you can:

Use Create Record instead , or

Create the tasks using a different approach (like parallel logic or a subflow).

 

*************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.

Regards
Vaishali Singh

View solution in original post

7 REPLIES 7

vaishali231
Giga Guru

Hi @User687957 

 

This is expected behavior in Flow Designer and nothing is wrong with your flow.

 

In Flow Designer, actions run one after another, not in parallel.

 

When you use Create Catalog Task, the flow waits until that task is completed (closed) before moving to the next step.

That is why you are seeing this:

 

First task – Completed
The task was created and then closed, so the flow moved forward.

Second task – Waiting
The task is created but still open, so the flow is paused here.

Third task – Not Run
This step has not been reached yet because the second task is still open.

So the flow is behaving exactly as designed.

If your requirement is sequential tasks then your current design is correct.
You just need to close the second task to allow the third one to be created.

If you want all three catalog tasks to be created at the same time, then you should not use sequential “Create Catalog Task” actions. In that case, you can:

Use Create Record instead , or

Create the tasks using a different approach (like parallel logic or a subflow).

 

*************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.

Regards
Vaishali Singh

This is default behavior, because of the 'wait for completion' checkbox. That's default set to 'true'. If all tasks need to be created at the same time, you can still do it as how the flow is currently set (the answer above is only partially correct in this). You just need to untick the box and then create logic to wait for all three tasks to be completed before you let the flow continue.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Mark Manders
Mega Patron

What does the flow reporting state? The second task is set to 'waiting'. Is it created or not? 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Hello,

"What does the flow reporting state? The second task is set to 'waiting'. Is it created or not? "

The flow create the first task only. Then if I close the first task, the second task is created only at the time the first is closed, same for the third.