|
@@ -830,6 +830,11 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
|
|
|
var startStep = workflow.Steps.First(d => d.StepType == EStepType.Start && d.IsOrigin);
|
|
|
startStep.Handlers = new List<Kv> { new(userId, username) };
|
|
|
+ startStep.AcceptorId = userId;
|
|
|
+ startStep.AcceptorName = username;
|
|
|
+ startStep.AcceptTime = DateTime.Now;
|
|
|
+ startStep.AcceptorOrgId = orgId;
|
|
|
+ startStep.AcceptorOrgName = orgName;
|
|
|
|
|
|
var stepHandler = startStep.StepHandlers.First();
|
|
|
startStep.StepHandlers.RemoveAll(d => d.Id != stepHandler.Id);
|