Unable to trigger a new assessment for Demand records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2022 01:06 PM
Hello and thank you in advance. Our developer created a new On Demand assessment Type intended for demands created within a specific TeamSpace, and we wish to trigger it for selected stakeholders within the Demand record instead of triggering the OOB assessment. We don't want to alter the OOB assessment because it will continue to be used for demands within a different TeamSpace. The developer tried creating a Trigger Condition just to see if he could generate the new assessment for the Demand Submitter instead of stakeholders, but even then the OOB assessment continued to be generated even though the trigger condition and related BR referenced the new assessment.
It was suggested that the business rule, Create OnDemand Assessment and it's associated script include, DemandUtil could be at the heart of the issue, as this BR appears to be triggered whenever the Demand includes a stakeholder configured as an assessment recipient and the Demand moves from State 2 (Submitted) to 3 (Screening). The script include references the sys id for the OOB assessment in multiple places, so we're wondering if either:
- The current script include could be modified to include conditions to trigger the new assessment, perhaps based on the Demand being in a specific TeamSpace table
or
- A copy of the BR and script include could be created and modified to run only for demands created within the TeamSpace where the new assessment is needed.
- Labels:
-
Demand Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2022 11:16 PM
Hi
Make sure you have data filled in Assessment tab of demand & then try clicking send Assessment button on Stakeholder registry form. Then check for the Assessment in asmt_category_result table.
Also, refer to this thread :https://community.servicenow.com/community?id=community_question&sys_id=ef678b69db1cdbc01dcaf3231f96...
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 04:07 PM
Hi
I checked the asmt_category_result table as you suggested and I do see assessments, but only those where Type=Demand, which uses the OOB assessment rather than the new assessment we need to generate. I attempted to bypass the OOB assessment in a lab instance by creating a trigger condition to generate a "custom" assessment when the Demand State changes to the Submitted state, but the OOB assessment was still generated, so I suspect that even though a new BR was created when the trigger condition was created, the trigger condition is still calling a BR/script include that references the OOB assessment. We opened a HI ticket for this issue today and hope to meet with a representative from ServiceNow this week. Thank you for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 04:58 AM
Hi
if I remember this correctly I tried the same a while ago and basically concluded that you can't really create custom assessments as the ootb on e pretty much hard coded and has to be used 😞
Christian
Please mark correct or helpful if deemed so. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 07:59 AM
Thank you Christian (and Sandeep). This one is really baffling us as it seems short-sighted that a single assessment should be used across all demands in light of varying business needs. We opened a HI ticket today in the hope of receiving some guidance, or a least a definitive answer, as I saw a similar post recently regarding a trigger condition that didn't work as designed, and a HI ticket was apparently also opened for that issue. I'll follow up here once we hear back.