CMS - UCMDB and UD User Discussions
cancel

(UCMDB Support Tip) - Service Now push failed with error

Highlighted
Micro Focus Expert
Micro Focus Expert

(UCMDB Support Tip) - Service Now push failed with error

If you are doing the Service Now push in uCMDB and you get the below error message:

 

------------------------------------------------------------------------------

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
X:\UCMDB\DataFlowProbe\runtime\probeManager\discoveryConfigFiles\ServiceNowGenericAdapter\mappings\scripts\SNOWPushFunctions.groovy: 154: Apparent variable 'AssetStatusMapping' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes:
You attempted to reference a variable in the binding or an instance variable from a static context.
You misspelled a classname or statically imported field. Please check the spelling.
You attempted to use a method 'AssetStatusMapping' but left out brackets in a place not allowed by the grammar.
@ line 154, column 16.
return AssetStatusMapping[status]==null?status:AssetStatusMapping[status];

------------------------------------------------------------------------------

That means you may using the old adpater, and pls contact support to get new adapter and it will sovle the issue.

 

HPE Software Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

Please hit the Kudo botton, if you find this post useful.