Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The OTYS connection the step signs in with. |
| ServiceRequired | text |
| MethodRequired | Any method the service publishes — setStatus, retrieveDuplicateInfo, createToken, wrapRequest. This node declares effect write, so the run never blind-retries it. |
| Parameters | Everything after the session token. An array is spread into the call's parameters; anything else is sent as a single one. |
| Language | Sets the language for THIS call only, through LanguageService.wrapRequest. The connection's own language is never changed. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `otys`) |
service | text |
method | text |
params | any JSON |
language | text |
Output
| Field | Type |
|---|---|
resultOTYS answer | any |
methodThe full method that was called | string |
Sample output, and the expression for each field
- method"Otys.Services.CandidateService.getDetail"
- resultnull
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"language": "",
"method": "<method>",
"service": "<service>"
},
"label": "Call a service method",
"type": "otys.call",
"version": 1
}