Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Smart Assessment Engine

jhalak2000s
Tera Contributor

Hi Everyone!

In order to migrate legacy attestation to Smart Assessment, we have an OOTB Workflow - Generate smart assessments for control. This workflow is not getting triggered on updating the state of control to Attest. It's throwing an error - "Tables in scope are not same as the context items attached to the assessment template".

FYI - Previously I tried creating the required template in Smart Assessment Core Application Scope but later tried with Policy and Compliance Scope too in order to match the scope. But this issue did not get resolved.

Can anyone please guide if they have any helpful solution for tackling this issue.

Regards,

Jhalak

2 REPLIES 2

Jay Van
Tera Contributor

Hi, have you read this article? Triggering assessments There's also a link in the article regarding triggering an assessment from a script that may be helpful. 

HaLu
Tera Contributor

Hi @jhalak2000s ,

I know it's an old question, but I came across the same and thought it would be practical for others to see an answer below this question.

 

Within your assessment, you have Assessment targets. If you have anything other in your assessment targets besides the Control, you also need to change your flow.

HaLu_0-1761830004024.png

Requires a change in the create Attestation flow:

HaLu_1-1761830033174.png

Regards,

Hayo