Skip to Content

Conditions for transitions based on limits

Comindware Tracker provides the ability to configure conditional transitions. In particular, it may be useful in the approval processes to determine whether the approval by a specific employee is needed or not. Usually, approval limits for the required set of employees / roles are set up in some other technical application, and the conditions for the transitions are configured at the verification step:

  • "Yes" – the figure indicated in the current record is within specific limits:
AND(
NOT(GREATER(
$capex_al->al_ceo_from, $capex_total)),
NOT(LESS(
$capex_al->al_ceo_to, $capex_total)))
  • "No" – the figure indicated in the current record is outside specific limits:
NOT(AND(
NOT(GREATER(
$capex_al->al_ceo_from, $capex_total)),
NOT(LESS(
$capex_al->al_ceo_to, $capex_total))))

where:

capex_al – the system name of the "Reference" field to the application where the limits are stored;

al_ceo_from – the system name of the "Number" field, storing the lower limit (in this case, for the CEO);

capex_total – the system name of the "Number" field in the current application;

al_ceo_to – the system name of the "Number" field, storing the upper limit (in this case, for the CEO).