Trigger ID is not populating in assesment instance table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours 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
6 hours 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
6 hours 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
6 hours ago
Hi @nandini29
I will suggest including only one condition like status is closed and see if it is triggering or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
when survey is not created via trigger condition and is created on-demand example using script etc then Task and Trigger ID comes as empty in that Assessment Instance table
this is OOTB behavior, see this KB
'Task' and 'Trigger ID' fields are empty on the survey instance
Please check the Survey which has INC populated in Trigger ID and Task must be from Trigger Condition and not via script
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
