mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 05:38:06 +00:00
added radio buton example w/ burnettk
This commit is contained in:
parent
fbf854b879
commit
ae3b2f2afc
9
misc/radio-buttons-example/process_model.json
Normal file
9
misc/radio-buttons-example/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Radio Buttons Example",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "radio-buttons-example.bpmn",
|
||||||
|
"primary_process_id": "Process_radio_buttons_example_eg3elvn"
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
{}
|
23
misc/radio-buttons-example/radio-button-form-schema.json
Normal file
23
misc/radio-buttons-example/radio-button-form-schema.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"title": "Radio Button Examples",
|
||||||
|
"description": "Some examples for radio buttons",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"inline_radio": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "The inline options",
|
||||||
|
"oneOf": [
|
||||||
|
{ "const": "option_one", "title": "Option One"},
|
||||||
|
{ "const": "option_two", "title": "Option Two"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"non_inline_radio": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "The non-inline options",
|
||||||
|
"oneOf": [
|
||||||
|
{ "const": "option_one", "title": "Option One"},
|
||||||
|
{ "const": "option_two", "title": "Option Two"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
11
misc/radio-buttons-example/radio-button-form-uischema.json
Normal file
11
misc/radio-buttons-example/radio-button-form-uischema.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"inline_radio": {
|
||||||
|
"ui:widget": "radio",
|
||||||
|
"ui:options": {
|
||||||
|
"inline": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"non_inline_radio": {
|
||||||
|
"ui:widget": "radio"
|
||||||
|
}
|
||||||
|
}
|
46
misc/radio-buttons-example/radio-buttons-example.bpmn
Normal file
46
misc/radio-buttons-example/radio-buttons-example.bpmn
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
<?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="Process_radio_buttons_example_eg3elvn" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="radio_button_task" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="radio_button_task" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:userTask id="radio_button_task" name="Radio button task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser />
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="radio-button-form-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="radio-button-form-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_radio_buttons_example_eg3elvn">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_19cbkzc_di" bpmnElement="radio_button_task">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
Loading…
x
Reference in New Issue
Block a user