Wait for Condition in Subflow does not execute/triggerd (Script Condition) - Encoded Query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2023 04:07 AM - edited 02-07-2023 08:09 AM
hi,
i have a subflow!
This Flow i getting an Incident as an Input form the Main FLow. Reference.Table
i use this record in wait for condition.
In the Conditions i use a script.
Because i had Problems i just try to create a log.
I would expect that, if i make an update on that record (input Reccord) like write a new description.
The log should be created.
but it seems to be that the wait for conditon does not been triggerd.
I Using the Test Button in the flow itself!
But also if i start the flow with creating a new record, i seems to be not working!
-----------EDIT---------
I found this link:
ServiceNow: Wait for Condition Flow Designer - DEV Community 👩💻👨💻
and this comment in the wait for conditon Script.
i updated my script with :
i will not create a log after an update on the case,
BUT after i updated the Case with that Short description,
tht wait for condition was true
so maybe, the script will run only one time! to create the return ecoded query.
And after that it only compares to the encoded query and will not run the script again
