From 1f33d6ec6882c3d3bb24cfbeac4d715a262d2b60 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Tue, 7 Feb 2023 13:39:09 +0000 Subject: [PATCH] Revert "Use workflow_id when creating a execution" This reverts commit 728b294add48f61e8862a90ab13cfb19cb5f4fd5. Reason for revert: This should be wf_identifier because it's using mistralclient and not the REST API. Change-Id: I71e154f53f26655e9d1aeb93b0ee9d1ac21f0f49 --- mistraldashboard/workflows/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mistraldashboard/workflows/forms.py b/mistraldashboard/workflows/forms.py index c7053b5..5939ad7 100644 --- a/mistraldashboard/workflows/forms.py +++ b/mistraldashboard/workflows/forms.py @@ -56,7 +56,7 @@ class ExecuteForm(forms.SelfHandlingForm): def handle(self, request, data): try: - data['workflow_id'] = data.pop('workflow_name') + data['workflow_identifier'] = data.pop('workflow_name') data['workflow_input'] = {} for param in self.workflow_parameters: value = data.pop(param)