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.

SamRepopulateSoftwareLifecycleReport is not defined causing SAM job to fail

Claire Ashdown1
Tera Expert

After the Xanadu upgrade, the "SAM - Generate Data For Software Lifecycle Report " scheduled job began to fail every week. It now errors out with "ReferenceError: "SamRepopulateSoftwareLifecycleReport" is not defined.". Does anyone know if the SamRepopulateSoftwareLifecycleReport script include was deleted or renamed during the Xanadu upgrade? I can't find a script include by that name anymore, but also don't see any skipped upgrade changes for the scheduled jobs.

Looking for the script include mentioned in Solved: SAM - Generate Data For Software Lifecycle Report ... - ServiceNow Community, that record seems to not longer be found, making me suspect it was deleted, but I haven't found any documentation on that.

1 REPLY 1

dreinhardt
Kilo Patron
Kilo Patron

Hi @Claire Ashdown1,

the mentioned job was replaced by the following two

  • SAM - Create Calculated Software Lifecycles (weekly)
  • SAM - Generate Software Lifecycle Report (daily)

The instance below was upgraded to Xanadu 9th, October and after the upgrade the "SAM - Generate Data ..." never runs and again, looks like they renamed the job

 

dreinhardt_0-1735845447834.png

 

Best, Dennis

 

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.