You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Learning Withdrawal Approval not working

Received Response
81
Views
3
Comments
edited Jun 21, 2023 1:33PM in Learning 3 comments

We are trying to build a learning approval rule where in case a learner attempts to withdraw from Course where offering is selected AND Offering “Final Withdrawal Date” is in the past, then system should auto reject the request. We have already created a date type DFF at the offering level called “Final Withdrawal Date”.

We are trying to use below approval condition in BPM but its giving us an error, which we believe is due to it not being able to read offering DFF data. Any suggestions/workaround to meet our requirement.


APPPROVAL RULE

(Duration.days between(Task.payload.Offering Specific Details.result.clsAttributeDate1.toGregorianCalendar(),CurrentDate.date) < 0) AND (Learning Item.result.Learning Item Type Code == "ORA_COURSE")

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!