feat: Implement exposing errors from actions within processor

This commit is contained in:
Faruk AYDIN
2022-09-27 12:20:16 +03:00
parent 45cce9956b
commit e149d47135
3 changed files with 37 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ class ExecutionStep extends Base {
executionId: { type: 'string', format: 'uuid' },
stepId: { type: 'string' },
dataIn: { type: 'object' },
dataOut: { type: 'object' },
dataOut: { type: ['object', 'null'] },
status: { type: 'string', enum: ['success', 'failure'] },
errorDetails: { type: ['object', 'null'] },
},