Flow is stuck at Wait for condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 04:19 AM
Hi,
I have a issue where flow is stuck at wait for condition, my scenario is,
When agent selects ' Can this be remotely done' variable value as 'Yes' Or "No', then the rest of the flow should execute.
But sometimes flow stuck at this step even though agent has selected Yes or No as a value.
But sometimes it works.
I have tried out enable timeout option but I observe that if agent doesn't selects any value even it will pass this step and execute rest of the flow activitie.
Without that , Is there any other way I can resolve this issue.
(what I want is, If agent hasn't selected any value for this ' Can this be remotely done' variable, It should remain at wait for condition in flow.
otherwise(If any value is selected for ' Can this be remotely done' variable, it should run the other activities in the flow.)
Appreciate any advise / guidance on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 04:45 AM
Hi SSA,
What script are you using on the wait for condition?
I would set it to something like this depending on your variable names.
// Set the variable 'answer' to true or false to indicate if the condition has been met or not.
if (current.can_this_be_done_remotely == "Yes"||current.can_this_be_done_remotely == "No")
{
answer = true;
}
else
{
answer = false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 04:55 AM
Hi How to add a script to wait for condition, Please guide me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 04:58 AM
Are you able to send screenshots of the flow that you have so far?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 05:10 AM