About I button for Scenario plan Field

jp_rayudu_0909
Tera Contributor

Hi all,

I have a query about the functionality of the "I" button. We have a field called "Scenario Plan," in a Case Table and we need to control the visibility of the "I" button based on users who are part of certain groups and have specific roles. How can we implement this functionality for the "I" button?

 

Anonymous_0909_0-1724389622346.png

 

1 REPLY 1

ShubhamGarg
Kilo Sage

Hello @jp_rayudu_0909 ,

You can put your conditions in the 'Condition' field in UI action record.

Example - Suppose "I" button should be visible to only members of current assignment group. In that case, you can put below query in condition box (right above script box) -

 

 

gs.getUser().isMemberOf(current.assignment_group.toString())

 

 

This script will check if current logged-in user is member of assignment group on current record. Similarly, you can define logic for ROLES. Hope it helps.

If my response helps you in any way, kindly mark this as Accepted Solution/Helpful and help in closing this thread.

Regards,

Shubham