Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Use of priority field in business rule

abhishekmittal
Tera Contributor

Hi,

Can anyone please let me know the use of priority field on business rule?

I know the use of order field on business rule but not priority field.

Thanks & Regards,

Abhishek

5 REPLIES 5

Not applicable

Senario :- Perform Display business rule to get the value of Priority field and set it to one new field Priority for user.

(function executeRule(current, previous /*null when async*/) {

 

            // Add your code here

   current.u_integer_2 = current.priority;

})(current, previous);