mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-23 05:08:11 +00:00
User: ciuser1 clicked save for shared/enumerations/aws_test.bpmn
This commit is contained in:
parent
a29c854684
commit
549e1acbd5
111
shared/enumerations/aws_test.bpmn
Normal file
111
shared/enumerations/aws_test.bpmn
Normal file
@ -0,0 +1,111 @@
|
||||
<?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="Sharred_Enumeration_Table" name="Sharred: Enumeration Table" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0q0h9tc</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0q0h9tc" sourceRef="StartEvent_1" targetRef="enumeration_user_task" />
|
||||
<bpmn:endEvent id="Event_0fdez0y">
|
||||
<bpmn:incoming>Flow_1igx0a1</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0t80m1i" sourceRef="enumeration_user_task" targetRef="Activity_1cl0n43" />
|
||||
<bpmn:sequenceFlow id="Flow_1igx0a1" sourceRef="Activity_18npi29" targetRef="Event_0fdez0y" />
|
||||
<bpmn:manualTask id="Activity_18npi29" name="Show Records">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Viking List:
|
||||
-----------------
|
||||
|
||||
|Name |DOB| Details|
|
||||
|-----|--------|------|
|
||||
{% for viking in vikings.Items %}
|
||||
|{{viking.Name}}|{{viking.BirthDate}}|{{viking.Details}} |
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_03owp8l</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1igx0a1</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:userTask id="enumeration_user_task" name="Which Enumeration">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="enumeration-JSONSchema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="enumeration-UISchema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0q0h9tc</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0t80m1i</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_1sjh867" sourceRef="Activity_1cl0n43" targetRef="Activity_1slo4pb" />
|
||||
<bpmn:serviceTask id="Activity_1cl0n43" name="Add Record">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="aws/AddDynamoItem">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="item_data" type="str" value="{ "Name": Name, "BirthDate": BirthDate, "Details":Details}" />
|
||||
<spiffworkflow:parameter id="table_name" type="str" value="'Viking'" />
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0t80m1i</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1sjh867</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:sequenceFlow id="Flow_03owp8l" sourceRef="Activity_1slo4pb" targetRef="Activity_18npi29" />
|
||||
<bpmn:serviceTask id="Activity_1slo4pb" name="Get Records">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="aws/ScanDynamoTable" resultVariable="vikings">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="table_name" type="str" value="'Viking'" />
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1sjh867</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_03owp8l</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Sharred_Enumeration_Table">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="-78" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0fdez0y_di" bpmnElement="Event_0fdez0y">
|
||||
<dc:Bounds x="662" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1cpupwx_di" bpmnElement="Activity_18npi29">
|
||||
<dc:Bounds x="510" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0nciy2q_di" bpmnElement="enumeration_user_task">
|
||||
<dc:Bounds x="10" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0k89mkq_di" bpmnElement="Activity_1cl0n43">
|
||||
<dc:Bounds x="180" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1fe77xz_di" bpmnElement="Activity_1slo4pb">
|
||||
<dc:Bounds x="350" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0q0h9tc_di" bpmnElement="Flow_0q0h9tc">
|
||||
<di:waypoint x="-42" y="177" />
|
||||
<di:waypoint x="10" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0t80m1i_di" bpmnElement="Flow_0t80m1i">
|
||||
<di:waypoint x="110" y="177" />
|
||||
<di:waypoint x="180" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1igx0a1_di" bpmnElement="Flow_1igx0a1">
|
||||
<di:waypoint x="610" y="177" />
|
||||
<di:waypoint x="662" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1sjh867_di" bpmnElement="Flow_1sjh867">
|
||||
<di:waypoint x="280" y="177" />
|
||||
<di:waypoint x="350" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_03owp8l_di" bpmnElement="Flow_03owp8l">
|
||||
<di:waypoint x="450" y="177" />
|
||||
<di:waypoint x="510" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
19
shared/enumerations/currency-JSONSchema.json
Normal file
19
shared/enumerations/currency-JSONSchema.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"title": "Currencies",
|
||||
"description": "Currencies to display in the Submit Invoice dropdown",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"value",
|
||||
"label"
|
||||
],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"title": "Three letter currency code"
|
||||
},
|
||||
"label": {
|
||||
"type": "string",
|
||||
"title": "Currency full name"
|
||||
}
|
||||
}
|
||||
}
|
10
shared/enumerations/currency-UISchema.json
Normal file
10
shared/enumerations/currency-UISchema.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"value": {
|
||||
"ui:autofocus": true,
|
||||
"ui:emptyValue": "",
|
||||
"ui:help": " "
|
||||
},
|
||||
"label": {
|
||||
"ui:help": " "
|
||||
}
|
||||
}
|
17
shared/enumerations/workflow.json
Normal file
17
shared/enumerations/workflow.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"description": "Enumerations",
|
||||
"display_name": "Enumerations",
|
||||
"display_order": 2,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "enumerations",
|
||||
"is_master_spec": false,
|
||||
"is_review": false,
|
||||
"libraries": [],
|
||||
"library": false,
|
||||
"primary_file_name": "aws_test.bpmn",
|
||||
"primary_process_id": "Sharred_Enumeration_Table",
|
||||
"process_group_id": "shared",
|
||||
"standalone": false
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user