Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
In Bean Shell plugin, we can call other Joget plugins programmatically to perform a specific task without the need to rewrite specific functionality that existing plugins may have already addressed.
...
In this Bean Shell code, we will make use of of the JSON API Tool.
Before we move on, let's inspect how the plugin is configured first.
...
We will need to obtain the attributes of the configured plugin, plugn so that we can then programmatically configure it with coding.
One quick way to learn the attributes needed is to make use of the browserProcess Builder's Developer Advanced Tools > Network JSON Definition to observe the submission made when we hit the submit buttonplugin's properties.
Figure 2: JSON Tool Attributes
...
Figure 3: Obtaining JSON Tool AttrbutesAttributes
With this infomation information on hand, we can now configure the plugin through coding. Configurations are made in the the propertiesMap variable in the sample code below.
...