Which executes first ,UI policy action or UI policy script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2019 07:51 AM
When runnning ui policies ,which executes first ,whether UI policy action or UI policy script?
- 17,957 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2025 07:29 AM
Hi @Robert H ,
I tested as you suggested and I confirm what you mentioned is right.
Learned something new today, Thank you ! 🙂
To @anyone who is looking for a confirmed answer here - UI Policy actions gets executed first and then the script.
Thanks,
Gopikrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi @Rohith16
So try a scenario, create an UI policy on incident table, create an UI action to make description field mandatory, under when to apply -> priority is 1-critical. Also create a script in -> Execute if true section - alert("Description mandatory now for P1 incident").
Create an incident with this now, you'll notice that the alert runs first, then the description becomes mandatory, which suggests that - UI policy script runs first then the UI policy action runs.
Mark my answer as helpful if applicable.
Thanks
Naman Chaturvedi