Customizing a workflow
Hi experts,
I am customizing a workflow trying to send email notifications 7 days before the folio that entered the criteria workflow reaches a defined custom metadata value.
I have set
WorkflowIntervalHours=24
to enter the code each day.
This is the code entered on the update event:
<$if parseDate(formatDateOnly(xKFCdateLimit)) < parseDate(formatDateOnly(dateCurrent(7)))$>
<$wfSet("wfJumpEntryNotifyOff", "0")$>
<$elseif parseDate(formatDateOnly(xKFCdateLimit)) == parseDate(formatDateOnly(dateCurrent()))$>
<$wfUpdateMetaData("xKFC_status","Rejected")$>
<$wfSet("wfJumpEntryNotifyOff", "0")$>
<$wfExit(100,100)$>
<$else$>
<$wfSet("wfJumpEntryNotifyOff", "1")$>
<$endif$>
What am I doing wrong? cause I do not get notifications at all.