Bug with UI action's condition field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 08:56 PM
HI everyone.
I created a UI action with the condition below, and the button shows.
(RP.getParameterValue('sysparm_record_target')=='sn_customerservice_case')
Then I changed the condition, and the button disappeared.
(RP.getParameterValue('sysparm_record_target')!='sn_customerservice_case')
Here, it seems the condition field works as expected.
But, when I clicked the button, the message 'Action not authorized' shows.
I don't know why.
The condition field is used to judge if the button should show or not.
Why can it affect the running of the logic script?(In my case, there is only gs.info() in my script.)
Really need help!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 09:14 PM
Please provide the ALL configurations of your UI Action and not only a small part of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 10:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 06:06 AM