Position Workflow with CurrentDate.date
Hello Experts
I need to fetch if the position has been updated this month, or last 15 days etc.
I tried using CurrentDate.date but whatever I try to do in BPM but whenever I try CurrentDate.date is null
- Rule Condition : Task is a Task && ( 1 == 1 ) && CurrentDate is a CurrentDate && ( Task.payload.Current Position.result.Effective Start Date.toGregorianCalendar() > XMLDate.add days to(CurrentDate.date,-15) ) && Lists is a Lists
- Values :
- Task.payload.Current Position.result.Effective Start Date.toGregorianCalendar(): 2024-12-01
- XMLDate.add days to(CurrentDate.date,-15): null
Does anyone knows how to properly use CurrentDate and check in workflow rule for position.
Tagged:
0