Asset tag and serial number of software licenses are removed when quantity is changed to 2 or more

Saeka
Kilo Sage

Hello,

 

I want to set asset tag and serial number in Software License [alm_software] table but when quantity is changed to 2 or more, they are removed.

 

Where is this behavior defined?

 

I expected it to be related to the UI Policy in the screenshot, but the condition did not apply and changing active to false did not change the behavior.

Saeka_0-1719820654322.png

1 ACCEPTED SOLUTION

Saeka
Kilo Sage

The cause was not the UI Policy, but the ACL.

The OOTB ACL for Asset [alm_asset] is set to allow reads only if the quantity is 1.

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Saeka 

 

What do you mean by Removed? you want to clear the values or you want to hide the field on form? did you mention the UI policy action?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@Dr Atul G- LNG 
Thank you for your reply.


In OOTB, when I change the quantity to 2 or more and create a record, the value of the entered asset tag and serial number field is cleared and the field itself is also hidden.

 

The script in OOTB's UI policy "Hide asset tag and serial num" is set to clear the values and the UI policy action is set to hide the fields.

Saeka_0-1719824230173.png

Saeka_1-1719824254456.png

 

However, changing this UI policy to inactive does not change the phenomenon.

Hi @Saeka 

 

As per screenshot I can see UI policy in active state, make it inactive , clear cache.do and logout n login to test.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Saeka
Kilo Sage

The cause was not the UI Policy, but the ACL.

The OOTB ACL for Asset [alm_asset] is set to allow reads only if the quantity is 1.