Skip to main content
Nintex Community Menu Bar

Json Response

  • Jul 25, 2017 1:03 PM UTC
  • 2 replies
  • 24 views
  • Translate All

Forum|alt.badge.img+1

How can we retrieve specific data from the Json response ?

I want to retrieve  the "WorkorderID" from the below mentioned web request response .

{"operation":{"result":{"status":"Success","message":"Request details added successfully."},"Details":{"WORKORDERID":"516617","REQUESTER":"XXXXXX","CREATEDBY":"XXXXX","CREATEDTIME":"1500922548794","DUEBYTIME":"-1","RESPONSED

 Any help?

2 replies

Forum|alt.badge.img+14
  • Scholar
  • Jul 25, 2017 10:49 PM UTC

it's not ideal approach but if the :workorderid" token appears in the response just once you can use regular expression.

I assume you want to pick workorderid value, not the text itself. then following regex could work

(?<="WORKORDERID":")d+(?=",)‍

205936_pastedImage_1.png

Translate

Forum|alt.badge.img+1
  • Author
  • Jul 26, 2017 12:51 PM UTC

Worked , Thank you 

Translate