The CreatorCon Call for Content is officially open! Get started here.

Workflow activity executing multiple times

Nagendra7
Kilo Contributor

Hello All,

 

This is regarding the workflow which I have been working on:

find_real_file.png

 

The issue in the above flow is that it is executing properly the 1st time but after the creation of the event when it runs again it is creating the same event twice and when it is executing for the 3rd time it is creating 4 events (same event).

 

Can someone please let me know why this is happening?

Thanks in advance.

Regards,

Nagendra.

14 REPLIES 14

Hello Rushikesh,

 

Thanks for the reply.

Please find the below snap:

find_real_file.png

This is the only create task activity which is available in the workflow. This only executes if it is YES. Is this what causing this issue? Can you please elaborate whats happening? 

 

Regards,

Nagendra.

Hi,

is the create task activity taking you again to previous activities

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur,

No, only the below is executing multiple time based on the condition.

find_real_file.png

 

This is only used for triggering the notification. But if it goes to No, then there is another activity which is going forward.

Regards,

Nagendra

Hi,

once your event is triggered you are again taking activity to Timer

Is that required?

once the timer completes it would again try to create event if the Path takes as Yes

can you explain what was your requirement for which you created this workflow

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur,

Yes, it is required. Because we are checking if the approval is approved. if not then the event will be created and the notification will be sent.

If it is approved, then it'll will go to no and the time flow will be stopped.

We want the event to be created again if it goes to YES.

But what's happening is it is creating twice when it goes to create event for the 2nd time. and 4 event when it goes to create event for 3rd time.

 

Regards,

Nagendra.