Navigate internally without reloading using action assignment
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2025 06:14 AM - edited 10-27-2025 06:15 AM
Hi,
I have put this code in the action assignment's client script -
function onClick() {
const projectSysId = g_form.getUniqueValue();
const timestamp = Date.now(); // same as new Date().getTime()
// Construct the proper Financials workspace URL
var financialsURL = '/now/workspace/project/home/sub/pw-financials/pm_project/' +
projectSysId + '/' + timestamp +
'/params/page-name/financials';
// Redirect user to the Financials section
open(financialsURL, '_self');
}
This is working but the only thing here is, the page is completely reloading. Instead it should just navigate internally.
OR
If you know the solution using UXF client action.
OR
If you know the solution using UXF client action.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2025 06:22 AM
what should happen when that button is clicked?
what's the source and what's the target once button is clicked?
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2025 11:26 PM
