Hi all,
I've created a workflow that performs a daily scan/ check of a SP List, specifically the column containing expiration dates. Each day the workflow checks the dates and if it matches the current date, a workflow triggers for that line item using this expression:
formatDateTime(utcnow(), 'yyyy-MM-dd')
I've got an issue with some users entering dates in the past (which still need actioning) and was wondering if I can get help with modifying my expression to have my workflow check the current date and all dates prior. I've got a second condition along with this to ensure it doesn't trigger on previous dates that have been actioned.
TIA
Solved! Go to Solution.
Hi
Have you tried the following?
'End date' is lower or equal (lessOrEquals) than 'formatDateTime(utcnow(), 'yyyy-MM-dd')'
AND
'License' is not equal to 'Inactive'
'Less or equals' can be selected from the Condition Editor's combo
Hope this helps
Proud to be a Flownaut!
Hi
Have you tried the following?
'End date' is lower or equal (lessOrEquals) than 'formatDateTime(utcnow(), 'yyyy-MM-dd')'
AND
'License' is not equal to 'Inactive'
'Less or equals' can be selected from the Condition Editor's combo
Hope this helps
Proud to be a Flownaut!
Hi @Unity ,
Do you have any issues now?
Please tell us more details about the issue you encountered.
When configuring the Condition, I recommend first determining whether the End Date is empty. You could configure the second condition in the first order.
Also, you need to make sure the format of the End Date is "yyyy-MM-dd".
Best Regards,
User | Count |
---|---|
92 | |
44 | |
20 | |
19 | |
15 |
User | Count |
---|---|
136 | |
54 | |
43 | |
42 | |
31 |