Components
Components
Communication
CommunicationCommunication
response
is extended withwrapper
object.limit
is not available inresponse
as the result of action should always be only one bundleCommunication can be request-less.
response.wrapper
Required: no
Default: output
This directive lets you post-process module output before returning it to the user. The output of the module will be available to you as the output
context variable - the result of processing the output
directive. When used, the value of the wrapper
directive is what will become the final output of the module. This directive is executed only once and at the end of the processing chain. There are no more directives or transformations after it.
Static parameters
Static parametersYou can use static parameters inside the Action module without any restrictions.
Mappable parameters
Mappable parametersYou can use mappable parameters inside the Action module without any restrictions.
Interface
InterfaceRemember that the Action module should always output only one bundle.
Samples
SamplesTo help the users with setting up your module, you can provide samples to it.
Scope
ScopeWhen using an OAuth type of connection, use the Scope to define scopes required by this action.
Available IML variables
These IML variables are available for you to use everywhere in this module:
now
- Current date and timeenvironment
- TBDtemp
- Contains custom variables created viatemp
directiveparameters
- Contains module’s input parameters.connection
- Contains connection’s data collection.common
- Contains app’s common data collection.data
- Contains module’s data collection.scenario
- TBDmetadata.expect
- Contains module’s raw parameters array the way you have specified it in the configuration.metadata.interface
- Contains module’s raw interface array the way you have specified it in the configuration.
Additional variables available to Response Object:
output
- When using thewrapper
directive, theoutput
variable represents the result of theoutput
directive
Additional variables available after using the iterate
directive, i.e. in wrapper
or pagination
directives:
iterate.container.first
- Represents the first item of the array you iteratediterate.container.last
- Represents the last item of the array you iterated
Additional variables available to Pagination and Response Objects:
body
- Contains the body that was retrieved from the last request.headers
- Contains the response headers that were retrieved from the last request.item
- When iterating this variable represents the current item that is being iterated.
Example

Last updated