Target URL field in Interceptor answer should be updated depends on script written in script field.

Community Alums
Not applicable

Hi All,

 

If we are creating a problem task from problem, we have an interceptor which redirects us to Root Cause Analysis and General Problem Task Creation. Now, Here We have a requirement to hide Root Cause Analysis Option when the Problem is in Fix In Progress state. Can we achieve this using script field . Please suggest.

 

find_real_file.png

1 ACCEPTED SOLUTION

Manish Vinayak1
Tera Guru

I don't think it is possible to show hide interceptor options based on any condition. The script field that you are using, if you hover over its label, it says "Script to execute"; so I don't think that is going to work as a condition builder.

There are some other threads on "Conditional Interceptors" as well:

https://community.servicenow.com/community?id=community_question&sys_id=1a4d8fa9db9cdbc01dcaf3231f96...

 

View solution in original post

1 REPLY 1

Manish Vinayak1
Tera Guru

I don't think it is possible to show hide interceptor options based on any condition. The script field that you are using, if you hover over its label, it says "Script to execute"; so I don't think that is going to work as a condition builder.

There are some other threads on "Conditional Interceptors" as well:

https://community.servicenow.com/community?id=community_question&sys_id=1a4d8fa9db9cdbc01dcaf3231f96...