Have a request to make a saved search send out on ...
# administration
a
Have a request to make a saved search send out on a custom interval - 4/5 days before end of month and for the first 8-10 business days of the month. Is this possible? Or would it require scripting
s
use the email schedule section of the saved search
a
But I want the search to be sent 10 times per month, on the frequency I said in the original message. Would that require the search to be duplicated?
s
use the repeat option
you can define the time intervals
d
I don't think there's a way to do it custom the way you're looking for.
a
yeah. thats what i am thinking.. barring having multiple copies of the same search with a different schedule
🧠 1
c
You can also script it but having 2 copies on a different schedule is an option
s
I have done that for nudging people to complete their timesheet - 7, 3 and 1 day before cutoff date. Used multiple search instances. Darn so long ago, almost forgot - @creece reminded me about it becuz around that's the time when both of us got connected 🙂
🍺 1
d
I've done this The trick is to schedule the saved search to email EVERY day (with 'send if no results' off), then use a formula criteria to only show results on days of the month that you want to send an email on. if you need the search also accessible via the UI, then you should create a private copy just for doing the scheduled emails (as there won't be results on the other days) Let me dig out the formula I used for emailing on last day of month only
👍 1
ducking hats off to the free tier of Salto for allowing me to find that so quickly (I searched for "LAST_DAY" and found it in the search's xml definition) I remembered wrong, the requirements were to send the email on the last calendar day of every quarter: *edit: it's a formula(numeric) criteria, equal to 0
not sure why I didn't just use
WHEN {today} = LAST_DAY({today}) THEN ...
a
That's a cool solution. Might be too difficult to implement given how many days they want to send this out, but I'll do some more research into it
d
couldn't sleep, many iterations later, came up with this:
1000 1
complete criteria for your example interval would be this:
Here's the sqlfiddle for anyone interested http://sqlfiddle.com/#!4/68b32/6866
💯 1