Workflow activity executing multiple times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2021 11:38 PM
Hello All,
This is regarding the workflow which I have been working on:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2021 12:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2021 12:31 AM
Hi,
is the create task activity taking you again to previous activities
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2021 12:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2021 01:03 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2021 01:12 AM
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.