How to access the selected value from integration fields
The values selected in an integration field of a form can be easily accessed and utilized within Deluge workflows. By leveraging Deluge scripting, you can retrieve these values to streamline your application processes.
Prerequisites
Configure the integration field in then preferred form by selecting a service and add datasource by creating a connection.
Note: The following method can only access the
display field's value specified in the integration
field properties. To access values from other fields, you can use the REST API of the related service.
Steps to follow
- Use the following Deluge syntax in your preferred workflow actions to fetch the value selected in the integration field.
Note: The syntax is applicable only to on success and on validate workflow events.
- <response> = <integration_field_link_name>.<integartion_fields_subfield>;
where,
<integration_field_link_name> | is the field link name of the integration field. |
<integartion_fields_subfield> | is the name of the integration field's subfield used to fetch the value.
To find the subfield name, you can create an integration form for the same service and module. The field link name in the integration form for the selected field will represent the subfield name. |
See how it works
Points to note
- By implementing this tutorial using the expression mentioned in the syntax to fetch values from integration field subfields, the following limitations apply:
- The application's .ds file cannot be imported
- The application can be backed up, but cannot be restored
- The application cannot be duplicated
- Remove the expression from your application before performing the above operations.
- Understand integration field