From 255b86a240821516a78125d10bbc0b339a730751 Mon Sep 17 00:00:00 2001 From: Francisco Javier Tirado Sarti <65240126+fjtirado@users.noreply.github.com> Date: Tue, 14 May 2024 14:17:42 +0200 Subject: [PATCH] Update serverless-workflow-examples/serverless-workflow-subflows-event/README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gonzalo Muñoz --- .../serverless-workflow-subflows-event/README.md | 9 ++++----- .../src/main/resources/application.properties | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/serverless-workflow-examples/serverless-workflow-subflows-event/README.md b/serverless-workflow-examples/serverless-workflow-subflows-event/README.md index 9bc7af95a2..20d1832d47 100644 --- a/serverless-workflow-examples/serverless-workflow-subflows-event/README.md +++ b/serverless-workflow-examples/serverless-workflow-subflows-event/README.md @@ -1,7 +1,7 @@ # serverless-workflow-subflow-events This example illustrate how to trigger workflows manually with additional parameters calculated by an initial workflow. -The workflow that initially setup the parameters is executed as start state. +The workflow responsible for setting up the parameters is executed as the start state. Then, all possible workflows that might be instantiated with those parameters are registered using `event` state. `exclusive` property is set to false ensuring that the process instance remains active till all possible workflows has been executed. ## Execution steps. @@ -37,11 +37,10 @@ curl --location 'http://localhost:8080/executeA' \ "specversion" : "1.0", "type" : "executeA", "source" : "manual", - "data" : { + "data" : { "param4" : "Additional parameter" - }, - "kogitoprocrefid" : "ad7e1081-3f05-431e-b246-d9471643fec2" - + }, + "kogitoprocrefid" : "ad7e1081-3f05-431e-b246-d9471643fec2" }' ``` diff --git a/serverless-workflow-examples/serverless-workflow-subflows-event/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-subflows-event/src/main/resources/application.properties index 5a521940b6..cd71c3734d 100644 --- a/serverless-workflow-examples/serverless-workflow-subflows-event/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-subflows-event/src/main/resources/application.properties @@ -16,9 +16,6 @@ # specific language governing permissions and limitations # under the License. -quarkus.devservices.enabled=false -# - mp.messaging.incoming.executeA.connector=quarkus-http mp.messaging.incoming.executeA.path=/executeA @@ -30,4 +27,6 @@ mp.messaging.incoming.executeB.path=/executeB %container.quarkus.container-image.push=false %container.quarkus.container-image.group=${USER} %container.quarkus.container-image.registry=dev.local -%container.quarkus.container-image.tag=1.0-SNAPSHOT \ No newline at end of file +%container.quarkus.container-image.tag=1.0-SNAPSHOT + +quarkus.devservices.enabled=false