How to set Script Include as a Assessment Trigger condition

vkachineni
Kilo Sage
Kilo Sage

How to use a script include as a trigger condition of an assessment survey.

Currently there is a condition builder. Can we use a script include to send the 'current' object in as a parameter to a function of a script include?

find_real_file.png

find_real_file.png

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022
1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

Business rule "Auto assessment business rule" for survey condition is populated by default.

You can't use script include in trigger condition.

 

https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/survey-administration/...

 

Regards,

Sachin

View solution in original post

4 REPLIES 4

sachin_namjoshi
Kilo Patron
Kilo Patron

Business rule "Auto assessment business rule" for survey condition is populated by default.

You can't use script include in trigger condition.

 

https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/survey-administration/...

 

Regards,

Sachin

I guess this BR is the place to put any custom coding.

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022

AbhishekGardade
Giga Sage

Hello vkachineni,

What you want to achieve using mentioned conditions?

Thanks,
Abhishek

 
Thank you,
Abhishek Gardade

Ramprasaath
Giga Contributor

Hi vkachineni,

sorry to intrude your answered question.

i need solution for this case: "there is a new group inserted in the sys_user_group table. a BR should check if the inserted group name has the same name as any role name available on the system(sys_user_role table). if it is so, it must add the same role to the group."

 

Please help me on this. i saw that u had replied to a similar post.

Thanks in advance