Trigger ID is not populating in assesment instance table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi all,
I created a survey and a trigger condition on the Incident table, but I’m not able to see the trigger ID in the Assessment Instance table. However, when I created the same setup for the sc_task table, the trigger appeared correctly.
Can someone please look into this and help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @nandini29 ,
Check for Duplicate or Conflicting Email Notifications: If there's an existing email notification on the Incident table that fires on the same condition (e.g., when the state changes to Closed), it might interfere with the survey trigger's built-in email logic, causing the instance to be created without the Trigger ID.
- Solution: Disable the standard email notification on the Incident table and create a new notification on the asmt_assessment_instance table for 'insert' operations. This ensures the survey is sent only after the assessment instance with the trigger ID has been correctly created.
And Also for testing purpose, can you set the probability to 100% and uncheck "Trigger randomly" and check
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thanks, GP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
what's the different in the setup?
share both the screenshots
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
For service request
For Incident
@Ankur Bawiskar
I oberserved that for sc_task also I am getting wrong trigger id(wrong task number) usually it should be recent closed task number, but it is not populating correct task number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
sorry images are not clear.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
