Skip to content

Commit ab91216

Browse files
authored
add workflow name too tasks (#801)
Signed-off-by: Lillie Dae <[email protected]>
1 parent 9124383 commit ab91216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WorkflowManager/WorkflowExecuter/Services/WorkflowExecuterService.cs

+1
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,7 @@ private async Task<WorkflowInstance> CreateWorkflowInstanceAsync(WorkflowRequest
802802
var firstTask = workflow.Workflow.Tasks.First();
803803

804804
var task = await CreateTaskExecutionAsync(firstTask, workflowInstance, message.Bucket, message.PayloadId.ToString());
805+
task.TaskPluginArguments["workflow_name"] = workflow.Workflow.Name;
805806

806807
tasks.Add(task);
807808
if (task.Status == TaskExecutionStatus.Failed)

0 commit comments

Comments
 (0)