Visibility in menu bar

1,426 views
Skip to first unread message

Ankita Mundhra

unread,
Jan 12, 2023, 5:04:29 AM1/12/23
to RunMyProcess Developer Forum
Hello,

How can we add multiple roles in the visibility option?

example of code:
{ "title" : "Dashboard", "visible" : "${has_right('145871')}", "option" : [{ "title" : "Region", "url" : "pub/2/appli/120090" }, { "title" : "Country", "url" : "pub/2/appli/120090" } ] }

Regards,
Ankita Mundhra

RunMyProcess Developer Forum

unread,
Jan 13, 2023, 11:03:46 AM1/13/23
to RunMyProcess Developer Forum, Ankita Mundhra
Hello

you can add formula as following example: 

"visible": "${has_right('462155') == 'true' || has_right('462471') == 'true' }",
 
Best regards,

Ankita Mundhra

unread,
Jan 16, 2023, 12:24:17 AM1/16/23
to RunMyProcess Developer Forum, RunMyProcess Developer Forum, Ankita Mundhra
Hello,

Thanks it works!

Regards.

Reply all
Reply to author
Forward
0 new messages