Setting expiration of Approvals (notifications)
Content
Hi Experts,
We want to setup notifications expiration policy for Absence Approval task.
I know, we can do it for Notifications that has ben not acted for specific time (say 5 days) using Deadline tab for an action in BPM.
Wanted to ask, is there something we can set to expire based on dates.
Example. We want all the notifications triggered before 31st Oct 2020. to get expired.
I tried to write an expression TO_date((/task:task/task:payload/ns0:AbsencesApprovalsRequest/ns0:SubmittedDate, 'DD-Mon-YYYY') <= '31-Oct-2020') highlighted in the image.
And Set Expire Only as an option.
Can someone please help me to write a condition using dynamic expression.