Hi, we have a requirement to calculate no.of days took to complete an assigned task.
Created a business rule with below code:
select count(*) as BusinessDays from Calendars where cal_isworkingday = 1
and cal_workingdate >'{BRP:26}' /*starting date*/
and cal_workingdate < '{BRP:27}' /*exit date*/
BRP:26 and BRP:27 are business rule paremeters.
BRP:26 will be capturing on entry of the step.
BRP:27 will be capturing on exit of the step path.
Attached the screenshot of the action added on the path but the SLR is not getting calculated.