From 5a01d339cacc02285b550f2ba878acc4f46b3ff4 Mon Sep 17 00:00:00 2001 From: "m.lettere" Date: Tue, 16 May 2023 18:40:28 +0200 Subject: [PATCH] accept 409 for avoiding unnecessary reexecutions --- templates/invitation-accepted.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/invitation-accepted.json.j2 b/templates/invitation-accepted.json.j2 index a1001ba..fc09ff8 100644 --- a/templates/invitation-accepted.json.j2 +++ b/templates/invitation-accepted.json.j2 @@ -40,7 +40,7 @@ "type" : "SIMPLE", "inputParameters" : { "url" : "${init.input.keycloak_admin}/users", - "expect" : 201, + "expect" : [201, 409], "method" : "POST", "body" : { "username": "${workflow.input.user}",