- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2023 01:40 PM
I have created a Flow for a VPN request, where I create a Task record (working) and I create a cmdb_ci_vpn record once the engineer marks the Task as "closed complete" (not working). I would prefer to trigger the cmdb_ci_vpn record's creation directly from the Task record being updated, rather than make a new sc_task and and update that. Weirdly, I tried making an sc_task record and it created the cmdb_ci_vpn record when the Task record was marked closed complete, as I wanted it to. Why is that? and why is the flow I have not working, even though it make "logical" sense?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2023 10:55 PM
When step4 finished ,step5 starts to run without any time lag (the status of the task record is still new ..)。
You should use "Wait For Condition" spoke in step5 to wait until the status of task record changes to "closed complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2023 10:38 PM
Hi @jawnmower,
Do you want to create VPN record once sc_task is closed
If you want that then i don't see you have created any sc_task for your request in flow
We have Wait for Completion check box in create catalog task Action where flow will wait for task to be completed once task is completed you can proceed with creating cmdb(vpn record) or whatever you want.
We can make use of wait in create catalog task Action in Flow Designer
 
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Uday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2023 10:55 PM
When step4 finished ,step5 starts to run without any time lag (the status of the task record is still new ..)。
You should use "Wait For Condition" spoke in step5 to wait until the status of task record changes to "closed complete.