- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2017 01:30 PM
My customer wants to send out surveys two weeks after the state is closed complete. I have a field whose value is 14 days from the closed complete date so I can query all the records daily to see if there are any matching records with today's date. I just am not sure how to trigger the creation of survey instances and send out the invites from a scheduled job. Any help is appreciated. Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2017 02:00 PM
Hi Angie,
I can think of 3 options.
1. Create a Trigger condition based on a field (ex: boolean) which would would set by a scheduled job after 14 days.
2. Crate instances using new SNC.AssessmentCreation().createAssessments() in the Scheduled Job
3. Make the Survey as Public and send the Survey URL from the Scheduled Job.
Hope this helps. Mark the answer as correct/helpful based on impact.
Thanks
Antin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2017 02:00 PM
Hi Angie,
I can think of 3 options.
1. Create a Trigger condition based on a field (ex: boolean) which would would set by a scheduled job after 14 days.
2. Crate instances using new SNC.AssessmentCreation().createAssessments() in the Scheduled Job
3. Make the Survey as Public and send the Survey URL from the Scheduled Job.
Hope this helps. Mark the answer as correct/helpful based on impact.
Thanks
Antin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2017 02:04 PM
I thought of the first option but was not aware of the other two. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2017 02:27 PM
I did option 2 and it worked great! I appreciate your response. I will keep the other options available for different circumstances. Thanks again!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2017 03:04 PM
Glad, it worked for you. Thanks for using community.
Thanks
Antin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2021 09:15 AM
Hi
We have a requirement where we do not have any trigger condition and just need to send a survey form to users assigned to a workgroup periodically.
Thanks in advance!