We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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);