Form rules – Execution order

Facebooktwittergoogle_pluspinterestlinkedinmail
Applies to version 2017.1.x; Author: Grzegorz Straś

In WEBCON BPS, Form rules executed on page load and on value change will be performed in a predefined order. These rules can be included in workflow, step and form field configurations  (as rules or JavaScript) – and the order in which they are executed depends solely on where they are defined in Designer Studio.

Listed below are the orders in which form rules are executed:

a) Whenever the page is loaded

b) When the value of a form field is altered (only with postback on value change active).


Form rules sequence whenever the page is loaded:

 

Prio.

 

Configuration area

 

Tab

 

Field name

 

Link

1

 

Workflow configuration (Standard and Mobile form) Behavior Form rule to be executed on page load  

 

2 Step edit
(Forms)
Form – Behavior Form rule to be executed on page load  

3

 

Workflow configuration (Standard and Mobile form) Behavior Form rule to be executed on page load and on postback  

4

 

Step edit
(Forms)
Form – Behavior Form rule to be executed on page load and on postback  


Form rules sequence on value change:

If the Change of value causes postback checkbox is marked in the form field configuration, the order of executing form rules (whenever that form field’s value is modified) is as follows:

 

Prio.

 

Configuration area

 

Tab

 

Field name

 

Link

1 Form field configuration Style and behavior Form rule to be executed on value change  

2 Workflow configuration (Standard and Mobile form) Behavior Form rule to be executed on page load and on postback
3 Step edit
(Forms)
Form – Behavior Form rule to be executed on page load and on postback

 

Leave a Reply

Your email address will not be published. Required fields are marked *