mongo and or
This commit is contained in:
parent
09b67b26b0
commit
2525cc7783
@ -51,7 +51,7 @@ func (wfa *workflowMongoAccessor) execution(realData *Workflow, delete bool) (in
|
||||
obj := &workflow_execution.WorkflowExecution{
|
||||
ExecDate: &s,
|
||||
EndDate: realData.Schedule.End,
|
||||
State: workflow_execution.SCHEDULED.EnumIndex(),
|
||||
State: 0,
|
||||
WorkflowID: realData.UUID,
|
||||
}
|
||||
accessor.StoreOne(obj)
|
||||
@ -61,7 +61,7 @@ func (wfa *workflowMongoAccessor) execution(realData *Workflow, delete bool) (in
|
||||
obj := &workflow_execution.WorkflowExecution{
|
||||
ExecDate: realData.Schedule.Start,
|
||||
EndDate: realData.Schedule.End,
|
||||
State: workflow_execution.SCHEDULED.EnumIndex(),
|
||||
State: 0,
|
||||
WorkflowID: realData.UUID,
|
||||
}
|
||||
accessor.StoreOne(obj)
|
||||
|
Loading…
Reference in New Issue
Block a user