I do not see a workflow activity in Laserfiche Cloud Workflow that will allow me to parse a JSON response from a web service. I could use regex to parse the JSON data but I am hoping there is an equivalent activity to the premise 'Read JSON' workflow activity.
Question
Question
Parse JSON Response in Laserfiche Cloud Workflow
asked on February 19, 2021
0
0
Replies
replied on February 19, 2021
Cloud HELP - Self Hosted Workflow activity compare to Cloud-
- "Read JSON" functionality is available natively in the "Run Web Request" activity on SaaS
That's how far I got. I haven't produced an example as yet.
1
0
replied on February 20, 2021
Yep, I saw that as well. Haven't figured out how to make it happen though...
0
0
replied on September 22, 2021
Hi Cliff Primmer,
Did you get to read the Json file?
0
0
replied on September 22, 2021
Hi you can set the parameters you want to parse in the json response and use them as output parameters coming from run web request rule activity in workflow.
1) Go to web request rule
2) Select Http as Response Type
3) Select Json as Parse Type
4) Run your request to test
5) Scroll down on the Response tab
6) Set the parameters that you want to extract from the Json response
7) Save and publish your web request rule
1
0
You are not allowed to follow up in this post.