Revert "Use workflow_id when creating a execution"

This reverts commit 728b294add.

Reason for revert: This should be wf_identifier because it's using mistralclient and not the REST API.

Change-Id: I71e154f53f26655e9d1aeb93b0ee9d1ac21f0f49
This commit is contained in:
Tobias Urdin 2023-02-07 13:39:09 +00:00
parent 728b294add
commit 1f33d6ec68

View File

@ -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)