- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 10:26 PM
Hi Folks, I'm trying to check if a particular user (Requested For) has replied to an email that was sent earlier. But, the IF condition in Flow Designer does not seem to work.
My condition is as:
Trigger - Service Catalog --> Requested Item Record --> Updated by is
Trigger - Service Catalog --> Requested Item Record --> Requested For --> Name
Note: This is part of a "Do-Until" loop.
Please let me what is going on here, when I reply to the email - it gets updated in the RITM, but does not trigger the IF condition. And it doesn't seem to have anything to do with the Wait condition either.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 11:05 PM
I think you can't get the infomation you wanted.
Because,they are in different thread...
Thread 1: flow is triggered by some conditions and send the emails , and then waiting ... I think the information you want is in thread2 , you can't get anything from Thread2
Thread2: eamils comes and triggered the same flow? or other flows ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 11:43 PM
The information you can get from the trigger is fixed while the flow is triggered。
So,althoughthe reply emails comes and someting is updated, you can only get the old information from the trigger。
You just need to run a query and reget the target record for newest information .
Put above logic in the "Do" part atfer step10 , and use a flow Variable to control the "Until" part .
Just like this sample
do
send eamils
sleep
query for the newest infomation.
check the information and set flow Variable to "True" when met some conditons
until Variable is "True"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 07:19 AM
@newhand Thanks a lot! Got it all worked out! ServiceNow documentation gets real dry sometimes and its easy to miss a few things - at least for me!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 05:21 PM
I have the same feeling,
ServiceNow documentation is really hard to read , and is not friendly enought,
Many explanations are quite simple and can't be understood at all.
。。。。