mode adding to workflow

This commit is contained in:
mr 2024-08-13 10:42:12 +02:00
parent 60fee8abe7
commit 4911e32ec2
2 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,7 @@ func (wfa *workflowMongoAccessor) book(id string, realData *Workflow, execs []*w
continue
}
resp, err := wfa.Caller.CallPost(p.(*peer.Peer).Url, methods[tools.POST], (&workflow_execution.WorkflowExecutions{
ResourceID: dc_id,
Executions: execs,
}).Serialize())
if err != nil {

View File

@ -40,6 +40,7 @@ func (d ScheduledType) EnumIndex() int {
}
type WorkflowExecutions struct {
ResourceID string `json:"resource_id" bson:"resource_id"`
Executions []*WorkflowExecution `json:"executions" bson:"executions"`
}