1 Star 0 Fork 205

alexyon32/activiti7-workflow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
postman接口可直接导入BPMN.postman_collection.json 30.74 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074
{
"info": {
"_postman_id": "c5d13794-3046-40d4-a5dd-be87c30b643b",
"name": "BPMN",
"description": "BPMN的项目请求",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "用户",
"item": [
{
"name": "登录-login",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "http://localhost:8080/login?username=bajie&password=1",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"login"
],
"query": [
{
"key": "username",
"value": "bajie"
},
{
"key": "password",
"value": "1"
}
]
}
},
"response": []
},
{
"name": "获取用户列表:/user/getUsers",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processDefinition/getDefinitions",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"getDefinitions"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "流程定义processDefinition",
"item": [
{
"name": "上传BPMN流媒体-/uploadStream",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "processFile",
"type": "file",
"src": "/D:/redmine/HouXuanRen20200707V1.bpmn"
}
],
"options": {
"formdata": {}
}
},
"url": {
"raw": "http://localhost:8080/processDefinition/uploadStreamAndDeployment",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"uploadStreamAndDeployment"
]
}
},
"response": []
},
{
"name": "上传BPMN-/upload",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "processFile",
"type": "file",
"src": "/D:/redmine/DocPush.bpmn"
}
],
"options": {
"formdata": {}
}
},
"url": {
"raw": "http://localhost:8080/processDefinition/upload",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"upload"
]
}
},
"response": []
},
{
"name": "部署BPMN文件(问题)/addDeploymentByFileNameBPMN?deploymentUUID",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "http://localhost:8080/processDefinition/addDeploymentByFileNameBPMN?deploymentFileUUID=e387c111-4c96-4f64-a759-1238e9faa40b.bpmn&deploymentName=申请请假流程0625",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"addDeploymentByFileNameBPMN"
],
"query": [
{
"key": "deploymentFileUUID",
"value": "e387c111-4c96-4f64-a759-1238e9faa40b.bpmn"
},
{
"key": "deploymentName",
"value": "申请请假流程0625"
}
]
}
},
"response": []
},
{
"name": "部署BPMN字符/addDeploymentByString?deploymentUUID",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "http://localhost:8080/processDefinition/addDeploymentByString?stringBPMN=<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:activiti=\"http://activiti.org/bpmn\" 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:tns=\"http://www.activiti.org/testm1587888989443\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" expressionLanguage=\"http://www.w3.org/1999/XPath\" id=\"m1587888989443\" name=\"\" targetNamespace=\"http://www.activiti.org/testm1587888989443\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\">\n <process id=\"myDocPushProcess\" isClosed=\"false\" isExecutable=\"true\" name=\"NameQingJia\" processType=\"None\">\n <startEvent id=\"_2\" name=\"StartEvent\"/>\n <endEvent id=\"_3\" name=\"EndEvent\"/>\n <userTask activiti:assignee=\"bajie\" activiti:exclusive=\"true\" id=\"_4\" name=\"UserTask\"/>\n <userTask activiti:assignee=\"wukong\" activiti:exclusive=\"true\" id=\"_5\" name=\"UserTask\"/>\n <sequenceFlow id=\"_6\" sourceRef=\"_2\" targetRef=\"_4\"/>\n <sequenceFlow id=\"_7\" sourceRef=\"_4\" targetRef=\"_5\"/>\n <sequenceFlow id=\"_8\" sourceRef=\"_5\" targetRef=\"_3\"/>\n </process>\n <bpmndi:BPMNDiagram documentation=\"background=%233C3F41;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0\" id=\"Diagram-_1\" name=\"New Diagram\">\n <bpmndi:BPMNPlane bpmnElement=\"myDocPushProcess\">\n <bpmndi:BPMNShape bpmnElement=\"_2\" id=\"Shape-_2\">\n <dc:Bounds height=\"32.0\" width=\"32.0\" x=\"200.0\" y=\"40.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"32.0\" width=\"32.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"_3\" id=\"Shape-_3\">\n <dc:Bounds height=\"32.0\" width=\"32.0\" x=\"260.0\" y=\"350.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"32.0\" width=\"32.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"_4\" id=\"Shape-_4\">\n <dc:Bounds height=\"55.0\" width=\"85.0\" x=\"190.0\" y=\"140.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"55.0\" width=\"85.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"_5\" id=\"Shape-_5\">\n <dc:Bounds height=\"55.0\" width=\"85.0\" x=\"195.0\" y=\"260.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"55.0\" width=\"85.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge bpmnElement=\"_6\" id=\"BPMNEdge__6\" sourceElement=\"_2\" targetElement=\"_4\">\n <di:waypoint x=\"216.0\" y=\"72.0\"/>\n <di:waypoint x=\"216.0\" y=\"140.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"0.0\" width=\"0.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge bpmnElement=\"_7\" id=\"BPMNEdge__7\" sourceElement=\"_4\" targetElement=\"_5\">\n <di:waypoint x=\"235.0\" y=\"195.0\"/>\n <di:waypoint x=\"235.0\" y=\"260.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"0.0\" width=\"0.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge bpmnElement=\"_8\" id=\"BPMNEdge__8\" sourceElement=\"_5\" targetElement=\"_3\">\n <di:waypoint x=\"270.0\" y=\"315.0\"/>\n <di:waypoint x=\"270.0\" y=\"351.16760302580866\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"0.0\" width=\"0.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"addDeploymentByString"
],
"query": [
{
"key": "stringBPMN",
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:activiti=\"http://activiti.org/bpmn\" 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:tns=\"http://www.activiti.org/testm1587888989443\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" expressionLanguage=\"http://www.w3.org/1999/XPath\" id=\"m1587888989443\" name=\"\" targetNamespace=\"http://www.activiti.org/testm1587888989443\" typeLanguage=\"http://www.w3.org/2001/XMLSchema\">\n <process id=\"myDocPushProcess\" isClosed=\"false\" isExecutable=\"true\" name=\"NameQingJia\" processType=\"None\">\n <startEvent id=\"_2\" name=\"StartEvent\"/>\n <endEvent id=\"_3\" name=\"EndEvent\"/>\n <userTask activiti:assignee=\"bajie\" activiti:exclusive=\"true\" id=\"_4\" name=\"UserTask\"/>\n <userTask activiti:assignee=\"wukong\" activiti:exclusive=\"true\" id=\"_5\" name=\"UserTask\"/>\n <sequenceFlow id=\"_6\" sourceRef=\"_2\" targetRef=\"_4\"/>\n <sequenceFlow id=\"_7\" sourceRef=\"_4\" targetRef=\"_5\"/>\n <sequenceFlow id=\"_8\" sourceRef=\"_5\" targetRef=\"_3\"/>\n </process>\n <bpmndi:BPMNDiagram documentation=\"background=%233C3F41;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0\" id=\"Diagram-_1\" name=\"New Diagram\">\n <bpmndi:BPMNPlane bpmnElement=\"myDocPushProcess\">\n <bpmndi:BPMNShape bpmnElement=\"_2\" id=\"Shape-_2\">\n <dc:Bounds height=\"32.0\" width=\"32.0\" x=\"200.0\" y=\"40.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"32.0\" width=\"32.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"_3\" id=\"Shape-_3\">\n <dc:Bounds height=\"32.0\" width=\"32.0\" x=\"260.0\" y=\"350.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"32.0\" width=\"32.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"_4\" id=\"Shape-_4\">\n <dc:Bounds height=\"55.0\" width=\"85.0\" x=\"190.0\" y=\"140.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"55.0\" width=\"85.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"_5\" id=\"Shape-_5\">\n <dc:Bounds height=\"55.0\" width=\"85.0\" x=\"195.0\" y=\"260.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"55.0\" width=\"85.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge bpmnElement=\"_6\" id=\"BPMNEdge__6\" sourceElement=\"_2\" targetElement=\"_4\">\n <di:waypoint x=\"216.0\" y=\"72.0\"/>\n <di:waypoint x=\"216.0\" y=\"140.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"0.0\" width=\"0.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge bpmnElement=\"_7\" id=\"BPMNEdge__7\" sourceElement=\"_4\" targetElement=\"_5\">\n <di:waypoint x=\"235.0\" y=\"195.0\"/>\n <di:waypoint x=\"235.0\" y=\"260.0\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"0.0\" width=\"0.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge bpmnElement=\"_8\" id=\"BPMNEdge__8\" sourceElement=\"_5\" targetElement=\"_3\">\n <di:waypoint x=\"270.0\" y=\"315.0\"/>\n <di:waypoint x=\"270.0\" y=\"351.16760302580866\"/>\n <bpmndi:BPMNLabel>\n <dc:Bounds height=\"0.0\" width=\"0.0\" x=\"0.0\" y=\"0.0\"/>\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n"
},
{
"key": "deploymentName",
"value": "请假流程0628",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "获取流程定义列表:/getDefinitions",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processDefinition/getDefinitions",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"getDefinitions"
]
}
},
"response": []
},
{
"name": "获取流程定义XML/getDefinitionXML",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processDefinition/getDefinitionXML?deploymentID=6f82e834-b9e9-11ea-abb1-dcfb4875e032&resourceName=DocPush.bpmn",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"getDefinitionXML"
],
"query": [
{
"key": "deploymentID",
"value": "6f82e834-b9e9-11ea-abb1-dcfb4875e032"
},
{
"key": "resourceName",
"value": "DocPush.bpmn"
}
]
}
},
"response": []
},
{
"name": "获取流程部署列表/getDeployments",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processDefinition/getDeployments",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"getDeployments"
]
},
"description": "返回值的列:\r\nID、流程部署名称、创建时间"
},
"response": []
},
{
"name": "删除流程部署(同时删除定义)/delDefinition",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processDefinition/delDefinition?pdID=d82f0afd-bf4d-11ea-91e6-522b73dcbd6c",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processDefinition",
"delDefinition"
],
"query": [
{
"key": "pdID",
"value": "d82f0afd-bf4d-11ea-91e6-522b73dcbd6c"
}
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "3c91dac2-ab4e-4814-990e-63a796e770a5",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "51558b6a-79fc-4df5-b2db-996fdb7a2ea6",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {}
},
{
"name": "流程实例processInstance",
"item": [
{
"name": "获取流程实例列表-/getInstances",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processInstance/getInstances",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processInstance",
"getInstances"
]
},
"description": "列:\r\nID、流程实例名称、启动时间、状态"
},
"response": []
},
{
"name": "启动流程实例-/startProcess",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processInstance/startProcess?processDefinitionKey=Process_HouXuanRen&instanceName=流程实例名称-候选人0707&instanceVariable=流程实例内容描述-候选人",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processInstance",
"startProcess"
],
"query": [
{
"key": "processDefinitionKey",
"value": "Process_HouXuanRen"
},
{
"key": "instanceName",
"value": "流程实例名称-候选人0707"
},
{
"key": "instanceVariable",
"value": "流程实例内容描述-候选人"
}
]
}
},
"response": []
},
{
"name": "删除流程实例-/deleteInstance",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/psrocessInstance/deleteInstance?instanceID=e9923c17-b45b-11ea-8f13-dcfb4875e032",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"psrocessInstance",
"deleteInstance"
],
"query": [
{
"key": "instanceID",
"value": "e9923c17-b45b-11ea-8f13-dcfb4875e032"
}
]
}
},
"response": []
},
{
"name": "挂起流程实例-/suspendInstance",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processInstance/suspendInstance?instanceID=ed20d166-b46c-11ea-b93f-dcfb4875e032",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processInstance",
"suspendInstance"
],
"query": [
{
"key": "instanceID",
"value": "ed20d166-b46c-11ea-b93f-dcfb4875e032"
}
]
}
},
"response": []
},
{
"name": "激活流程实例-/deleteInstance",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processInstance/resumeInstance?instanceID=ed20d166-b46c-11ea-b93f-dcfb4875e032",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processInstance",
"resumeInstance"
],
"query": [
{
"key": "instanceID",
"value": "ed20d166-b46c-11ea-b93f-dcfb4875e032"
}
]
}
},
"response": []
},
{
"name": "获取流程参数-/variables",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/processInstance/variables?instanceID=43d08691-b9e5-11ea-8e0f-522b73dcbd6c",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"processInstance",
"variables"
],
"query": [
{
"key": "instanceID",
"value": "43d08691-b9e5-11ea-8e0f-522b73dcbd6c"
}
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "01c38a58-e456-41df-b726-99ebd292adfd",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "cea7a0e6-79bc-4e9c-9d28-91abd9534c57",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {}
},
{
"name": "任务task",
"item": [
{
"name": "我的待办任务-/getTasks",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/task/getTasks",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"task",
"getTasks"
]
}
},
"response": []
},
{
"name": "完成待办任务-/completeTask",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/task/completeTask?taskID=95fd3087-b9ec-11ea-a7fd-522b73dcbd6c",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"task",
"completeTask"
],
"query": [
{
"key": "taskID",
"value": "95fd3087-b9ec-11ea-a7fd-522b73dcbd6c"
}
]
}
},
"response": []
},
{
"name": "渲染表单/formDataShow",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/task/formDataShow?taskID=00e7b095-e02f-11ea-8503-fa163ee33758",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"task",
"formDataShow"
],
"query": [
{
"key": "taskID",
"value": "00e7b095-e02f-11ea-8503-fa163ee33758"
}
]
}
},
"response": []
},
{
"name": "保存表单/formDataSave",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"url": {
"raw": "http://localhost:8080/task/formDataSave?taskID=800a2f22-e039-11ea-9c37-dcfb4875e032&formData=FormProperty_0lovri0-_!不是参数-_!f!_!FormProperty_1iu6onu-_!18-_!s",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"task",
"formDataSave"
],
"query": [
{
"key": "taskID",
"value": "800a2f22-e039-11ea-9c37-dcfb4875e032"
},
{
"key": "formData",
"value": "FormProperty_0lovri0-_!不是参数-_!f!_!FormProperty_1iu6onu-_!18-_!s"
}
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "历史activitiHistory",
"item": [
{
"name": "用户历史任务-/getInstancesByUserName",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/activitiHistory/getInstancesByUserName",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"activitiHistory",
"getInstancesByUserName"
],
"query": [
{
"key": "userName",
"value": "wukong",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "实例历史任务-/getInstancesByPiID",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/activitiHistory/getInstancesByPiID?piID=d53a887c-bc50-11ea-8636-fa163ee33758",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"activitiHistory",
"getInstancesByPiID"
],
"query": [
{
"key": "piID",
"value": "d53a887c-bc50-11ea-8636-fa163ee33758"
}
]
}
},
"response": []
},
{
"name": "查看流程实例历史",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "$2a$10$gw46pmsOVYO.smHYQ2jH.OoXoe.lGP8OStDkHNs/E74GqZDL5K7ki",
"type": "string"
},
{
"key": "username",
"value": "wukong",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/activitiHistory/gethighLine?instanceId=1f2314cb-cefa-11ea-84aa-dcfb4875e032",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"activitiHistory",
"gethighLine"
],
"query": [
{
"key": "instanceId",
"value": "1f2314cb-cefa-11ea-84aa-dcfb4875e032"
}
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "af2d609b-0870-4dbc-8205-943f00e10eaf",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "1f1e1f2a-67fa-4cd7-9e9a-bf483486605a",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {}
},
{
"name": "测试",
"item": [
{
"name": "上传BPMN正式服务器",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "processFile",
"type": "file",
"src": "/D:/redmine/DocPush.bpmn"
}
],
"options": {
"formdata": {}
}
},
"url": {
"raw": "http://139.9.118.236:8080/processDefinition/upload",
"protocol": "http",
"host": [
"139",
"9",
"118",
"236"
],
"port": "8080",
"path": [
"processDefinition",
"upload"
]
}
},
"response": []
},
{
"name": "完成任务流程参数",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "processFile",
"type": "file",
"src": [],
"disabled": true
}
],
"options": {
"formdata": {}
}
},
"url": {
"raw": "http://localhost:8080/testcompleteTask?taskID=6217fa3b-d09e-11ea-83ac-dcfb4875e032",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"testcompleteTask"
],
"query": [
{
"key": "taskID",
"value": "6217fa3b-d09e-11ea-83ac-dcfb4875e032"
}
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}
],
"protocolProfileBehavior": {}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/alexyon/activiti7-workflow.git
git@gitee.com:alexyon/activiti7-workflow.git
alexyon
activiti7-workflow
activiti7-workflow
master

搜索帮助