- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2015 06:04 AM
Hi,
We want to introduce a process to ensure that we follow-up on any negative responses to surveys.
I have created the workflow, notifications etc and all is working perfectly except that the workflow is triggering each time the negative response is registered from each question and ideally I only want it to trigger once per completed survey.
Does anyone have any ideas on how to update the code to ensure the wf is only triggered once for each survey and not each question.
Thanks in advance,
Dan
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2015 06:33 AM
if you open the table "task_survey" you can see state field. you have to write workflow on this table

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2015 06:06 AM
May i know when the workflow can start?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2015 06:08 AM
currently I am using a condition on the WF to look at the "Response" field and when it equals "Very Dissatisfied" it will trigger.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2015 06:11 AM
instead of that trigger workflow only once that is survey state changed to "Completed"
once it gets completed get answers for each question. If you find any one answer is very dissatisfied then do your functionality
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2015 06:20 AM
Would you do this within the properties of the workflow or would you use a business rule? I can't see the survey state field as an option within the wf definition...