Flow Designer | Checking for "Requested For" user's response to an automated email

Vin Fredrick
Tera Expert

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.

 

Untitled2.jpg

 

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. 

2 ACCEPTED SOLUTIONS

newhand
Mega Sage

@Vin Fredrick 

 

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 ..     

 

 

Please mark my answer as correct and helpful based on Impact.

View solution in original post

HI@Vin Fredrick 

 

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"

     

 

 

 

Please mark my answer as correct and helpful based on Impact.

View solution in original post

6 REPLIES 6

newhand
Mega Sage

@Vin Fredrick 

 

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 ..     

 

 

Please mark my answer as correct and helpful based on Impact.

Vin Fredrick
Tera Expert

Hi Newhand, when the user replies, there is no Inbound Action that picks-up the reply. Can you explain a bit more in-depth please? 

HI@Vin Fredrick 

 

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"

     

 

 

 

Please mark my answer as correct and helpful based on Impact.

Vin Fredrick
Tera Expert

I think I may have got it, I'll have to "Lookup the Record" in between. Let me try that and get back to you! Thanks!