added repeating form and some extra stuff for form testing w/ burnettk

This commit is contained in:
jasquat 2022-06-30 16:58:10 -04:00
parent ff262f9d6e
commit a4350a9c3d
6 changed files with 101 additions and 22 deletions

View File

@ -3,6 +3,7 @@
"type": "object",
"required": ["user_generated_number"],
"properties": {
"user_generated_number": {"type": "integer", "title": "Number", "default": 0}
"system_generated_number": {"type": "integer", "title": "System Generated Number", "default": 0},
"user_generated_number": {"type": "integer", "title": "User Generated Number", "default": 0}
}
}

View File

@ -1,17 +1,17 @@
{
"is_master_spec": false,
"is_review": false,
"library": false,
"exception_notification_addresses": [],
"primary_process_id": "test_form",
"display_name": "Process Model With Form",
"description": "A Process Model with a form",
"process_group_id": "category_number_one",
"standalone": false,
"description": "A Process Model with a form",
"is_master_spec": false,
"display_order": 0,
"library": false,
"id": "process-model-with-form",
"is_review": false,
"libraries": [],
"files": [],
"primary_process_id": "test_form",
"fault_or_suspend_on_exception": "fault",
"primary_file_name": "test_form.bpmn"
}
"id": "process-model-with-form",
"display_name": "Process Model With Form",
"primary_file_name": "test_form.bpmn",
"libraries": [],
"display_order": 0
}

View File

@ -0,0 +1,15 @@
{
"title": "Add Approver Names",
"description": "Add as many as you want",
"type": "object",
"properties": {
"approvers": {
"type": "array",
"title": "List of approvers",
"items": {
"type": "string",
"default": ""
}
}
}
}

View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:spiffworkflow="https://github.com/sartography/SpiffWorkflow" 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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="repeating_form" name="repeating form" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0lk9b96</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="add_approvers" name="add approvers">
<bpmn:incoming>Flow_0lk9b96</bpmn:incoming>
<bpmn:outgoing>Flow_0agjrlz</bpmn:outgoing>
<bpmn:rendering>
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formKey" value="add_approvers_form.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
</bpmn:rendering>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0lk9b96" sourceRef="StartEvent_1" targetRef="add_approvers" />
<bpmn:endEvent id="Event_1dncb99">
<bpmn:incoming>Flow_0agjrlz</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0agjrlz" sourceRef="add_approvers" targetRef="Event_1dncb99" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="repeating_form">
<bpmndi:BPMNEdge id="Flow_0lk9b96_di" bpmnElement="Flow_0lk9b96">
<di:waypoint x="215" y="177" />
<di:waypoint x="330" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0agjrlz_di" bpmnElement="Flow_0agjrlz">
<di:waypoint x="430" y="177" />
<di:waypoint x="532" y="177" />
</bpmndi:BPMNEdge>
<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_1dncb99_di" bpmnElement="Event_1dncb99">
<dc:Bounds x="532" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ekp389_di" bpmnElement="add_approvers">
<dc:Bounds x="330" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,17 @@
{
"is_master_spec": false,
"is_review": false,
"library": false,
"exception_notification_addresses": [],
"description": "Process Model With Repeating Form",
"process_group_id": "category_number_one",
"standalone": false,
"files": [],
"primary_process_id": "repeating_form",
"fault_or_suspend_on_exception": "fault",
"id": "process-model-with-repeating-form",
"display_name": "Process Model With Repeating Form",
"primary_file_name": "assign_approvers.bpmn",
"libraries": [],
"display_order": 2
}

View File

@ -1,17 +1,17 @@
{
"is_master_spec": false,
"is_review": false,
"library": false,
"exception_notification_addresses": [],
"primary_process_id": "sample",
"display_name": "Workflow One",
"description": "Workflow One, is a workflow.",
"process_group_id": "category_number_one",
"standalone": false,
"description": "Workflow One, is a workflow.",
"is_master_spec": false,
"display_order": 0,
"library": false,
"id": "workflow_one",
"is_review": false,
"libraries": [],
"files": [],
"primary_process_id": "sample",
"fault_or_suspend_on_exception": "fault",
"primary_file_name": "sample.bpmn"
"id": "workflow_one",
"display_name": "Workflow One",
"primary_file_name": "sample.bpmn",
"libraries": [],
"display_order": 1
}