Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The visitor would request a demo by submitting a form in the Joget app.
  2. Upon submission of the form, fields will be validated to make sure that all mandatory fields are filled up.
  3. Upon successful validation of data, the form data will be shared with an external system (i.e. CRM software) for further processing through the use of plugins (i.e. JSON ToolAPI for Mapping Tools to Plugins) or Bean Shell code. More on this later on.

  4. The main objective is to ensure the successful delivery of data with the external system.

...

The easiest, no-code approach is to make use of JSON ToolAPI for Mapping Tools to Plugins plugin itself. The JSON Tool itself is a Process Tool & Post Form Submission Processing Plugin. This means that we can invoke it from within a process flow or from the submission of the form.

...

By using Post Form Submission Processing in Form, and "Method 1 JSON Call" earlier, this is the easiest and quickest method. This allows us to invoke any Process Tool & Post Form Submission Processing PluginJSON ToolAPI for Mapping Tools to Plugins is one such candidate.

Figure 9

...

Taking cues from method 2 earlier, we will put the new plugin in Multi Tools and set the Run Mode to "Run tools sequentially in a new single thread". This is so that customer does not need to wait for JSON call to complete.

Image RemovedImage Added

Figure 13

The following is a new section to configure to capture the JSON call's response status.

We created a new form to capture the JSON call log.

Image RemovedImage Added

Figure 14

In this screenshot below, we are able to inspect each of the form submission made (left) and the result of the API call (right).

...

For example, we can make use of the Form Update Process Tool Datalist Action and map to the JSON Tool.

Image RemovedImage Added

Figure 18

Once it is tested working, we can consider automating it and set up a scheduler job - iterate through the same list and execute JSON Tool using Iterator Process Tool.

...