Scheduled Job to Trigger Messages based on duration and time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 02:46 AM - edited ‎02-15-2024 04:11 AM
There is form which have a action field to trigger a message, once we click on Tigger button it will trigger a message. We need to implement a scheduled job like once the user select Duration as Daily and Time as 1 to 24. It should auto consider AM and PM based on numbers in Time field. And once we select duration and time daily it should trigger message based on Duration and time selected.
How to acheive this in scheduled job. Can someone help me with script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 06:32 AM
You would need to create a schedule record and schedule entries. You can then tie it to the schedule job or you can use it in a script to see if the scheduled job falls within the date / time you specified in the schedule.