Flow Designer help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2024 09:19 AM - edited ‎03-04-2024 09:19 AM
Hello Team
I have a registration form for a user who will register for an social event. Each of the record has different event start dates. I want to send an notification a day before the start date. I'm trying to figure out how to do this in flow designer. Hopefully i can get help from people who are more experience than me. Or they have some type of projects that were similar to what I'm doing. Thanks your help.
I'm playing around with the logic.
Trigger : Service Catalog
Step 1: Get the Catalog variables
Step 2: Create record to the table
Step 3: look up the registration table for the start date (i tried this and couldn't pull anything out from the record/table)
I'm trying to use the flow logic for each reach loop. (but i couldn't pull anything out).
This is where i'm stuck at.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2024 09:46 AM
Hi @huyjor ,
You can use the Flow Designer for it and schedule it on a daily basis. Then your action would be to find the records where you limit the condition to more than 6 days and less than 8 days, so only the 7 days are in scope.
You can then setup your notification (you can use the record / data pill it is related to) directly in the Flow Designer or trigger an event and setup your notification the 'old' way via the notifications.
The below article will be helpful related to flow designer:
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2024 11:38 AM
Thanks. If I put the start date relative before the 1 day ahead means it will send the notification 1 day before the start date right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2024 11:41 AM
yes @huyjor .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2024 10:06 AM
Hi @huyjor ,
You can create an Action to schedule the notification by using the gs.eventQueueScheduled(). And call the action in the 3rd step and pass the start_time variable as input.
example script in Action:
var processTime = new GlideDateTime(start_time);
processTime.addDaysLocalTime(-1);
gs.eventQueueScheduled(<event_name>, now_GR, parm1, parm2, processTime);
Thankyou.