Record Producer variables showing as mandatory on INC even though they are set to be hidden

reginabautista
Kilo Sage

Hi guys,

 

I have a 3 mandatory variables in my record producer that is being hidden when the answer to question "What does the issue relate to?" is Risk and Trading Application. I set them to non mandatory and hidden using a UI Policy. Once the form is submitted, it creates an INC record. However, those fields that are hidden somehow shows as mandatory on the Incident form. Would anyone know why and how to resolve? Thanks - Regina

find_real_file.png

 

1 ACCEPTED SOLUTION

hmm,

Please try this:

setTimeout(myFunction, 2000);

function myFunction(){

g_form.setMandatory('variables.u_service_affected',false);
g_form.setDisplay('variables.u_service_affected',false);
g_form.setMandatory('variables.u_classification',false);
g_form.setDisplay('variables.u_classification',false);
g_form.setMandatory('variables.u_channel',false);
g_form.setDisplay('variables.u_channel',false);

}

View solution in original post

13 REPLIES 13

hmm,

Please try this:

setTimeout(myFunction, 2000);

function myFunction(){

g_form.setMandatory('variables.u_service_affected',false);
g_form.setDisplay('variables.u_service_affected',false);
g_form.setMandatory('variables.u_classification',false);
g_form.setDisplay('variables.u_classification',false);
g_form.setMandatory('variables.u_channel',false);
g_form.setDisplay('variables.u_channel',false);

}

still no joy 😞

That worked!!! Thanks again 😄

bump

 

any ideas guys?