From ed0e7f3d38f92ca721194c5e84a782ca190ca05b Mon Sep 17 00:00:00 2001 From: Alexis Lucattini Date: Wed, 6 Nov 2024 21:20:20 +1100 Subject: [PATCH] Initialise workflow status after launch for referencing when monitoring runs --- .../step_function_templates/launch_pieriandx.asl.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/workload/stateless/stacks/pieriandx-pipeline-manager/step_function_templates/launch_pieriandx.asl.json b/lib/workload/stateless/stacks/pieriandx-pipeline-manager/step_function_templates/launch_pieriandx.asl.json index 1a1fa537d..b6d424958 100644 --- a/lib/workload/stateless/stacks/pieriandx-pipeline-manager/step_function_templates/launch_pieriandx.asl.json +++ b/lib/workload/stateless/stacks/pieriandx-pipeline-manager/step_function_templates/launch_pieriandx.asl.json @@ -402,10 +402,13 @@ "id.$": "$.workflow_inputs.portalRunId", "id_type": "portal_run_id" }, - "UpdateExpression": "SET engine_parameters = :engine_parameters", + "UpdateExpression": "SET engine_parameters = :engine_parameters, workflow_status = :workflow_status", "ExpressionAttributeValues": { ":engine_parameters": { "S.$": "States.JsonToString($.set_engine_parameters_step.engine_parameters)" + }, + ":workflow_status": { + "S": "RUNNING" } } },