Contract Approval rule based on start date and end date via BPM
Summary
Approval rule not routing as per requirementContent
Hi,
I am new to enterprise contract module. I have below requirement of configuration on approval rule based on contract start date and end date
- contract duration ( Start date , End date) is less than 1 year
- contract duration ( Start date , End date) is between 1 to 3 year
- contract duration ( Start date , End date) is greater than 3 year
I built 3 rules
Rule 1 : ((ContractDetails.endDate.day - ContractDetails.startDate.day) / 365) less than 1
Rule 2 : ((ContractDetails.endDate.day - ContractDetails.startDate.day) / 365) between 1 and 3
Rule 3 : ((ContractDetails.endDate.day - ContractDetails.startDate.day) / 365) more than 1
Now when contract is created for duration of less then 1 year (Start Date: 5/1/21, End Date : 11/29/21 ) its routing as per Rule 1
0