- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 01:58 AM
Hello Team,
I have a requirement where I need to compare the values of assigned to and updated by in an flow designer can you please help me with this query?
Regards,
Arundhati
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 03:11 AM
Hi @Arundhati ,
In the Updated by field, mostly you might have observed something like this:
Please note that the Updated By field is a string field and it stores a the User ID of the user who updated it.
In the flow, you just need to check the Assigned to (Reference) field's User ID with the Updated By field and your requirement will be fulfilled.
Please mark my response helpful if it solves your requirement.
Warm Regards,
Aniket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 02:12 AM
Hi Arundhati,
In Flow Designer, you can compare the values of "Assigned To" and "Updated By" using a Condition step. Here’s how you can do it:
Steps to Compare "Assigned To" and "Updated By" in Flow Designer:
Get the Record:
- If you are working with an incident, task, or any other table, ensure you have the record data available in the flow.
- Use the Trigger Record or Lookup Record action to retrieve the record.
Add a Condition:
- Use an If condition or Wait for Condition step.
- Compare the Assigned To and Updated By fields.
Condition Configuration:
- Select Assigned To (Field: assigned_to)
- Select Updated By (Field: sys_updated_by)
- Use "is not equal to" or "is equal to" based on your requirement.
Example condition:
cssCopyEdit[Assigned To] [is not] [Updated By]Handle the Condition Outcome:
- If true, take the necessary action (e.g., send an email, update a field, trigger another action).
- If false, continue or stop the flow.
Alternative: Use a Script Action (If Needed)
If you need a more complex comparison, you can add a Script Action in Flow Designer:
- This script returns true if the Assigned To and Updated By fields are different.
Would you like help implementing this in your specific flow?
Kindly mark it as correct/helpful, it it resolves your query. Please press like button for the resolution provided.
Regards,
Krishna Kumar M - Talk with AIT3ch
LinkedIn: https://www.linkedin.com/in/mkrishnak4/
YouTube: https://www.youtube.com/@KrishAIT3CH
Topmate: https://topmate.io/mkrishnak4 [ Connect for 1-1 Session]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 02:34 AM
Hi @Arundhati , you can add an if condition and compare both fields -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 02:48 AM
Hi @Arundhati,
You can compare in IF condition where Assigned to will be Field, IS is the Operator and Value will be Updated by datapil and set the action after it.
Regards,
Ehab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 03:11 AM
Hi @Arundhati ,
In the Updated by field, mostly you might have observed something like this:
Please note that the Updated By field is a string field and it stores a the User ID of the user who updated it.
In the flow, you just need to check the Assigned to (Reference) field's User ID with the Updated By field and your requirement will be fulfilled.
Please mark my response helpful if it solves your requirement.
Warm Regards,
Aniket