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.

Automation action set assessment

zineberrada
Tera Contributor

Hello Community,

 

I have an  issue, I can’t populate a custom_status field (a String on my control). I want to pull the value from Response based → Q1, but that option is greyed out. I also tried adding a subflow input for custom_status as a Reference to the sn_smart_asmt_question_instance table, then reading selected_response_options to update the control’s custom_status, but it didn’t work.

Any guidance on how to correctly fetch the selected response for Q1 and map it into the custom_status string on sn_compliance_control would be appreciated.

 

Thank you in advance !

Zineb

2 REPLIES 2

palanikumar
Giga Sage
Giga Sage

What is the data type of Q1

Thank you,
Palani

Hello Palani,

 

I can’t figure out which data type my subflow input should use to map Q1 in a ServiceNow Smart Assessment automation. I tried String and Reference to several tables (sn_smart_asmt_question, sn_smart_asmt_response_option_instance, sn_smart_asmt_response_option, sn_smart_asmt_mig_response_option_migration, sn_smart_asmt_question_instance). When I pick anything other than String or Reference, the Response based picker in Set actions doesn’t appear. What is the correct type?

 

Thank you,

Zineb