Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Hide Remote Record Producer field based on Remote Choice Definition value

spike
Mega Sage

Hello!

Subject pretty much says it all. 

I am creating RRPs in Service Bridge and I want to show or hide some of the fields based on the value selected in a Remote Choice Definition.

However I can't use a UI policy as the RCD doesn't appear in the conditions list. I also can't use a Client Script as the RCD doesn't appear in the list of available fields for the onChange action.

Does anyone know how I can find a solution to this that doesn't involve hard coding a new Select variable rather than using the RCD?

Cheers.

1 ACCEPTED SOLUTION

Kenny Caldwell
ServiceNow Employee

The Remote Choice Definition is associated to a variable. You can select the variable in the Catalog Conditions or in the onChange action. I just tested and it worked for me.

View solution in original post

3 REPLIES 3

Kenny Caldwell
ServiceNow Employee

The Remote Choice Definition is associated to a variable. You can select the variable in the Catalog Conditions or in the onChange action. I just tested and it worked for me.

What I probably should have mentioned is that my RCD was in a variable set and wasn't appearing..  Seems like that is the limitation. I've tried what you've done and it's worked.

Thanks for taking the time to try. Appreciated!

I'm an id1ot. I hadn't even put the variables in the variable set. THAT'S why I couldn't see them!.. ffs..