Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

State Field in alm_license table in SAM Pro

anandsaurabh47
Tera Contributor

Hi,

I see "state" field is mandatory field and hence throwing an error while importing the entitlements through entitlement import template.

I can add this column in the template and update the value as "Build" and fix the error but I am assuming if this field is mandate, then isn't it supposed to be part of the OOB entitlement import template?

Please help, I am using ServiceNow Zurich and using the latest entitlement import template available in Zurich.

1 ACCEPTED SOLUTION

SAMfluencer
ServiceNow Employee

Hi @anandsaurabh47 ,

 

I checked this in my instance also on Zurich. I used the OOB import template and the entitlement imported successfully, defaulting to "In use" automatically.

 

Screenshot 2026-04-01 at 8.11.18 am.png

The OOB entitlement import transform handles state (install_status) silently in the background 

 

Want to check if this is the root cause in your instance? Navigate to the  alm_license.LIST  table → Configure → All → open the Dictionary entry for the State column (install_status) → check if Mandatory is checked. If it is, uncheck it and try importing again that should resolve the error.

 

Screenshot 2026-04-01 at 8.17.58 am.png

 

For reference, OOB this field is not mandatory at the dictionary level, so if it's checked in your instance it's likely been customised at some point.

 

If this helped - amazing, you're welcome, go click Helpful and Accept as Solution. If it didn't - well, at least you learned what not to do. Either way, we grow. 

 

Cheers, Abby

ITAM Principal Solution Architect

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@anandsaurabh47 

not sure if this is a miss from ServiceNow side

But as a workaround you can use onBefore transform script and set the default value

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@anandsaurabh47 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hey Ankur, seems this field is set as mandatory by our developers here hence, it's throwing the error. But by default it's not.

SAMfluencer
ServiceNow Employee

Hi @anandsaurabh47 ,

 

I checked this in my instance also on Zurich. I used the OOB import template and the entitlement imported successfully, defaulting to "In use" automatically.

 

Screenshot 2026-04-01 at 8.11.18 am.png

The OOB entitlement import transform handles state (install_status) silently in the background 

 

Want to check if this is the root cause in your instance? Navigate to the  alm_license.LIST  table → Configure → All → open the Dictionary entry for the State column (install_status) → check if Mandatory is checked. If it is, uncheck it and try importing again that should resolve the error.

 

Screenshot 2026-04-01 at 8.17.58 am.png

 

For reference, OOB this field is not mandatory at the dictionary level, so if it's checked in your instance it's likely been customised at some point.

 

If this helped - amazing, you're welcome, go click Helpful and Accept as Solution. If it didn't - well, at least you learned what not to do. Either way, we grow. 

 

Cheers, Abby

ITAM Principal Solution Architect