Learning Withdrawal by learner till 1 day before Offering Start Date
We need to configure the learning withdrawal approvals to allow learner to withdraw from the learning till 1 day before the Offering Start Date.
Offering Start Date: 27/05/2022
Offering End Date: 30/05/2022
Learner should be allowed to withdraw from the learning if he/she is trying to withdraw from learning on or before 26/05/2022.
We tried below rule condition found on one of the post on cloud customer connect but it is not working:
(Duration.days between (CurrentDate.date,ClassDetails.Offering Start Date.toGregorianCalendar()) < 1)
We need the condition rule to trigger the approval based on the above scenario in the approval rule.