- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2022 08:50 AM
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);
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2022 05:45 AM
Hi,hope this resolved your issue,could you please mark the answer correct and helpful?
-Krupa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2022 10:04 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2022 10:11 AM
gs.getUser().isMemberOf('group sys_id') && current.cat_item == 'sys id of catalog item'
Please mark the answer correct and helpful!
-Krupa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2022 05:45 AM
Hi,hope this resolved your issue,could you please mark the answer correct and helpful?
-Krupa.