- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 11:10 PM - edited 09-25-2023 11:24 PM
Hi Experts,
I would like to ask a question since, I also want to display the UI action on portal, here is mine code
serverResolve();
function serverResolve() {
current.status = 'approve';
gs.eventQueue('x_1078056_holiday.x_1078056_holiday_appr', current, current.name_employee, '');
current.update();
action.setRedirectURL(current);
}
as soon as I click on the UI action button the button is not working and not responding
Please help how can I resolve this issue
This is happening in Custom scoped application
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 06:19 AM
The issue is resolved there was onsubmit client script running that was restricting the operation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 11:28 PM
did you try commenting action.setRedirectURL()?
you said it's not working in native UI so is it working in portal?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 11:49 PM - edited 09-25-2023 11:52 PM
Yes I tried commenting that, no it is not working anywhere It is in custom scoped application
But if I change it to this code it is working in native UI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 11:52 PM
Please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 06:19 AM
The issue is resolved there was onsubmit client script running that was restricting the operation