activity.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804
  1. {
  2. "manual": {
  3. "process": "",
  4. "id": "",
  5. "name": "未命名",
  6. "alias": "",
  7. "description": "",
  8. "position": "",
  9. "createTime": "",
  10. "updateTime": "",
  11. "extension": "",
  12. "edition": "",
  13. "form": "",
  14. "beforeArriveScript": "", //工作到达前
  15. "beforeArriveScriptText": "",
  16. "afterArriveScript": "", //工作到达后
  17. "afterArriveScriptText": "",
  18. "beforeExecuteScript": "", //活动执行前
  19. "beforeExecuteScriptText": "",
  20. "afterExecuteScript": "", //活动执行后
  21. "afterExecuteScriptText": "",
  22. "beforeInquireScript": "", //路由查询前
  23. "beforeInquireScriptText": "",
  24. "afterInquireScript": "", //路由查询后
  25. "afterInquireScriptText": "",
  26. "manualBeforeTaskScript": "", //待办处理前
  27. "manualBeforeTaskScriptText": "",
  28. "manualAfterTaskScript": "", //待办处理后
  29. "manualAfterTaskScriptText": "",
  30. "manualStayScript": "", //等待人工处理时
  31. "manualStayScriptText": "",
  32. "routeList": [],
  33. "taskIdentityList": [],
  34. "taskUnitList": [],
  35. "taskDataPathList": [],
  36. "taskDuty": "",
  37. "taskScript": "",
  38. "taskScriptText": "",
  39. "readIdentityList": [],
  40. "readDepartmentList": [],
  41. "readDataPathList": [],
  42. "readDuty": "",
  43. "readScript": "",
  44. "readScriptText": "",
  45. "reviewIdentityList": [],
  46. "reviewDepartmentList": [],
  47. "reviewDataPathList": [],
  48. "reviewDuty": "",
  49. "reviewScript": "",
  50. "reviewScriptText": "",
  51. "manualMode":"single",
  52. "manualMergeSameJobActivity": false,
  53. "allowDeleteWork": false,
  54. "allowReroute": true,
  55. "allowRerouteTo": true,
  56. "allowReset": true,
  57. "allowAddTask": true,
  58. "allowRapid": false,
  59. "allowAddSplit": false,
  60. "allowRollback": false,
  61. "allowTerminate": false,
  62. "resetCount": "0",
  63. "resetRange": "department",
  64. "allowHang": false,
  65. "allowRetract": true,
  66. "allowGoBack": false,
  67. "group": "",
  68. "type": "manual",
  69. "taskExpireType": "never",
  70. "taskExpireDay": "3",
  71. "taskExpireHour": "0",
  72. "taskExpireWorkTime": true
  73. },
  74. "begin": {
  75. "process": "",
  76. "name":"开始",
  77. "id": "",
  78. "alias": "",
  79. "description": "",
  80. "position": "",
  81. "createTime": "",
  82. "updateTime": "",
  83. "extension": "",
  84. "edition": "",
  85. "form": "",
  86. "readIdentityList": [],
  87. "readUnitList": [],
  88. "readDataPathList": [],
  89. "readDuty": "",
  90. "readScript": "",
  91. "readScriptText": "",
  92. "reviewIdentityList": [],
  93. "reviewUnitList": [],
  94. "reviewDataPathList": [],
  95. "reviewDuty": "",
  96. "reviewScript": "",
  97. "reviewScriptText": "",
  98. "beforeArriveScript": "",
  99. "afterArriveScript": "",
  100. "beforeExecuteScript": "",
  101. "afterExecuteScript": "",
  102. "beforeInquireScript": "",
  103. "afterInquireScript": "",
  104. "beforeArriveScriptText": "",
  105. "afterArriveScriptText": "",
  106. "beforeExecuteScriptText": "",
  107. "afterExecuteScriptText": "",
  108. "beforeInquireScriptText": "",
  109. "afterInquireScriptText": "",
  110. "route": "",
  111. "allowReroute": false,
  112. "allowRerouteTo": false,
  113. "type": "begin"
  114. },
  115. "end": {
  116. "process": "",
  117. "name":"结束",
  118. "id": "",
  119. "alias": "",
  120. "description": "",
  121. "position": "",
  122. "createTime": "",
  123. "updateTime": "",
  124. "extension": "",
  125. "edition": "",
  126. "form": "",
  127. "readIdentityList": [],
  128. "readUnitList": [],
  129. "readDataPathList": [],
  130. "readDuty": "",
  131. "readScript": "",
  132. "readScriptText": "",
  133. "reviewIdentityList": [],
  134. "reviewUnitList": [],
  135. "reviewDataPathList": [],
  136. "reviewDuty": "",
  137. "reviewScript": "",
  138. "reviewScriptText": "",
  139. "beforeArriveScript": "",
  140. "afterArriveScript": "",
  141. "beforeExecuteScript": "",
  142. "afterExecuteScript": "",
  143. "beforeArriveScriptText": "",
  144. "afterArriveScriptText": "",
  145. "beforeExecuteScriptText": "",
  146. "afterExecuteScriptText": "",
  147. "allowReroute": false,
  148. "allowRerouteTo": false,
  149. "type": "end"
  150. },
  151. "cancel": {
  152. "process": "",
  153. "name":"取消",
  154. "id": "",
  155. "alias": "",
  156. "description": "",
  157. "position": "",
  158. "createTime": "",
  159. "updateTime": "",
  160. "extension": "",
  161. "edition": "",
  162. "form": "",
  163. "readIdentityList": [],
  164. "readUnitList": [],
  165. "readDataPathList": [],
  166. "readDuty": "",
  167. "readScript": "",
  168. "readScriptText": "",
  169. "reviewIdentityList": [],
  170. "reviewUnitList": [],
  171. "reviewDataPathList": [],
  172. "reviewDuty": "",
  173. "reviewScript": "",
  174. "reviewScriptText": "",
  175. "beforeArriveScript": "",
  176. "afterArriveScript": "",
  177. "beforeExecuteScript": "",
  178. "afterExecuteScript": "",
  179. "beforeArriveScriptText": "",
  180. "afterArriveScriptText": "",
  181. "beforeExecuteScriptText": "",
  182. "afterExecuteScriptText": "",
  183. "allowReroute": false,
  184. "allowRerouteTo": false,
  185. "type": "cancel"
  186. },
  187. "condition": {
  188. "name":"条件",
  189. "process": "",
  190. "id": "",
  191. "alias": "",
  192. "description": "",
  193. "position": "",
  194. "createTime": "",
  195. "updateTime": "",
  196. "extension": "",
  197. "edition": "",
  198. "form": "",
  199. "readIdentityList": [],
  200. "readUnitList": [],
  201. "readDataPathList": [],
  202. "readDuty": "",
  203. "readScript": "",
  204. "readScriptText": "",
  205. "reviewIdentityList": [],
  206. "reviewUnitList": [],
  207. "reviewDataPathList": [],
  208. "reviewDuty": "",
  209. "reviewScript": "",
  210. "reviewScriptText": "",
  211. "beforeArriveScript": "",
  212. "afterArriveScript": "",
  213. "beforeExecuteScript": "",
  214. "afterExecuteScript": "",
  215. "beforeInquireScript": "",
  216. "afterInquireScript": "",
  217. "beforeArriveScriptText": "",
  218. "afterArriveScriptText": "",
  219. "beforeExecuteScriptText": "",
  220. "afterExecuteScriptText": "",
  221. "beforeInquireScriptText": "",
  222. "afterInquireScriptText": "",
  223. "routeList": [],
  224. "script": "",
  225. "scriptText": "",
  226. "allowReroute": false,
  227. "allowRerouteTo": false,
  228. "type": "condition"
  229. },
  230. "choice": {
  231. "name":"选择",
  232. "process": "",
  233. "id": "",
  234. "alias": "",
  235. "description": "",
  236. "position": "",
  237. "createTime": "",
  238. "updateTime": "",
  239. "extension": "",
  240. "edition": "",
  241. "form": "",
  242. "readIdentityList": [],
  243. "readUnitList": [],
  244. "readDataPathList": [],
  245. "readDuty": "",
  246. "readScript": "",
  247. "readScriptText": "",
  248. "reviewIdentityList": [],
  249. "reviewUnitList": [],
  250. "reviewDataPathList": [],
  251. "reviewDuty": "",
  252. "reviewScript": "",
  253. "reviewScriptText": "",
  254. "beforeArriveScript": "",
  255. "afterArriveScript": "",
  256. "beforeExecuteScript": "",
  257. "afterExecuteScript": "",
  258. "beforeInquireScript": "",
  259. "afterInquireScript": "",
  260. "beforeArriveScriptText": "",
  261. "afterArriveScriptText": "",
  262. "beforeExecuteScriptText": "",
  263. "afterExecuteScriptText": "",
  264. "beforeInquireScriptText": "",
  265. "afterInquireScriptText": "",
  266. "routeList": [],
  267. "script": "",
  268. "scriptText": "",
  269. "allowReroute": false,
  270. "allowRerouteTo": false,
  271. "type": "choice"
  272. },
  273. "split": {
  274. "name":"拆分",
  275. "process": "",
  276. "id": "",
  277. "alias": "",
  278. "description": "",
  279. "position": "",
  280. "createTime": "",
  281. "updateTime": "",
  282. "extension": "",
  283. "edition": "",
  284. "form": "",
  285. "readIdentityList": [],
  286. "readUnitList": [],
  287. "readDataPathList": [],
  288. "readDuty": "",
  289. "readScript": "",
  290. "readScriptText": "",
  291. "reviewIdentityList": [],
  292. "reviewUnitList": [],
  293. "reviewDataPathList": [],
  294. "reviewDuty": "",
  295. "reviewScript": "",
  296. "reviewScriptText": "",
  297. "beforeArriveScript": "",
  298. "afterArriveScript": "",
  299. "beforeExecuteScript": "",
  300. "afterExecuteScript": "",
  301. "beforeInquireScript": "",
  302. "afterInquireScript": "",
  303. "beforeArriveScriptText": "",
  304. "afterArriveScriptText": "",
  305. "beforeExecuteScriptText": "",
  306. "afterExecuteScriptText": "",
  307. "beforeInquireScriptText": "",
  308. "afterInquireScriptText": "",
  309. "route": "",
  310. "allowReroute": false,
  311. "allowRerouteTo": false,
  312. "type": "split"
  313. },
  314. "parallel": {
  315. "name":"并行",
  316. "process": "",
  317. "id": "",
  318. "alias": "",
  319. "description": "",
  320. "position": "",
  321. "createTime": "",
  322. "updateTime": "",
  323. "extension": "",
  324. "edition": "",
  325. "form": "",
  326. "readIdentityList": [],
  327. "readUnitList": [],
  328. "readDataPathList": [],
  329. "readDuty": "",
  330. "readScript": "",
  331. "readScriptText": "",
  332. "reviewIdentityList": [],
  333. "reviewUnitList": [],
  334. "reviewDataPathList": [],
  335. "reviewDuty": "",
  336. "reviewScript": "",
  337. "reviewScriptText": "",
  338. "beforeArriveScript": "",
  339. "afterArriveScript": "",
  340. "beforeExecuteScript": "",
  341. "afterExecuteScript": "",
  342. "beforeInquireScript": "",
  343. "afterInquireScript": "",
  344. "beforeArriveScriptText": "",
  345. "afterArriveScriptText": "",
  346. "beforeExecuteScriptText": "",
  347. "afterExecuteScriptText": "",
  348. "beforeInquireScriptText": "",
  349. "afterInquireScriptText": "",
  350. "routeList": [],
  351. "allowReroute": false,
  352. "allowRerouteTo": false,
  353. "type": "parallel"
  354. },
  355. "merge": {
  356. "name":"合并",
  357. "process": "",
  358. "id": "",
  359. "alias": "",
  360. "description": "",
  361. "position": "",
  362. "createTime": "",
  363. "updateTime": "",
  364. "extension": "",
  365. "edition": "",
  366. "form": "",
  367. "readIdentityList": [],
  368. "readUnitList": [],
  369. "readDataPathList": [],
  370. "readDuty": "",
  371. "readScript": "",
  372. "readScriptText": "",
  373. "reviewIdentityList": [],
  374. "reviewUnitList": [],
  375. "reviewDataPathList": [],
  376. "reviewDuty": "",
  377. "reviewScript": "",
  378. "reviewScriptText": "",
  379. "beforeArriveScript": "",
  380. "afterArriveScript": "",
  381. "beforeExecuteScript": "",
  382. "afterExecuteScript": "",
  383. "beforeInquireScript": "",
  384. "afterInquireScript": "",
  385. "beforeArriveScriptText": "",
  386. "afterArriveScriptText": "",
  387. "beforeExecuteScriptText": "",
  388. "afterExecuteScriptText": "",
  389. "beforeInquireScriptText": "",
  390. "afterInquireScriptText": "",
  391. "route": "",
  392. "allowReroute": false,
  393. "allowRerouteTo": false,
  394. "type": "merge"
  395. },
  396. "invoke": {
  397. "name":"服务调用",
  398. "process": "",
  399. "id": "",
  400. "alias": "",
  401. "description": "",
  402. "position": "",
  403. "createTime": "",
  404. "updateTime": "",
  405. "extension": "",
  406. "edition": "",
  407. "form": "",
  408. "async": false,
  409. "readIdentityList": [],
  410. "readUnitList": [],
  411. "readDataPathList": [],
  412. "readDuty": "",
  413. "readScript": "",
  414. "readScriptText": "",
  415. "reviewIdentityList": [],
  416. "reviewUnitList": [],
  417. "reviewDataPathList": [],
  418. "reviewDuty": "",
  419. "reviewScript": "",
  420. "reviewScriptText": "",
  421. "beforeArriveScript": "",
  422. "afterArriveScript": "",
  423. "beforeExecuteScript": "",
  424. "afterExecuteScript": "",
  425. "beforeInquireScript": "",
  426. "afterInquireScript": "",
  427. "beforeArriveScriptText": "",
  428. "afterArriveScriptText": "",
  429. "beforeExecuteScriptText": "",
  430. "afterExecuteScriptText": "",
  431. "beforeInquireScriptText": "",
  432. "afterInquireScriptText": "",
  433. "route": "",
  434. // "script": "",
  435. // "scriptText": "",
  436. "invokeMode": "jaxrs", //jaxws, jaxrs
  437. "jaxwsAddress": "",
  438. "jaxwsMethod": "",
  439. "jaxwsParameterScript": "",
  440. "jaxwsParameterScriptText": "",
  441. "jaxwsResponseScript": "",
  442. "jaxwsResponseScriptText": "",
  443. "jaxrsAddress": "",
  444. "jaxrsMethod": "GET",
  445. "jaxrsContentType": "",
  446. "jaxrsParameterScript": "",
  447. "jaxrsParameterScriptText": "",
  448. "jaxrsBodyScript": "",
  449. "jaxrsBodyScriptText": "",
  450. "jaxrsResponseScript": "",
  451. "jaxrsResponseScriptText": "",
  452. "allowReroute": false,
  453. "allowRerouteTo": false,
  454. "type": "invoke"
  455. },
  456. "agent": {
  457. "name":"脚本",
  458. "process": "",
  459. "id": "",
  460. "alias": "",
  461. "description": "",
  462. "position": "",
  463. "createTime": "",
  464. "updateTime": "",
  465. "extension": "",
  466. "edition": "",
  467. "form": "",
  468. "readIdentityList": [],
  469. "readUnitList": [],
  470. "readDataPathList": [],
  471. "readDuty": "",
  472. "readScript": "",
  473. "readScriptText": "",
  474. "reviewIdentityList": [],
  475. "reviewUnitList": [],
  476. "reviewDataPathList": [],
  477. "reviewDuty": "",
  478. "reviewScript": "",
  479. "reviewScriptText": "",
  480. "beforeArriveScript": "",
  481. "afterArriveScript": "",
  482. "beforeExecuteScript": "",
  483. "afterExecuteScript": "",
  484. "beforeInquireScript": "",
  485. "afterInquireScript": "",
  486. "beforeArriveScriptText": "",
  487. "afterArriveScriptText": "",
  488. "beforeExecuteScriptText": "",
  489. "afterExecuteScriptText": "",
  490. "beforeInquireScriptText": "",
  491. "afterInquireScriptText": "",
  492. "route": "",
  493. "script": "",
  494. "scriptText": "",
  495. "allowReroute": false,
  496. "allowRerouteTo": false,
  497. "type": "agent"
  498. },
  499. "service": {
  500. "name":"服务",
  501. "alias":"",
  502. "description":"",
  503. "position":"",
  504. "decisionIdList":[],
  505. "id":"",
  506. "version":1,
  507. "createTime":"",
  508. "edition": "",
  509. "type": "service",
  510. "beforeArriveScript": "",
  511. "afterArriveScript": "",
  512. "beforeExecuteScript": "",
  513. "afterExecuteScript": "",
  514. "afterInquireScript": ""
  515. },
  516. // "message": {
  517. // "name":"消息",
  518. // "alias":"",
  519. // "description":"",
  520. // "position":"",
  521. // "decisionIdList":[],
  522. // "id":"",
  523. // "version":1,
  524. // "createTime":"",
  525. // "type": "message",
  526. //
  527. // "beforeArriveScript": "",
  528. // "afterArriveScript": "",
  529. // "beforeExecuteScript": "",
  530. // "afterExecuteScript": "",
  531. // "afterInquireScript": ""
  532. // },
  533. "embed": {
  534. "name":"流程调用",
  535. "process": "",
  536. "id": "",
  537. "alias": "",
  538. "description": "",
  539. "position": "",
  540. "createTime": "",
  541. "updateTime": "",
  542. "extension": "",
  543. "edition": "",
  544. "form": "",
  545. "async": false,
  546. "readIdentityList": [],
  547. "readUnitList": [],
  548. "readDataPathList": [],
  549. "readDuty": "",
  550. "readScript": "",
  551. "readScriptText": "",
  552. "reviewIdentityList": [],
  553. "reviewUnitList": [],
  554. "reviewDataPathList": [],
  555. "reviewDuty": "",
  556. "reviewScript": "",
  557. "reviewScriptText": "",
  558. "beforeArriveScript": "",
  559. "afterArriveScript": "",
  560. "beforeExecuteScript": "",
  561. "afterExecuteScript": "",
  562. "beforeInquireScript": "",
  563. "afterInquireScript": "",
  564. "beforeArriveScriptText": "",
  565. "afterArriveScriptText": "",
  566. "beforeExecuteScriptText": "",
  567. "afterExecuteScriptText": "",
  568. "beforeInquireScriptText": "",
  569. "afterInquireScriptText": "",
  570. "route": "",
  571. "targetApplication": "",
  572. "targetApplicationName": "",
  573. "targetApplicationAlias": "",
  574. "targetProcess": "",
  575. "targetProcessName": "",
  576. "targetProcessAlias": "",
  577. "inheritData": true,
  578. "embedCreatorType": "lastIdentity",
  579. "targetIdentity": "",
  580. "targetIdentityScript": "",
  581. "targetIdentityScriptText": "",
  582. "titleScript": "",
  583. "titleScriptText": "",
  584. "allowReroute": false,
  585. "allowRerouteTo": false,
  586. "type": "embed"
  587. },
  588. "publish": {
  589. "name":"数据发布",
  590. "process": "",
  591. "id": "",
  592. "alias": "",
  593. "description": "",
  594. "position": "",
  595. "createTime": "",
  596. "updateTime": "",
  597. "extension": "",
  598. "edition": "",
  599. "form": "",
  600. "async": false,
  601. "readIdentityList": [],
  602. "readUnitList": [],
  603. "readDataPathList": [],
  604. "readDuty": "",
  605. "readScript": "",
  606. "readScriptText": "",
  607. "reviewIdentityList": [],
  608. "reviewUnitList": [],
  609. "reviewDataPathList": [],
  610. "reviewDuty": "",
  611. "reviewScript": "",
  612. "reviewScriptText": "",
  613. "beforeArriveScript": "",
  614. "afterArriveScript": "",
  615. "beforeExecuteScript": "",
  616. "afterExecuteScript": "",
  617. "beforeInquireScript": "",
  618. "afterInquireScript": "",
  619. "beforeArriveScriptText": "",
  620. "afterArriveScriptText": "",
  621. "beforeExecuteScriptText": "",
  622. "afterExecuteScriptText": "",
  623. "beforeInquireScriptText": "",
  624. "afterInquireScriptText": "",
  625. "route": "",
  626. "targetApplication": "",
  627. "targetApplicationName": "",
  628. "targetApplicationAlias": "",
  629. "targetProcess": "",
  630. "targetProcessName": "",
  631. "targetProcessAlias": "",
  632. "categoryIdDataPath": "cmsDocument.categoryId",
  633. "useProcessForm": false,
  634. "inheritAttachment": true,
  635. "titleDataPath": "subject",
  636. "readerDataPathList": "publishFor",
  637. "authorDataPathList": "",
  638. "pictureDataPathList": "imageclipper",
  639. "notifyDataPathList": "publishFor",
  640. "titleScript": "",
  641. "titleScriptText": "",
  642. "allowReroute": false,
  643. "allowRerouteTo": false,
  644. "type": "publish"
  645. },
  646. "delay": {
  647. "name":"定时",
  648. "alias":"",
  649. "description":"",
  650. "position":"",
  651. "decisionIdList":[],
  652. "id":"",
  653. "version":1,
  654. "createTime":"",
  655. "updateTime": "",
  656. "sequence": "",
  657. "process": "",
  658. "type": "delay",
  659. "form": "",
  660. "edition": "",
  661. "extension": "",
  662. "readIdentityList": [],
  663. "readUnitList": [],
  664. "readDataPathList": [],
  665. "readDuty": "",
  666. "readScript": "",
  667. "readScriptText": "",
  668. "reviewIdentityList": [],
  669. "reviewUnitList": [],
  670. "reviewDataPathList": [],
  671. "reviewDuty": "",
  672. "reviewScript": "",
  673. "reviewScriptText": "",
  674. "beforeArriveScript": "",
  675. "afterArriveScript": "",
  676. "beforeExecuteScript": "",
  677. "afterExecuteScript": "",
  678. "beforeInquireScript": "",
  679. "afterInquireScript": "",
  680. "beforeArriveScriptText": "",
  681. "afterArriveScriptText": "",
  682. "beforeExecuteScriptText": "",
  683. "afterExecuteScriptText": "",
  684. "beforeInquireScriptText": "",
  685. "afterInquireScriptText": "",
  686. "route": "",
  687. "allowReroute": false,
  688. "allowRerouteTo": false,
  689. "delayType": "minute", //until, minute;
  690. "delayTime": "",
  691. "delayDataPath": "",
  692. "delayScript": "",
  693. "delayScriptText": "",
  694. "delayMinute": "",
  695. "workMinute": true
  696. }
  697. }