Versions Compared

Key

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

...

To properly integrate and configure the Beanshell, set the following fields:

NameDescription
Store to Form

...

Select the form you want to store the data in.
Response Content Type

...

Choose Text for a single field or JSON for structured data.

Text

...

It stores the plain response in the specified field of the given record.

  • Field ID: The field in the form where the text should be stored.
  • Record ID: The record to update. If left blank, the current workflow assignment’s process ID will be used.
JSON

...

Tries to format the JSON into a standard object. Parses the content and maps it to form rows based on the provided mappings. Supports saving multi-row data if the response is a JSON array.

  • Base JSON Object Name for Multirow Data: The JSON key containing the array of objects (rows) to store in multirow form.
  • Primary Key:  Field used as the row identifier in multirow storage.
  • Field Mapping: Map JSON fields to form field IDs.