new task should get created based on previous task variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2025 12:55 AM - edited ‎03-05-2025 04:42 AM
I'm working with Flow Designer to create tasks in ServiceNow, and I have a scenario where we use a variable with Yes/No options (but we don't display this variable in the catalog item view).
Here's the flow:
- A Service Catalog item is triggered, and a task is created.
- in that task the variable (Yes/No) is updated by the fulfiller or user after the task is created.
- The goal is that when the Yes/No variable is updated with Yes and saved on the sc_task form, a new task should be created.
I tried to set up a condition in Flow Designer that checks for changes in the Yes/No variable after the first task creation. However, the flow is not waiting for this condition to trigger as expected. The flow seems to proceed without checking this condition before the task is closed.
After the task is closed, the condition works as expected, but before closure, it doesn't wait for the Yes/No variable change. Is there a way to get the flow to wait for the condition before the task is closed, so that a new task can be created when the variable is changed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2025 01:08 AM
Hi @wefw ,
Variables are at Catalog level then it's shown at Task level
Put a if condition then select variable = yes
Then create a action (Create Catalog Task)
If my response helped, please mark it helpful and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2025 01:27 AM
It's not working. Before we entering the values it is checking the condition making false and moving to next step
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2025 04:49 AM
Hi @wefw
Please check if there is any wait for condition by which it is not going to if Condition.
If my response helped, please mark it helpful and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2025 04:58 AM
we have a wait condition but these condition checks whether the task is closed. But before the wait for the condition i have given if condition to check the variable yes/no. but user before entering the value in the variable flow checking the if condition and making false and moved to next step