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

Hi,

After creating the task Activity why you again join the transition to that timer, because of that it again executes flow from the timer. and again it creates a task then again it goes for timer and again it creates a task. That happening here.

If you need to give Timer Activity after Creating Task then you can take another timer activity and join that Creates task activity to the new Timer Activity. But check the flow after the Task created. And check it not create a loop like now.

 

Thank you.

 

 

 

Hello Rushikesh,

 

There is no task created inside the loop. It is event which is getting created and we require that to trigger notification.

 

Regards,

Nagendra.

Hi, sorry I used word task instead of the event please check below lines,

After creating the Event Activity why you again join the transition to that timer, because of that it again executes flow from the timer. and again it creates an event then again it goes for timer and again it creates an event. That happening here.

If you need to give Timer Activity after Creating an event then you can take another timer activity and join that Creates event activity to the new Timer Activity. But check the flow after the event created. And check it not create a loop like now.

 

Otherwise, you can use direct notification activity instead of event and send the notification. and then join that notification transition to end or next activity. but not previous activity.

 

Thank you.

Hello Rushikesh,

 

We want the event to be created again and again untill it goes to "NO".

But whats happening is, instead of creating the event once it is going something like this.

 

1st time its goes to timer and creates an event (1 event is created).

2nd time it goes to timer and it should create the event again (1 event should be created) But what's happening is, the event is created twice (2 same event is created, so now the total number of events created for the same flow is 3 instead of 2).

And when it goes to timer again 3rd time. it should create the same event one more time. Total 3 events. 

But instead it is creating 4 events in 3rd step. Total 7 events created instead of 3 events.

 

Please let me know if you have any queries.

 

Regards,

Nagendra.

hi,

I got your point, please complete the transition of both if condition, like complete the 'no' transition to end. do for both if condition. you forgot that.

 

Thank you.