Skip to content

Instantly share code, notes, and snippets.

View korthout's full-sized avatar

Nico Korthout korthout

View GitHub Profile
@korthout
korthout / visual-log-stream
Created March 9, 2021 14:33
Example idea for the visualization of the Zeebe log stream
1---------------------------------------------COMMAND------------------2021-03-09 15:00:00:000 UTC-|
| DEPLOYMENT CREATE *
|-------------------------------------------------------------------------------------zeebe-0.26.0-|\
| "resources": [ | |
| { "resource": "PD94...", "resourceType": "BPMN_XML", "resourceName": "...123.bpmn" } | |
| ], | |
| "deployedWorkflows": [ | |
| { | |
| "version": 1, "bpmnProcessId": "CheckProcessPreCheck", "workflowKey": 2251799813685249, | |
| "resourceName":"...123.bpmn" |
@korthout
korthout / readbooks.bpmn
Created June 9, 2020 08:25
Example to show bug in multi-instance input/output element defintions referring to same variable name
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0np1c1o" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.9.1">
<bpmn:process id="Process_0ci0xjm" isExecutable="true">
<bpmn:subProcess id="ReadPagesSubProcess" name="Read pages">
<bpmn:incoming>Flow_0jwqkkk</bpmn:incoming>
<bpmn:outgoing>Flow_03laeqb</bpmn:outgoing>
<bpmn:multiInstanceLoopCharacteristics>
<bpmn:extensionElements>
<zeebe:loopCharacteristics inputCollection="=Book.pages" inputElement="page" outputCollection="pages" outputElement="=page" />
</bpmn:extensionElements>
@korthout
korthout / readbooks.bpmn
Created June 9, 2020 07:44
Example Zeebe bpmn to show output mappings in container of multi-instance subprocess
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0np1c1o" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.9.1">
<bpmn:process id="Process_0ci0xjm" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_13659id</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:endEvent id="Event_0vubwhi">
<bpmn:incoming>Flow_0aks3ve</bpmn:incoming>
</bpmn:endEvent>
<bpmn:subProcess id="Activity_1t8ayez">

Keybase proof

I hereby claim:

  • I am korthout on github.
  • I am korthout (https://keybase.io/korthout) on keybase.
  • I have a public key ASAoar4Klx7diRnSBNHOkcRTVsKSh1TeltwRR8hCYOORpwo

To claim this, I am signing this object: