hi, I need a help to pass or get formOutput from one form as a JSON and can we use that json as in other forms??

1 answer


Hi, axmikant.latpa

Yes, if you use the API Rest Extension Context (https://community.bonitasoft.com/project/restapicontext) it will help you.

In the first Form define a Contract param with the JSON content by a String, and in the Operations Form set this contract value to Process Variable, named "JSON1", by example.

In the second Form, define into UI Form, a new variable from API Type named "VARIABLE", like as ../API/extension/context?caseId={{caseId}}, then you can get the "JSON1" value from VARIABLE.JSON1

Thats all!!

I hope it helps you.