Hi, I have a object structure with an script integration defined as an action and when it's invoked using JSON Api the implicit variable mbo is null.
Action configuration on object structure:

The object structure AMATMAX contains object Inventory at first level and TransferCurItem object
And the this is the script which doesn't have reference to mbo variable because brokes the script running.

These are the steps that I've done:
1-) GET http://localhost/maximo/oslc/os/AMATMAX?oslc.where=itemnum="P6214" and siteid="CENTRAL" (to get the link to the inventory)
2-) POST http://localhost/maximo/oslc/os/AMATMAX/_UDYyMTQvSVRFTS9BTE1BQ0VOU0FQL0NFTlRSQUw-?action=script:TEST1 (invoke the action script)
The log script file shows that implicit variable "mbo" is null:
30 ago 2024 12:16:08:578 [DEBUG] about to execute the cached compiled script OSACTION.AMATMAX.TEST1 for launch point null
30 ago 2024 12:16:08:578 [DEBUG] created script context for cached compiled script OSACTION.AMATMAX.TEST1 for launch point null
30 ago 2024 12:16:08:578 [DEBUG] getting nashorn.global
30 ago 2024 12:16:08:585 [DEBUG] execution completed for cached compiled script OSACTION.AMATMAX.TEST1 for launch point null
30 ago 2024 12:16:08:585 [DEBUG] getting nashorn.global
30 ago 2024 12:16:08:585 [DEBUG] getting nashorn.global
30 ago 2024 12:16:08:585 [DEBUG] detected nashorn engine - copying the binding context ... OSACTION.AMATMAX.TEST1 for launch point null
30 ago 2024 12:16:08:585 [DEBUG] getting nashorn.global
30 ago 2024 12:16:08:586 [DEBUG] copying the binding to context: resp=[object Object]
30 ago 2024 12:16:08:586 [DEBUG] copying the binding to context: responseBody={"test":"TEST"}
30 ago 2024 12:16:08:586 [DEBUG] The total time taken to execute the OSACTION.AMATMAX.TEST1 script for the null launch point is +8 ms.
30 ago 2024 12:16:08:586 [DEBUG] context params vals====app=null,request=com.ibm.tivoli.maximo.oslc.provider.OslcRequest@70e9dbea,userInfo=psdi.security.UserInfo@92e321d0,responseBody={"hola":"HOLA"},resp=[object Object],httpMethod=POST,mboset=null,responseHeaders={content-type=application/json},requestBody=null,service=com.ibm.tivoli.maximo.script.ScriptService@8bd0dbb4,scriptName=OSACTION.AMATMAX.TEST1,mbo=null,actionName=TEST1,
30 ago 2024 12:16:08:586 [DEBUG] context cloned params vals====app=null,request=com.ibm.tivoli.maximo.oslc.provider.OslcRequest@70e9dbea,mboset=null,userInfo=psdi.security.UserInfo@92e321d0,responseHeaders={content-type=application/json},requestBody=null,service=com.ibm.tivoli.maximo.script.ScriptService@8bd0dbb4,scriptName=OSACTION.AMATMAX.TEST1,mbo=null,httpMethod=POST,actionName=TEST1,
What am I doing wrong?.
All these tests are done in Maximo Asset Management 7.6.1.3 version
Thanks!