This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans.xsd"> | |
<!-- | |
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration"> | |
<property name="databaseSchemaUpdate" value="true"/> | |
</bean> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>LearnBPMN</groupId> | |
<artifactId>LearnBPMN</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<java.version>1.8</java.version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3"> | |
<bpmn:collaboration id="Collaboration_1ukzxwm"> | |
<bpmn:participant id="Participant_1jytf7q" name="Reward Process" processRef="RewardMultiInstance" /> | |
</bpmn:collaboration> | |
<bpmn:process id="RewardMultiInstance" isExecutable="true"> | |
<bpmn:laneSet> | |
<bpmn:lane id="Lane_0r1co7i" name="Manager"> | |
<bpmn:flowNodeRef>Task_0o9iylr</bpmn:flowNodeRef> | |
<bpmn:flowNodeRef>EndEvent_111ifpl</bpmn:flowNodeRef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3"> | |
<bpmn:collaboration id="Collaboration_1ukzxwm"> | |
<bpmn:participant id="Participant_1jytf7q" name="Reward Process" processRef="RewardMultiInstanceAssignee" /> | |
</bpmn:collaboration> | |
<bpmn:process id="RewardMultiInstanceAssignee" isExecutable="true"> | |
<bpmn:laneSet> | |
<bpmn:lane id="Lane_0r1co7i" name="Manager"> | |
<bpmn:flowNodeRef>Task_0o9iylr</bpmn:flowNodeRef> | |
<bpmn:flowNodeRef>EndEvent_111ifpl</bpmn:flowNodeRef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def committee = [ 'jame', 'john', 'peter']; | |
println(committee); | |
//Create MAP | |
def reviewResultMap = [:]; | |
def RequiredNumOfPeers = 3; | |
for (i = 0; i <RequiredNumOfPeers; i++) { | |
reviewResultMap.put(committee[i], "NOT_REVIEW"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.JsonSlurper; | |
//ทำไว้ก่อนเดี๋ยวใน BPMN ใช้ Connector | |
apiString = "http://www.mocky.io/v2/5b24bac031000051006a7154"; | |
URL apiUrl = new URL(apiString); | |
def jsonslurper = new JsonSlurper(); | |
response = jsonslurper.parseText(apiUrl.text); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3"> | |
<bpmn:process id="HttpConnectorRequestGet" name="HttpConnectorRequestGet" isExecutable="true" camunda:versionTag="1"> | |
<bpmn:startEvent id="StartEvent_1"> | |
<bpmn:outgoing>SequenceFlow_1435fpg</bpmn:outgoing> | |
</bpmn:startEvent> | |
<bpmn:sequenceFlow id="SequenceFlow_1435fpg" sourceRef="StartEvent_1" targetRef="Task_0zq32cv" /> | |
<bpmn:endEvent id="EndEvent_186wp1n"> | |
<bpmn:incoming>SequenceFlow_17nx2nk</bpmn:incoming> | |
</bpmn:endEvent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const jsonServer = require('json-server') | |
const server = jsonServer.create() | |
const router = jsonServer.router('db.json') | |
const middlewares = jsonServer.defaults() | |
console.log("I am PingkungA") | |
// Set default middlewares (logger, static, cors and no-cache) | |
server.use(middlewares) | |
// Add custom routes before JSON Server router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const jsonServer = require('json-server') | |
const server = jsonServer.create() | |
const router = jsonServer.router('db.json') | |
const middlewares = jsonServer.defaults() | |
const util = require('util') | |
console.log("I am PingkungA") | |
// Set default middlewares (logger, static, cors and no-cache) | |
server.use(middlewares) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3"> | |
<bpmn:process id="HttpConnectorRequestPatch" name="HttpConnectorRequestPatch" isExecutable="true" camunda:versionTag="1"> | |
<bpmn:startEvent id="StartEvent_1"> | |
<bpmn:outgoing>SequenceFlow_1435fpg</bpmn:outgoing> | |
</bpmn:startEvent> | |
<bpmn:sequenceFlow id="SequenceFlow_1435fpg" sourceRef="StartEvent_1" targetRef="Task_0zq32cv" /> | |
<bpmn:endEvent id="EndEvent_186wp1n"> | |
<bpmn:incoming>SequenceFlow_1vry191</bpmn:incoming> | |
</bpmn:endEvent> |
OlderNewer