Versions Compared

Key

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

...

When the user submits the form, the same URI will be executed but now with the PUT (or POST) method. The database connector will than execute the update operation identified by that URI.

Post via Webhook 

In a workflow, the Doc URI writes to the database at the end of the workflow, after the final step is submitted. Perhaps you want to post to the database mid-workflow. You could use the Business Rule Approach, or for a no-code approach, you can simply use the same URL you would use for the Doc URI POST in a Webhook.

  1. In Workflow Editing Mode, click the + icon after the step that should post data to your database.
  2. Select Add web-hook (HTTP POST)
    Image Added
  3. Enter the Database URL for the query that contains your create statement, e.g. http://localhost:8082/database/products/allProducts. Be sure to check the Data checkbox. Click Submit.
    Image Added

You will see the webhook displayed in your workflow diagram, and you can edit it at any time. The Database Connector will run the create statement to post data after the user clicks Continue on Step 1.
Image Added

Customizing the XML Schema

...