- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2020 10:21 PM
Hi,
We have migrated the legacy survey and could see that the survey email notification is sent even after the incident is resolved once.
The survey is sent once when the incident is resolved and when the user tries to edit the same incident the new survey is sent again and the new records are created in the assessment_instance table with the same incident number.
I am guessing that we need to edit the business rule, but not sure how this could be done.
Can anyone please help me out with this?
Business rule: "Auto assessment business rule"

Trigger condition: Test survey to test migration

REF::
Assessment_instance table records created for same incident twice.

Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2020 10:39 PM
Hi,
I was able to achieve this by editing the business rule. I added the condition in a such a way it checks if the survey has been set recently if yes it will not be sent again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2020 10:50 PM
Hi Hemanth,
Please check trigger condition for the survey.
1. Probability %
2. Repeat interval
Please mark correct or helpful.
Thanks!
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2020 08:29 AM
As per the OOB business rule the survey will be trigged only when state changes to resolved, may be someone has removed the condition mistakenly in your Business rule.
check the condition in your business rule and modify it to
"(new global.AssessmentUtils().conditionCheck(current,'stateCHANGESTO7^EQ'))"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2020 10:39 PM
Hi,
I was able to achieve this by editing the business rule. I added the condition in a such a way it checks if the survey has been set recently if yes it will not be sent again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2022 12:17 PM
What was the condition that you added to check this?
