
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2016 10:03 AM
Attached are two UI Actions. One is global and one is for a specific table. Both are active and in at least one scenario, both conditions can evaluate to true.
I would expect that when both conditions evaluate to true, since the table specific action does NOT override the global, that duplicate buttons would be visible on the form. Yet this is not the case. If I disable either action individually, the other button will display on the form. If I disable them both, then no button will display on the form. Even still when both are active and both evaluate to true, only one button appears.
What attribute is causing this functionality? Since these are both out of the box, I would have expected the table specific button to override the global button.
Thanks for the insight in advance,
AA
Solved! Go to Solution.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2016 10:09 AM
When you create a Ui action with same action name, it will override the global one.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2016 10:06 AM
The reason both don't appear is because they both have the same action name (sysverb_update). Your "private" UI action for the table is acting as an override as designed.
This might help.
Thanks for the chance to read XML.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2016 10:45 AM
LOL, I actually don't mind XML, grew up on that stuff.
I typically like the way ServiceNow handles things but the action name thing can be a bit confusing. I'm surprised they don't use a standard list of action names with the ability to add custom action name. Some of the OOB actions names offer functionality that I wasn't aware of, for instance the cancel action name will ignore required fields.
Anyway, I'll get used to it. Thanks for the info.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2016 10:49 AM
Yeah, the sysverb_ stuff isn't documented very well (or at all that I can find.) Fortunately there aren't too many of them.
Interesting... I thought I had a best practice to always use the Action name field in UI actions somewhere in this collection: Technical Best Practices - ServiceNow Wiki
I don't see it. I know it was in the workshop slides.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2016 10:09 AM
When you create a Ui action with same action name, it will override the global one.