From 627755be39986d87f292332c37b411147fa28d78 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Wed, 27 Apr 2022 16:23:08 -0400 Subject: [PATCH] 19075: When constructing a workflow request, set use_existing=false Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- src/store/run-process-panel/run-process-panel-actions.test.ts | 1 + src/store/run-process-panel/run-process-panel-actions.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store/run-process-panel/run-process-panel-actions.test.ts b/src/store/run-process-panel/run-process-panel-actions.test.ts index 7edc4cff..745be88f 100644 --- a/src/store/run-process-panel/run-process-panel-actions.test.ts +++ b/src/store/run-process-panel/run-process-panel-actions.test.ts @@ -131,6 +131,7 @@ describe("run-process-panel-actions", () => { }, schedulingParameters: { max_run_time: undefined }, state: "Committed", + useExisting: false }); // and diff --git a/src/store/run-process-panel/run-process-panel-actions.ts b/src/store/run-process-panel/run-process-panel-actions.ts index b421f072..adb5ade7 100644 --- a/src/store/run-process-panel/run-process-panel-actions.ts +++ b/src/store/run-process-panel/run-process-panel-actions.ts @@ -177,7 +177,8 @@ export const runProcess = async (dispatch: Dispatch, getState: () => RootSt properties: { workflowUuid: selectedWorkflow.uuid, workflowName: selectedWorkflow.name - } + }, + useExisting: false }; const newProcess = await services.containerRequestService.create(newProcessData); dispatch(navigateTo(newProcess.uuid)); -- 2.30.2