using a condition builder for a UI Policy to dot walk a reference field

patricklatella
Mega Sage

I'm trying to use a UI Policy on a catalog item to make a field mandatory based on the reference variable to the sys_user table.   Is this possible?   Would a client script be better?

My variable is "user", and it's a reference field to the sys_user table.

I am then seeing the following in my condition builder:

find_real_file.png

but if I dot walk that to a field on the user record and set it to something that looks like it should work, it doesn't seem to apply correctly.

find_real_file.png

1 ACCEPTED SOLUTION

please try to have if statements inside curly braces {}, like



if(region == 'NA')


{


//Your code if condition code;


}


else


{


//You else condition code;


}


View solution in original post

14 REPLIES 14

Hi Dan,


thanks for the reply.   I've just begun to see this odd behavior...so yes, I click here (see below), and then it brings up a thread where the I normally see the correct buttons.   But this one for example I don't.   This behavior is coinciding with another new odd behavior I'm seening...and that is where when I'm on the



find_real_file.png




This behavior is coinciding with another new odd behavior I'm seeing...and that is where when I'm on the home page and try to enter a new thread right there...the button does not work.   I then use the button to the right to start the thread.   It is on these threads that I cannot get to a "Correct Answer" button



find_real_file.png


Hi Patrick,



I'm seeing the same issue when creating a thread from the homepage.   However when the thread does get created after a few tries I am seeing the correct answer button.   Let me bring this to our dev folks.   They may reach out to you directly to further troubleshoot.



Thanks,


patricklatella
Mega Sage

cool, thanks Dan!


Hi Patrick,



Our dev team thinks they have resolved this issue.   Can you please let me know if you continue to see it?   Before trying to post please be sure and refresh your browser.



Thanks,


patricklatella
Mega Sage

Hi Dan,


still not working.   When I go to enter a new question in the main spot here



find_real_file.png



when the "ASK QUESTION" button appears, nothing happens when I click it.   So I have to click this button below to enter my question.





find_real_file.png



which is fine, except it is the questions entered this way that I still cannot see the "Correct Answer" buttons.