Service Operations Workspace Experience with UI Builder Customization Issue

Voona Rohila
Kilo Patron
Kilo Patron

Hi Everyone

I am stuck on a issue and need your inputs/resolution for this.

 

On Service Operations Workspace - Change module when we click on 'Create New' button, create-change-request-page is opened and User can select the template/model and click on Next Button which closes the current tab and opens the New Change record with pre filled details.

 

Current Page :

VoonaRohila_0-1686925473247.png

 

 

My requirement is to skip the clicking of Next Button and directly redirect to next page when Template is clicked.

 

I've created a duplicate of the OOTB variant and tried this

1. I deleted Next & Cancel Button component in Button Container Component.

2. I added Event Handler on Card Base Container 1 to Execute - Client Script Close Tab and Execute -Client script on Next Button so that when card is selected the next button code executes.

 

VoonaRohila_2-1686925501504.png

 

 

The above configuration is closing the tab and opening change form but the pre-populated fields are not setting up properly.(I am clicking standard template but Type is being set as normal and sometimes it is setting up the previously selected template values.)

 

I am new to UI Builder so any input will be helpful.

 

Thank You in advance.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
5 REPLIES 5

Sorry - I am also quite new to UI Builder.

After further investigation - you definitely do not want the "Pin Unpin" there -- I believe that is specifically for the "Pinning" of change tiles, in the repeater container.

...and I went so far as to edit the "Card Click" action to include the client scripts of "close tab" and "next button" embedded in that action's client script...and it has the same symptoms as you describe, so I am at a loss.

Sorry, I wish I could be of more help - you definitely need to combine the scripts of all of the actions...but clearly more is needed, rather than just copying the variant and modifying the click action on the card to do "all the things" (that are done oob, with the next button).