- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Community,
I have a scenario, where the flows are executing simultaneously and bringing unexpected behaviour.
Ex: I have count field on a Parent Table. When the Child record is completed, it will check the previous value and increment to one.
If I update it from List view, couple of flows are executed simultaneously, and instead of incrementing to two, they are incrementing to one.
Does changing the Flow from Run Background to Run Foreground solve the issue.
Or Is there way where we can move the flow into dedicated Queue, if there is already a flow running on this table.
or any better solution for this.
Regards,
Najmuddin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hello @Najmuddin Mohd
Parent Record Count = 0
Child Record Completed -> Flow Triggered.
Parent Record Count = 1
"If I update it from List view," then let's say same flow is executed twice and the expectation is Parent Record Count = 3 however it is showing 2.
May I know if the above understanding is correct?
Here is a sample Flow which updates Parent's Incident Count Field value to 2 if both Child Incidents are resolved simultaneously:
Validation results: Parent Incident's Count Field updated twice when both Child Incidents were resolved from list view at the same time:
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hello @Najmuddin Mohd
Parent Record Count = 0
Child Record Completed -> Flow Triggered.
Parent Record Count = 1
"If I update it from List view," then let's say same flow is executed twice and the expectation is Parent Record Count = 3 however it is showing 2.
May I know if the above understanding is correct?
Here is a sample Flow which updates Parent's Incident Count Field value to 2 if both Child Incidents are resolved simultaneously:
Validation results: Parent Incident's Count Field updated twice when both Child Incidents were resolved from list view at the same time:
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Vishal Jaswal ,
Thanks for your reply.
Here, it takes the Input as Count which was before and the Number that you add as Incremented.
Let's assume the flow for two records have run simultaneously, then the Input as Count would be fetched same from the Parent record as 1 and incremented as one in both child records, which would result same on the Parent as 2.
This would not result is any issue ?
Regards,
Najmuddin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @Najmuddin Mohd
If you can share the trigger condition screenshot, then that will help me to reproduce the issue at my end.
Hope that helps!
