Resignation Approval based on the Termination and Notification Date Issue
Summary:
Resignation Approval based on the Termination and Notification Date doesn't work as expected
Content (please ensure you mask any confidential information):
We have configured the resignation approval rule from the BPM as below:
If the employee serving notice period less than 60 Days, the transaction should be approved by User1
( Duration.days between(Worker's Proposed Work Relationship.result.Termination Date,Worker's Proposed Work Relationship.result.Notification Date) < 60 )
--
If the employee serving notice period more than 60 Days, the transaction should be approved by User2
( Duration.days between(Worker's Proposed Work Relationship.result.Termination Date,Worker's Proposed Work Relationship.result.Notification Date) >= 60 )