implement remote call for remote action

This commit is contained in:
mr 2024-08-12 16:54:58 +02:00
parent 92516e20ab
commit 6fe862a9b5

View File

@ -82,6 +82,9 @@ func (wfa *workflowMongoAccessor) DeleteOne(id string) (utils.DBObject, int, err
}
func (wfa *workflowMongoAccessor) book(id string, realData *Workflow, execs []*workflow_execution.WorkflowExecution) error {
if wfa.Caller == nil {
return errors.New("no caller defined")
}
if realData.Schedule == nil {
return nil
}