How to make working variant in UI builder? Risk Workspace shows inactivated OOB record overview.

Miikka_M
Tera Guru

Hi, I'm configuring Risk Workspace to my client. Client wants a new variant of Risk record overview and do some configurations to that variant.  

Okay so I have Risk Workspace. I open the Risk record in it. And for example I want to change Description text to something else. But since client want I can't do these to OOB Risk Record Overview so i need to build a new variant of this overview, so I can can change that text in it.

Here's how record looks like. I want to change description text for example.

record overview 2.png



1. I open the instance record page tabs from https://[instancename].service-now.com/now/builder/ui/components/a04c00820f901010a326b6ade7767ef9

pages and variants.png


2. I dublicate the Overview variant, name it to Overview Copy, set order to 0, and inactivate the Out of the box Overview variant (so "Overview copy" variant should definitely be seen in Risk Workspace)

Näyttökuva 2023-12-04 142250.png


3. I open the "Overview copy" variant in UI builder and add stylized text there as a test so I can see if my configurations are working in Risk Workspace records overview. See text: "Decription Copy" in OOB variant there was reading "Decription"

Näyttökuva 2023-12-04 142616.png

 

4. Okay now:

- Risk Record Overview copy variant is created
- That variant order is changed to smaller one than Out of the box Risk Record Overview.
- Changes are done to Risk Record Overview copy variant

5. Still. When I open any record in Risk Workspace. I can still see the out of the box Overview page. Not the variant I just created and did changes to Description. As you can see from below there is still reading old "Description" from out of the box Overview page instead of "Description Copy" I did to Overview copy variant.

record overview 2.png

I really can't understand how inactivated overview is showing in here, instead of newly created variant of overview (which is very active).
 
This same problem doesn't come up if I create a variant for home page for example. This problem only occurs in Records.

Any help / suggestions? ServiceNow support is not answering, so that's why I'm contacting community about this. 

Best, 
Miikka

1 ACCEPTED SOLUTION

Miikka_M
Tera Guru

Didn't got answer yet from ServiceNow to this but figured out the issue.

Risk record overview Variant must be done to Risk default record-pre details, to here: https://instance.service-now.com/now/builder/ui/pc/6cce1b7131eb1110f877707813070e22/

All other variants of Risk Record Overview must be inactivated

from here: https://instance.service-now.com/now/builder/ui/pc/6cce1b7131eb1110f877707813070e22/


and from here: https://instance.service-now.com/now/builder/ui/components/a04c00820f901010a326b6ade7767ef9


After any updates done to this variant via UI builder, cache flush (cache.do) is needed so update takes place.

View solution in original post

2 REPLIES 2

Miikka_M
Tera Guru

Also tried to do this by this way: 

1. I built a new variable of risk record page at: https://[instancename].service-now.com/now/builder/ui/experience/98fca03a777310102a272f589a1061d0

 

2. I open Risk default record-Pre details at here: 
https://[instancename].service-now.com/now/builder/ui/pc/6cce1b7131eb1110f877707813070e22/

 

3. I duplicate the oob Risk record overview variant at Risk default record-Pre details, set it order to 100 and even inactivate it. So now I only have duplication of risk record overview   

 

Näyttökuva 2023-12-04 162145.png

 

It looks like this: 

Näyttökuva 2023-12-04 162235.png

I do changes to that variant in UI builder, but STILL for some reason in risk records I only can see the many times inactivated OOB Risk record data. Only changes I do to that inactivated record overview reflects to Risk Workspace.

That is so strange!

Miikka_M
Tera Guru

Didn't got answer yet from ServiceNow to this but figured out the issue.

Risk record overview Variant must be done to Risk default record-pre details, to here: https://instance.service-now.com/now/builder/ui/pc/6cce1b7131eb1110f877707813070e22/

All other variants of Risk Record Overview must be inactivated

from here: https://instance.service-now.com/now/builder/ui/pc/6cce1b7131eb1110f877707813070e22/


and from here: https://instance.service-now.com/now/builder/ui/components/a04c00820f901010a326b6ade7767ef9


After any updates done to this variant via UI builder, cache flush (cache.do) is needed so update takes place.