Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
The JSON Tool enables one to issue a JSON webservice web service call, and to save the returned data into Joget's form data and/or into the process's workflow variable. |
Figure 1: JSON Tool Properties - Configure JSON Tool
Name | Description |
---|---|
JSON URL | URL to be called. |
Call Type |
|
POST Method |
|
POST Parameters | When POST Method is set to "POST Parameters", these parameters will be sent as a UrlEncodedFormEntity. When POST Method is set to "POST Parameters as JSON Payload", these parameters will be sent as a StringEntity in a form of an escaped JSON string. |
Custom JSON Payload | Write your own JSON to be the payload. It will be sent as a StringEntity. This option is available only when "Custom JSON Payload" in selected. |
Request Headers | Add name(s) and value(s) to the request header. |
No Response Expected | Check if no response is expected, so that even if there is a response, this tool will simply ignore it. Using this option will also disable "store to form" and "store to workflow variable" properties. |
Debug Mode | Show relevant debug entries in the server log for debugging purposes. |
Figure 2: JSON Tool Properties - Store to Form
Name | Description | ||||||
---|---|---|---|---|---|---|---|
Form | Target form to store data to. | ||||||
Base JSON Object Name for Multirow Data | Name of the object that contains an array to be based on. | ||||||
Field Mapping | Mapping with JSON data with Form fields.
|
Figure 3: JSON Tool Properties - Store to Workflow Variable
Name | Description | ||||||
---|---|---|---|---|---|---|---|
Workflow Variable Mapping |
|
In figure 2 and 3, one will need to specify on how to treat the returned data. The returned data may be saved as form data or/add to be saved into process's workflow variable. The example used in this article shows on how one can store multi-row data into a form data table.
...
You can download the test app from APP_json1-1-20151026181405.jwa.