Versions Compared

Key

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

...

Set the "Run Mode" such that it would execute the process tool (JSON Tool) in a new thread.


Summary
Pros
  1. Quickest
  2. Easiest to Configure
Cons
  1. No guarantee of successful JSON call to external system.

Method 3 - Workflow Process with 

...

By doing so, we would be able to redirect back to the same form again and prompting the end user to submit the form again. The potential customer (end user) may not be able to complete the submission process when the external API is not reliable and sees the same form repetitively. This would lead to confusing UI presentation and frustrating user experience.

As this design expects a "true/false" response from the JSON Tool itself, when the external API service is unresponsive, it may not even return anything at all and we will need to wait for it to time out by itself (i.e. 60 seconds).


Summary
Pros
  1. Handles JSON call error and prompt user to submit again to try
Cons
  1. Increased wait time. Response time includes JSON Tool's turnaround time.
  2. Form submission only work end to end when external API service is working.