- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 08:56 AM
Hi
I have a requirement something like this:
**Hint: Business Rule will target “asmt_assessment_instance” table through GlideRecord**
*****Note: When the state on hr case will change to closed complete trigger condition will trigger a business rule, that business rule will trigger “assign.send_survey” OOTB event due to which notification will be send to the opened by of the hr case as a survey invitation.******
Survey trigger condition is: hr case state changes to closed complete
Details:
I had created a survey with the survey condition mentioned above, there was a business rule automatically attached to my survey condition when I saved the record.
this business has to trigger an event named assign.send_survey, then this event will send a notification to opened for user.
So I have decided to use this same business rule and added a script as mentioned in the above requirement with the following script:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 01:29 AM
Hi Susan
I have figured out what I was doing wrong with the help of my colleague. it was a minor mistake.
In the trigger condition I selected the HR Case table and when I was demo testing it I randomly chose open HR Case and changed its state to closed complete to check whether the email got sent to assignees or not, In all of this hurry I overlooked the key detail that was I had to test this with the cases that are made only on HR Case COE

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 02:20 PM
Please attach a screenshot of your actual survey's Trigger Condition.
- Make sure you have a user populated that it needs to send to
- Probability should be 100 or empty, if wanting sent each time
- Verify the Repeat Interval value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 01:29 AM
Hi Susan
I have figured out what I was doing wrong with the help of my colleague. it was a minor mistake.
In the trigger condition I selected the HR Case table and when I was demo testing it I randomly chose open HR Case and changed its state to closed complete to check whether the email got sent to assignees or not, In all of this hurry I overlooked the key detail that was I had to test this with the cases that are made only on HR Case COE