CAD

22311a1263
Tera Contributor

Which one of the following is NOT true about UI Policy execution?
Options:
.UI Policy Actions execute before Scripts
. UI Policy Scripts execute before Actions
.UI Policy Actions and Scripts execute at the same time
.UI Policy execution order is fixed

1 ACCEPTED SOLUTION

Sarthak Kashyap
Kilo Sage

Hi @22311a1263 ,

 

Correct answer : UI Policy Scripts execute before Actions

 

https://www.servicenow.com/community/developer-forum/ui-policy-action-vs-script/m-p/1429726

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

View solution in original post

3 REPLIES 3

Sarthak Kashyap
Kilo Sage

Hi @22311a1263 ,

 

Correct answer : UI Policy Scripts execute before Actions

 

https://www.servicenow.com/community/developer-forum/ui-policy-action-vs-script/m-p/1429726

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

i think c,d also might not correct??

Hi @22311a1263 ,

 

Explanation of option C

I think the execution order of action and script is like 

UI Policy Action runs 1st then script runs 2nd

SarthakKashyap_0-1762081708801.png

Explanation of option D

The execution order is fixed — first the Actions, then the Script.

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak