MaxConstraintDepth

Previous Next

The MaxConstraintDepth Rules Engine property can be used to override the Max_Constraint_Depth deployment parameter setting for the current deployment context and for the duration of the current session.

You can set deployment parameters in USoft Authorizer for 3 different deployment contexts: Client/Server, RunBatch, and Rules Service. See the Authorizer Guide. One way to access the Authorizer Guide is to press CTRL + F1 in USoft Authorizer.

This setting determines the maximum number of recursions allowed to occur when constraints execute.

Setting this property

You can reset this property by executing:

SELECT RulesEngine.SetProperty( 'MaxConstraintDepth', 'constraint-depth' )

where the required constraint-depth is a positive integer. The USoft factory default is 50.

Getting this property

You can get the current value of this property by executing:

SELECT RulesEngine.GetProperty( 'MaxConstraintDepth' )

The statements are case-insensitive, including the property name.

 

See also

Rules Engine properties

RulesEngine.GetProperty

RulesEngine.SetProperty