Which is true?

Snow preck
Tera Contributor

Which one of the following is true?


A. A UI Policy's Actions execute before the UI Policy's Scripts
B. The execution order for a UI Policy's Scripts and Actions is determined at runtime
C. A UI Policy's Scripts execute before the UI Policy's Actions
D. A UI Policy's Actions and Scripts execute at the same time

3 REPLIES 3

Deepak Shaerma
Kilo Sage

Hi @Snow preck 

 

A. A UI Policy’s Actions execute before the UI Policy’s Scripts

UI Policy Actions, which include setting fields to be mandatory, read-only, or visible, are executed before the UI Policy Scripts. This ensures that the form’s state is updated accordingly before any custom JavaScript defined in the UI Policy Script runs. This allows scripts to take into account the updated state of the form.

 

please mark this Helpful and Accepted Solution if this helps you. Your action will help me and the community in understanding same requirements.

Thanks & Regards

Deepak Sharma

Sandeep Rajput
Tera Patron
Tera Patron

@Snow preck A. A UI Policy's Actions execute before the UI Policy's Scripts

Yashsvi
Kilo Sage

Hi @Snow preck,

Which one of the following is true?

A.  UI Policy's Actions execute before the UI Policy's Scripts
B. The execution order for a UI Policy's Scripts and Actions is determined at runtime
C. A UI Policy's Scripts execute before the UI Policy's Actions
D. A UI Policy's Actions and Scripts execute at the same time

Correct Answer - A.  UI Policy's Actions execute before the UI Policy's Scripts

Thank you, please make helpful if you accept the solution.