Action Definition Properties and Sample Code
In the actions
section of the adapter definition document,
you define the actions that are available in your adapter.
Properties
Property | Description |
---|---|
|
Name of the action that appears as a selectable item in the Oracle Integration user interface. |
|
Tooltip for the action in the Oracle Integration user interface. |
group |
Name of the group defined in the categories section of the adapter definition document. |
|
Refers to an action or a flow. The flow is the implementation for the action. Flows are defined in the flows section of the adapter definition document. |
|
Schema used for the output message. It contains the The Sample code 1:
Sample code 2:
|
|
Schema used for the output message. It contains the The Sample code 1:
Sample code 2:
|
|
Models the configuration option to fully configure the action. Certain actions may need additional information that the user needs to provide to allow runtime to function. The configuration options are modeled as user interface widgets, with data either statically defined or fed by flows. Selections of a configuration field can drive one or more configuration field selections, both in the values that are available or the set of configurations fields that are available. The configuration defines an extra page for configuring this action. The configuration consists of a set configuration fields (UI components), which will be rendered sequentially in the configuration page. Define a configuration field using the following required properties:
You can also use the following optional configuration fields:
|
Sample Code
"actions": {
"staticInputOutputAction": {
"displayName": "Simple Action With Static Input/Output",
"execute": "flow:generalActionFlow",
"input": {
"schemaType": "application/json",
"schema": {
"$ref": "#/schemas/staticInput"
}
},
"output": {
"schemaType": "application/json",
"schema": {
"$ref": "#/schemas/staticOutput"
}
}
}
}