Survey is triggered multiple times.

Hari1
Mega Sage

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.

1 ACCEPTED SOLUTION

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.

 

View solution in original post

4 REPLIES 4

Vikas-Malhotra
Mega Guru

Hi Hemanth,

 

Please check trigger condition for the survey. 

1. Probability %

2. Repeat interval

 

Please mark correct or helpful.

 

Thanks!

Vikas

SatheeshKumar
Kilo Sage

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'))"

find_real_file.png

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.

 

bclemen
Tera Contributor

What was the condition that you added to check this?