kreuzwerker / DKT.flows-engine

Apache License 2.0
0 stars 0 forks source link

[Resource:GraphQL:DynamoDB] create FlowRun Model and reducers #16

Closed johipsum closed 7 years ago

johipsum commented 7 years ago

A FlowRun instance contains all the required metadata for a flow execution + a complete copy of the flow which created the FlowRun instance. besides that it contains detailed logs about the execution. this includes the current status of the flow run and the logs from each steps within the flow run. e.g.

logs: {
    status: 'running' || 'error' || 'success'
    message: String,
    steps: [
        {
            stepId: String,
            status: 'error' || 'success'
            message: String,
        }
    ]   
}