I have workflow set to run every morning at 8:00 am for the condition. What we want is to have it look at a field called insurance expiration date. Then we want it to send an email to a certain person when the current date is < 30 days from expiration date. I can't seem to find the method with the calls of equals or less then, or is not between.
Question
Question
Answer
Oh, ok, so you want exactly 30 days rather than within the next 30 days? So today, you want to be notified of things that expire on 8/29/2014, right? Then you would search for documents with the expiration date = 8/29/2014.
Date Token Calculator would give you the date 30 days from now and you would use that in the Search Repository activity:
{[TemplateName]:[FieldName]="%(DateTokenCalculator_Token)"}
Replies
Are you running a search to find these documents? You can use Date Calculator to get the date for 30 days from now, then run a search for field values between the current date and that date.
We need 30 days from the entered expiration date. So actually it is 30 days before what the expiration date is that is entered.
so for example is the metadata for that insurance card that was entered says expires 07/30/14
we would need a notification on 06/30/14
Oh, ok, so you want exactly 30 days rather than within the next 30 days? So today, you want to be notified of things that expire on 8/29/2014, right? Then you would search for documents with the expiration date = 8/29/2014.
Date Token Calculator would give you the date 30 days from now and you would use that in the Search Repository activity:
{[TemplateName]:[FieldName]="%(DateTokenCalculator_Token)"}