How do I use the flw library in flowable script task? Using community version of flowable, 3.x and in my script task I want to use the flw library.
I cannot find any good documentation or examples and when I try to use some commands in my script task I get a "error" executing the workflow from flowable work. ANyone else having this problem and know how the get around it.
Basically I want to use the flw library to get, set, and manipulate variables and data payloads in my workflow and I don;t want to write and compile java code, I just want to use the platform as a end user.
thanks mark
within my script task
var myjson = flw.getInput('restResponse');
var x = flw.setOutput('v1', 24);
in flowable work I get an error when I run the workflow. When I remove this code from the script task it runs fine
also read this in their document
The scripting API also supports various utilities around JSON object handling like creating a JSON object or array or converting a JSON string into a JSON object structure.
You can access those utilities through flw.json.
what are the functional available via the flw.json library and how do I see the function signatures.