Pls help in resolving this issue.
In the external exit automation script for enterprise service when trying to read the external json payload I am getting below error
Error 500: AttributeError: type object 'com.ibm.tivoli.maximo.oslc.OslcUtils' has no attribute
'byteToJson' in <script> at line number 2
Below is code to read the external json data.
from com.ibm.tivoli.maximo.oslc import OslcUtils
jsonData = OslcUtils.byteToJson(erData.getOriginalByteData())
Is there any alternate syntax to parse json and read it. Let me know if additional info required.
Maximo version is - Tivoli's process automation engine 7.6.1.2-IFIX20220330-1115 Build 20200715-0100
------------------------------
Abhinav Srivastava
------------------------------
#MaximoIntegrationandScripting#Maximo#AssetandFacilitiesManagement