User: alex clicked save for demo/demo-preload/preload-data.bpmn

This commit is contained in:
demo 2022-11-01 21:33:20 +00:00
parent c66dd2c974
commit 5c565d9f32
5 changed files with 113 additions and 18 deletions

View File

@ -1,4 +1,3 @@
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ny7jp4" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0"> <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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ny7jp4" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<bpmn:process id="sample" isExecutable="true"> <bpmn:process id="sample" isExecutable="true">
<bpmn:startEvent id="StartEvent_1"> <bpmn:startEvent id="StartEvent_1">
@ -36,7 +35,7 @@
<spiffworkflow:inputJson>{}</spiffworkflow:inputJson> <spiffworkflow:inputJson>{}</spiffworkflow:inputJson>
<spiffworkflow:expectedOutputJson>{}</spiffworkflow:expectedOutputJson> <spiffworkflow:expectedOutputJson>{}</spiffworkflow:expectedOutputJson>
</spiffworkflow:unitTest> </spiffworkflow:unitTest>
</spiffworkflow:unitTests> <spiffworkflow:unitTest id="unit_test_5T42ZRC"><spiffworkflow:inputJson>{"current_user": {"id": "1", "username": "kb"}}</spiffworkflow:inputJson><spiffworkflow:expectedOutputJson>{"Mike": "Awesome", "current_user": {"id": "1", "username": "kb"}, "heyhey": "https://demo.spiffworkflow.org", "i": 2, "members": [], "my_var": "whatwhat", "person": "Kevin"}</spiffworkflow:expectedOutputJson></spiffworkflow:unitTest></spiffworkflow:unitTests>
</bpmn:extensionElements> </bpmn:extensionElements>
<bpmn:incoming>Flow_10jwwqy</bpmn:incoming> <bpmn:incoming>Flow_10jwwqy</bpmn:incoming>
<bpmn:outgoing>Flow_0htxke7</bpmn:outgoing> <bpmn:outgoing>Flow_0htxke7</bpmn:outgoing>

View File

@ -0,0 +1,28 @@
{
"title": "Submit Invoice",
"description": "Information for submitting an invoice.",
"type": "object",
"properties": {
"ValidationChoices": {
"type": "array",
"title": "A multiple choices list",
"items": {
"type": "string",
"enum": [
"Number in Name",
"Too many decimals",
"Due date before today's date"
]
},
"uniqueItems": true
},
"scenarioChoices": {
"type": "string",
"title": "Select Currency",
"enum": [
"Correct amount",
"incorrect amount"
]
}
}
}

View File

@ -0,0 +1,11 @@
{
"scenarioChoices": {
"ui:widget": "radio",
"ui:options": {
"inline": false
}
},
"ValidationChoices": {
"ui:widget": "checkboxes"
}
}

View File

@ -0,0 +1,44 @@
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Proccess_9ulv7w8" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0tccoiv</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0tccoiv" sourceRef="StartEvent_1" targetRef="Activity_05coiy3" />
<bpmn:userTask id="Activity_05coiy3" name="Choose Configuration">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="demo-preload_JSONSchema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="demo-preload_UISchema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0tccoiv</bpmn:incoming>
<bpmn:outgoing>Flow_1szj88a</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_1by0v3h">
<bpmn:incoming>Flow_1szj88a</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1szj88a" sourceRef="Activity_05coiy3" targetRef="Event_1by0v3h" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_9ulv7w8">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h9oyqm_di" bpmnElement="Activity_05coiy3">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1by0v3h_di" bpmnElement="Event_1by0v3h">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0tccoiv_di" bpmnElement="Flow_0tccoiv">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1szj88a_di" bpmnElement="Flow_1szj88a">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,13 @@
{
"description": "Demo Preload",
"display_name": "Demo Preload",
"display_order": 2,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "demo-preload",
"is_review": false,
"primary_file_name": "preload-data.bpmn",
"primary_process_id": "Proccess_9ulv7w8",
"process_group_id": "demo"
}