Hello
Is there a way to create an interaction using POST /api/v2/flows/executions??.
{
"name": "test",
"inputData": {
"priority": {}
},
"flowId": "4af92c05-1052-44dc-xxxxxxxxxxxxxxx"
}
With this API I'm triggering a workflow (this works,no errors). But, when adding "transfer to queue" action in Architect, I get "The requested item was not found." error.
I know that I'm missing the interaction type and probably some basic info but I have tried several combinations with no success. Im not sure if this is even possible.
Any guidance/suggestions will be highly appreciated!
Thansk
GET /api/v2/flows/executions/{flowExecutionId}
{
"id": "kb2smsklu9c0k854h6s60rhbbl3ldju4lklpg0qtk07gjnichl",
"name": "test",
"flowVersion": {
"id": "7.0",
"name": "7.0",
"commitVersion": "7.0",
"configurationVersion": "2.0",
"secure": false,
"debug": false,
"createdBy": {
"id": "08b87608-574c-40fa-b573-3e456438482f",
"selfUri": "/api/v2/users/08b87608-574c-40fa-b573-3e456438482f"
},
"configurationUri": "/api/v2/flows/4af92c05-1052-44dc-aea3-ab67e25695cc/versions/7.0/configuration",
"dateCreated": 1691611368719,
"dateCheckedIn": 1691611368728,
"dateSaved": 1691611367241,
"generationId": "WORKFLOW_VERSION_PUBLISHED",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Flow input schema",
"description": "Schema defining flow input parameters. Property names map to flow scoped variables marked as a flow input. If you do not supply a property value for an input variable, the variable value will be set to the initial value configured on it in the flow at flow startup.",
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Flow output schema",
"description": "Schema defining flow output parameters. Property names map to flow scoped variables marked as a flow output.",
"type": "object",
"properties": {},
"additionalProperties": false
},
"datePublished": "2023-08-09T20:02:48.805Z",
"supportedLanguages": [
{
"language": "es-us",
"isDefault": true
}
],
"selfUri": "/api/v2/flows/4af92c05-1052-44dc-aea3-ab67e25695cc/versions/7.0"
},
"dateLaunched": "2023-08-10T13:42:27.101Z",
"status": "FAILED",
"dateCompleted": "2023-08-10T13:42:27.385Z",
"completionReason": "Failure",
"flowErrorInfo": {
"message": "The requested item was not found.",
"code": "error.workflow.notFound",
"messageWithParams": "The requested item '{item}' was not found.",
"messageParams": {
"item": "WILMA foo"
},
"details": [],
"errors": []
},
"selfUri": "/api/v2/flows/executions/kb2smsklu9c0k854h6s60rhbbl3ldju4lklpg0qtk07gjnichl"
}