Ui action condition check

jobin1
Tera Expert

Hi All

 

Can some one tell what this condition all about?it in ui action

 

(new GlideRecord(current.getTableName())).canWrite() && RP.isOneToMany() && !RP.getListControl().isOmitEditButton()

 

find_real_file.png

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

the condition is present on OOB UI action

1) it checks if the current user can write to the table

2) then check is it's one to many relationship for the table

3) check if omit edit button in list control

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

@Ankur Bawiskar Thanks for the clarification Ankur. There is one more doubt on that requirement I will post you another query.