I am having one form ie. customer form, I need to hide the 2 fields like dob and email id from basic user automatically , like we can keep showwhen condition in the form itself but it is manual process , need to do automatically .. is there any way to do this? in appian
Discussion posts and replies are publicly visible
You should use a variable for checking if the controls must be shown or not. And use it for display or not the control using showhen property
Hi David Jimenez Calleja ,if we configure like this, then it is a manual process...I need to do it automatically via records , is there any way to do this...
It's not a manual process... after integration execution, check response.... If contains any error, set that variable to false, otherwise, set it to true.
Place that variable in showhen property... and it will work without any manual interaction...
For example
showWhen: or( local!selectedDate=today(), local!selectedDate=today()+5 )
What makes you say it's "a manual process"? The ShowWhen parameter is expressionable. Meaning, you can use literally any evaluation logic in the entire Appian library of expression functions and associated expression logic, to evaluate the showWhen for any or every given field.
In your case it seems like you would merely need to check the current user's group membership. Surely you know how you would check a user's group membership if you've taken and passed the Senior Certification exam...?