Question

Unable to deserialize Json in the workflow

  • 21 December 2020
  • 1 reply
  • 52 views

Badge

Hi,

I have a Rest API service which gives response in multilayered Json format. I have created a Rest Service instance and mapped methods in a smartobject.

I am able to call the service and deseriablize all returned objects through SmartObject Tester and SmartObject methods in the Management.

However when I call the service in workflow, workflow does not deserialize the response properly. It gives System.String[] instead.

Does anyone know what is causing this issue.

 

Thanks,

Sheikh Anas 


1 reply

Badge +13

Hi,

I suggest you enable SmartObject logging and run your workflow again. You can then check the SmartObject logs to see what SmartObjects are being called,  what method is being executed, and what are the values being passed into your SmartObject. 

 

Reply