Send surveys to multiple users from a Watch List?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2018 10:12 PM
Hello community,
I am trying to set a trigger condition to send a survey to multiple users in a Watch List field from the Project table? Is this possible? I know that the trigger condition only allows for Reference fields to the user table to be selected but I would like to include the Watch list since it's technically a user table reference field. I'm open for other options though like a schedule job, but just don't know where to start. If you have done this before or have any ideas, please let me know. This is important for our project :/.
Thank you,
Yeny
- Labels:
-
Best Practices
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2018 10:40 PM
Hi ScienceSoft,
Thank you so much for your response! The thing is that I won't know who the users are that need to receive the survey, it's something that the project managers would set at their discretion.
It would be great to have a functionality in a UI Action, could I set it like below?
(new SNC.AssessmentCreation()).createAssessments(survey_id,'',watch_list)?
Since the watch list is technically a reference field, I would think it would work but not sure. I will try it but any thoughts on that or other suggestions?
Thank you!!!
Yeny