Skip to content

Commit

Permalink
Changes in BPMN
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksander-dytko committed Oct 29, 2024
1 parent 3e3ae4c commit 194a500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/example/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static void main(String[] args) {
.restAddress(URI.create(configLoader.getProperty("ZEEBE_REST_ADDRESS")))
.credentialsProvider(credentialsProvider)
.build()) {
deployResources(client);
//deployResources(client);
long processInstanceKey = createProcessInstance(client);
correlateOrPublishMessage(client, processInstanceKey);
}
Expand Down
7 changes: 3 additions & 4 deletions src/main/resources/bank loan origination and processing.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<bpmn:extensionElements>
<zeebe:taskDefinition type="job" />
<zeebe:properties>
<zeebe:property name="camundaModeler:exampleOutputJson" value="{&#10; &#34;creditScore&#34;: 760&#10;}" />
<zeebe:property name="camundaModeler:exampleOutputJson" value="{&#10; &#34;creditScore&#34;: 760,&#10; &#34;ticketId&#34;: 123&#10;}" />
</zeebe:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1myqvj5</bpmn:incoming>
Expand Down Expand Up @@ -294,10 +294,9 @@
<bpmn:serviceTask id="ValidateDataAndCreateTicket" name="Validate data and create ticket">
<bpmn:extensionElements>
<zeebe:taskDefinition type="job" />
<zeebe:properties>
<zeebe:property name="camundaModeler:exampleOutputJson" value="{&#10; &#34;ticketId&#34;: 123&#10;}" />
</zeebe:properties>
<zeebe:properties />
<zeebe:executionListeners>
<zeebe:executionListener eventType="start" type="startEl" />
<zeebe:executionListener eventType="end" type="endEl" />
</zeebe:executionListeners>
</bpmn:extensionElements>
Expand Down

0 comments on commit 194a500

Please sign in to comment.