Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Based on the Intent value, default the workspace page routing from Details to Other Related List Tab

AdiLakshmiM
Tera Contributor

We have a requirement to default the CSM FSM workspace page to Related list tab instead of defaulting to Interaction Details tab. Please help with the possibility of defaulting tab based on the intent selection

1 REPLY 1

kaushal_snow
Giga Sage

@AdiLakshmiM ,

 

By customizing the workspace tab navigation logic, you can achieve this..It involves creating a UI Script that listens for changes to the Intent field and adjusts the active tab accordingly. For instance, you can use the g_navigation API to programmatically set the active tab when the Intent value changes. Ensure that the script is executed in the appropriate context, such as within a UI Action or Client Script, to respond to the Intent field value dynamically.....

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/