How do i put this script include into a "condition" in a ui action

asd22
Tera Contributor

Hello. i had a ui action with loads of conditions wich i transfered into a script include to recude the condition space. How do i now call the script include into the condition field of a UI action?

here is the script include

asd22_0-1706795056491.png

 

and here is the UIaction i tried to call the script include into 

asd22_1-1706795109455.png

 

1 REPLY 1

Amit Verma
Kilo Patron
Kilo Patron

Hi @asd22 

 

Refer below post and try setting it up. Please ensure that your Script Include returns true or false.

https://www.servicenow.com/community/developer-forum/how-to-call-script-include-in-ui-action-conditi...

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.