The CreatorCon Call for Content is officially open! Get started here.

Need condition in the UI action for a specific assignment group.

Karthick PS
Tera Contributor

I am creating an UI action (sys_ui_action) in which I want to show the "Pending" button on the SCTASK (catalog item).

My condition is I want to show that button to a specific Assignment group.

How can I write the condition?

An error comes if I keep the sys_id of that assignment group.

Something like this.... 

isMemberOf(d800edadadada00u08d0a);

1 ACCEPTED SOLUTION

Hi,hope this resolved your issue,could you please mark the answer correct and helpful?

-Krupa.

View solution in original post

7 REPLIES 7

Thank you.

I also want to put a condition that the form button should be visible ONLY for a particular Catalog item.

How can I write the query.

gs.getUser().isMemberOf('group sys_id') && current.cat_item == 'sys id of catalog item'

 

Please mark the answer correct and helpful!

-Krupa.

Hi,hope this resolved your issue,could you please mark the answer correct and helpful?

-Krupa.