- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 05:52 AM - edited 03-06-2024 05:57 AM
I created a Trigger in flow designer. In the trigger I have the 'change to' condition. However, the trigger does not fire when the condition is satisfied. Does the 'change to' condition work in a flow designer trigger. See image on how trigger is setup attached, Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2024 10:45 PM
Greetings!!
What i understood is, the change to operator work on form level in UI policy or client script as it is getting trigger on UI but when we add Change to in flow, it will not work because how the flow knows that now i need to execute.
In other words, untill unless an event or an action not submitted or take place at form, flow will not executed so change to will not work here.
Hope i am able to clear this now.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2024 01:57 AM
Hey @Sharon Williams,
As per your comment, I believe the Flow is not triggered as it's based on a dot-walked field.
Refer to the below thread for further details -
Try changing the 'table' field of the Trigger to the Position [sn_hr_core_position] table.
I assume you would have to do a query within the HR Profile tables to query all the profiles with the Position that was updated and add the employment date in the filter.
Hope it helps, cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 05:50 AM
Hi @James Chun, thanks for the response. I was able to test the trigger flow successfully. When I ran the test, the trigger executed and I could see the record in the execution report. So in the test, the change made in the HR profile table was detected. I need to use the Position ID for the Position, as the Position is the name and that could change, where as the Position ID is unique data.