Add missing request properties when starting workflow
Added support for `Properties` and `ParentId` when creating workflow instances. This fixes an issue where the Properties were not propagated to the workflow instance being created.
This commit is contained in:
parent
484a126693
commit
8952f06dde
|
|
@ -31,7 +31,9 @@ public class DefaultWorkflowStarter(IWorkflowDefinitionService workflowDefinitio
|
|||
CorrelationId = request.CorrelationId,
|
||||
Input = request.Input,
|
||||
TriggerActivityId = request.TriggerActivityId,
|
||||
ActivityHandle = request.ActivityHandle
|
||||
ActivityHandle = request.ActivityHandle,
|
||||
Properties = request.Properties,
|
||||
ParentId = request.ParentId
|
||||
};
|
||||
|
||||
var runWorkflowResponse = await workflowClient.CreateAndRunInstanceAsync(createWorkflowInstanceRequest, cancellationToken);
|
||||
|
|
|
|||
Loading…
Reference in a new issue