workflow-core
workflow-core copied to clipboard
Run foreach in non-parallel mode for JSON workflows
Does the workflow definitions from JSON support synchronous foreach? When I want to use code below foreach still run in parallel mode.
{ "Id": "MyForEachStep", "StepType": "WorkflowCore.Primitives.ForEach, WorkflowCore", "NextStepId": "...", "Inputs": { "Collection": "data.List" , "RunParallel": "false"" }, "Do": [[ { "Id": "do1", "StepType": "MyApp.DoSomething1, MyApp", "NextStepId": "do2" }, { "Id": "do2", "StepType": "MyApp.DoSomething2, MyApp" } ]] }
@dviry
Set runparallel to true or remove the runparallel property. By default, runparallel is true