flowable.ts 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250
  1. export default {
  2. 'name': 'Flowable',
  3. 'uri': 'http://flowable.org/bpmn',
  4. 'prefix': 'flowable',
  5. 'xml': {
  6. 'tagAlias': 'lowerCase'
  7. },
  8. 'associations': [],
  9. 'types': [
  10. {
  11. 'name': 'flowable:extCandidateUsers',
  12. 'isAbstract': true,
  13. 'extends': [],
  14. 'superClass': ['Element'],
  15. 'meta': {
  16. 'allowedIn': ['*']
  17. },
  18. 'properties': [
  19. {
  20. 'name': 'body',
  21. 'type': 'String',
  22. 'isBody': true
  23. }
  24. ]
  25. },
  26. {
  27. 'name': 'flowable:extAssignee',
  28. 'isAbstract': true,
  29. 'extends': [],
  30. 'superClass': ['Element'],
  31. 'meta': {
  32. 'allowedIn': ['*']
  33. },
  34. 'properties': [
  35. {
  36. 'name': 'body',
  37. 'type': 'String',
  38. 'isBody': true
  39. }
  40. ]
  41. },
  42. {
  43. 'name': 'flowable:property',
  44. 'superClass': ['Element'],
  45. 'properties': [
  46. {
  47. 'name': 'id',
  48. 'isAttr': true,
  49. 'type': 'String'
  50. },
  51. {
  52. 'name': 'name',
  53. 'isAttr': true,
  54. 'type': 'String'
  55. },
  56. {
  57. 'name': 'value',
  58. 'isAttr': true,
  59. 'type': 'String'
  60. }
  61. ]
  62. },
  63. {
  64. 'name': 'flowable:properties',
  65. 'isAbstract': true,
  66. 'extends': [],
  67. 'superClass': ['Element'],
  68. 'meta': {
  69. 'allowedIn': ['*']
  70. },
  71. 'properties': [
  72. {
  73. 'name': 'values',
  74. 'type': 'flowable:property',
  75. 'isMany': true
  76. }
  77. ]
  78. },
  79. {
  80. 'name': 'InOutBinding',
  81. 'superClass': ['Element'],
  82. 'isAbstract': true,
  83. 'properties': [
  84. {
  85. 'name': 'source',
  86. 'isAttr': true,
  87. 'type': 'String'
  88. },
  89. {
  90. 'name': 'sourceExpression',
  91. 'isAttr': true,
  92. 'type': 'String'
  93. },
  94. {
  95. 'name': 'target',
  96. 'isAttr': true,
  97. 'type': 'String'
  98. },
  99. {
  100. 'name': 'businessKey',
  101. 'isAttr': true,
  102. 'type': 'String'
  103. },
  104. {
  105. 'name': 'local',
  106. 'isAttr': true,
  107. 'type': 'Boolean',
  108. 'default': false
  109. },
  110. {
  111. 'name': 'variables',
  112. 'isAttr': true,
  113. 'type': 'String'
  114. }
  115. ]
  116. },
  117. {
  118. 'name': 'In',
  119. 'superClass': ['InOutBinding'],
  120. 'meta': {
  121. 'allowedIn': ['bpmn:CallActivity']
  122. }
  123. },
  124. {
  125. 'name': 'Out',
  126. 'superClass': ['InOutBinding'],
  127. 'meta': {
  128. 'allowedIn': ['bpmn:CallActivity']
  129. }
  130. },
  131. {
  132. 'name': 'AsyncCapable',
  133. 'isAbstract': true,
  134. 'extends': ['bpmn:Activity', 'bpmn:Gateway', 'bpmn:Event'],
  135. 'properties': [
  136. {
  137. 'name': 'async',
  138. 'isAttr': true,
  139. 'type': 'Boolean',
  140. 'default': false
  141. },
  142. {
  143. 'name': 'asyncBefore',
  144. 'isAttr': true,
  145. 'type': 'Boolean',
  146. 'default': false
  147. },
  148. {
  149. 'name': 'asyncAfter',
  150. 'isAttr': true,
  151. 'type': 'Boolean',
  152. 'default': false
  153. },
  154. {
  155. 'name': 'exclusive',
  156. 'isAttr': true,
  157. 'type': 'Boolean',
  158. 'default': true
  159. }
  160. ]
  161. },
  162. {
  163. 'name': 'flowable:in',
  164. 'superClass': ['Element'],
  165. 'properties': [
  166. {
  167. 'name': 'source',
  168. 'type': 'string',
  169. 'isAttr': true
  170. },
  171. {
  172. 'name': 'target',
  173. 'type': 'string',
  174. 'isAttr': true
  175. }
  176. ]
  177. },
  178. {
  179. 'name': 'flowable:out',
  180. 'superClass': ['Element'],
  181. 'properties': [
  182. {
  183. 'name': 'source',
  184. 'type': 'string',
  185. 'isAttr': true
  186. },
  187. {
  188. 'name': 'target',
  189. 'type': 'string',
  190. 'isAttr': true
  191. }
  192. ]
  193. },
  194. {
  195. 'name': 'BoundaryEvent',
  196. 'superClass': ['CatchEvent'],
  197. 'properties': [
  198. {
  199. 'name': 'cancelActivity',
  200. 'default': true,
  201. 'isAttr': true,
  202. 'type': 'Boolean'
  203. },
  204. {
  205. 'name': 'attachedToRef',
  206. 'type': 'Activity',
  207. 'isAttr': true,
  208. 'isReference': true
  209. }
  210. ]
  211. },
  212. {
  213. 'name': 'JobPriorized',
  214. 'isAbstract': true,
  215. 'extends': ['bpmn:Process', 'flowable:AsyncCapable'],
  216. 'properties': [
  217. {
  218. 'name': 'jobPriority',
  219. 'isAttr': true,
  220. 'type': 'String'
  221. }
  222. ]
  223. },
  224. {
  225. 'name': 'SignalEventDefinition',
  226. 'isAbstract': true,
  227. 'extends': ['bpmn:SignalEventDefinition'],
  228. 'properties': [
  229. {
  230. 'name': 'async',
  231. 'isAttr': true,
  232. 'type': 'Boolean',
  233. 'default': false
  234. }
  235. ]
  236. },
  237. {
  238. 'name': 'ErrorEventDefinition',
  239. 'isAbstract': true,
  240. 'extends': ['bpmn:ErrorEventDefinition'],
  241. 'properties': [
  242. {
  243. 'name': 'errorCodeVariable',
  244. 'isAttr': true,
  245. 'type': 'String'
  246. },
  247. {
  248. 'name': 'errorMessageVariable',
  249. 'isAttr': true,
  250. 'type': 'String'
  251. }
  252. ]
  253. },
  254. {
  255. 'name': 'Error',
  256. 'isAbstract': true,
  257. 'extends': ['bpmn:Error'],
  258. 'properties': [
  259. {
  260. 'name': 'flowable:errorMessage',
  261. 'isAttr': true,
  262. 'type': 'String'
  263. }
  264. ]
  265. },
  266. {
  267. 'name': 'PotentialStarter',
  268. 'superClass': ['Element'],
  269. 'properties': [
  270. {
  271. 'name': 'resourceAssignmentExpression',
  272. 'type': 'bpmn:ResourceAssignmentExpression'
  273. }
  274. ]
  275. },
  276. {
  277. 'name': 'UserTask',
  278. 'isAbstract': true,
  279. 'extends': ['bpmn:UserTask'],
  280. 'properties': [
  281. {
  282. 'name': 'timerEventDefinition',
  283. 'type': 'Expression'
  284. },
  285. {
  286. 'name': 'multiInstanceLoopCharacteristics',
  287. 'type': 'MultiInstanceLoopCharacteristics'
  288. }
  289. ]
  290. },
  291. {
  292. 'name': 'StartEvent',
  293. 'isAbstract': true,
  294. 'extends': ['bpmn:StartEvent'],
  295. 'properties': [
  296. {
  297. 'name': 'timerEventDefinition',
  298. 'type': 'Expression'
  299. }
  300. ]
  301. },
  302. {
  303. 'name': 'FormSupported',
  304. 'isAbstract': true,
  305. 'extends': ['bpmn:StartEvent', 'bpmn:UserTask'],
  306. 'properties': [
  307. {
  308. 'name': 'formHandlerClass',
  309. 'isAttr': true,
  310. 'type': 'String'
  311. },
  312. {
  313. 'name': 'formKey',
  314. 'isAttr': true,
  315. 'type': 'String'
  316. }
  317. ]
  318. },
  319. {
  320. 'name': 'TemplateSupported',
  321. 'isAbstract': true,
  322. 'extends': ['bpmn:Process', 'bpmn:FlowElement'],
  323. 'properties': [
  324. {
  325. 'name': 'modelerTemplate',
  326. 'isAttr': true,
  327. 'type': 'String'
  328. }
  329. ]
  330. },
  331. {
  332. 'name': 'Initiator',
  333. 'isAbstract': true,
  334. 'extends': ['bpmn:StartEvent'],
  335. 'properties': [
  336. {
  337. 'name': 'initiator',
  338. 'isAttr': true,
  339. 'type': 'String'
  340. }
  341. ]
  342. },
  343. {
  344. 'name': 'ScriptTask',
  345. 'isAbstract': true,
  346. 'extends': ['bpmn:ScriptTask'],
  347. 'properties': [
  348. {
  349. 'name': 'resultVariable',
  350. 'isAttr': true,
  351. 'type': 'String'
  352. },
  353. {
  354. 'name': 'resource',
  355. 'isAttr': true,
  356. 'type': 'String'
  357. }
  358. ]
  359. },
  360. {
  361. 'name': 'Process',
  362. 'isAbstract': true,
  363. 'extends': ['bpmn:Process'],
  364. 'properties': [
  365. {
  366. 'name': 'candidateStarterGroups',
  367. 'isAttr': true,
  368. 'type': 'String'
  369. },
  370. {
  371. 'name': 'candidateStarterUsers',
  372. 'isAttr': true,
  373. 'type': 'String'
  374. },
  375. {
  376. 'name': 'versionTag',
  377. 'isAttr': true,
  378. 'type': 'String'
  379. },
  380. {
  381. 'name': 'historyTimeToLive',
  382. 'isAttr': true,
  383. 'type': 'String'
  384. },
  385. {
  386. 'name': 'isStartableInTasklist',
  387. 'isAttr': true,
  388. 'type': 'Boolean',
  389. 'default': true
  390. }
  391. ]
  392. },
  393. {
  394. 'name': 'EscalationEventDefinition',
  395. 'isAbstract': true,
  396. 'extends': ['bpmn:EscalationEventDefinition'],
  397. 'properties': [
  398. {
  399. 'name': 'escalationCodeVariable',
  400. 'isAttr': true,
  401. 'type': 'String'
  402. }
  403. ]
  404. },
  405. {
  406. 'name': 'FormalExpression',
  407. 'isAbstract': true,
  408. 'extends': ['bpmn:FormalExpression'],
  409. 'properties': [
  410. {
  411. 'name': 'resource',
  412. 'isAttr': true,
  413. 'type': 'String'
  414. }
  415. ]
  416. },
  417. {
  418. 'name': 'Assignable',
  419. 'extends': ['bpmn:UserTask'],
  420. 'properties': [
  421. {
  422. 'name': 'candidateGroups',
  423. 'isAttr': true,
  424. 'type': 'String'
  425. },
  426. {
  427. 'name': 'dueDate',
  428. 'isAttr': true,
  429. 'type': 'String'
  430. },
  431. {
  432. 'name': 'followUpDate',
  433. 'isAttr': true,
  434. 'type': 'String'
  435. },
  436. {
  437. 'name': 'priority',
  438. 'isAttr': true,
  439. 'type': 'String'
  440. }
  441. ]
  442. },
  443. {
  444. 'name': 'CallActivity',
  445. 'extends': ['bpmn:CallActivity'],
  446. 'properties': [
  447. {
  448. 'name': 'calledElementBinding',
  449. 'isAttr': true,
  450. 'type': 'String',
  451. 'default': 'latest'
  452. },
  453. {
  454. 'name': 'calledElementVersion',
  455. 'isAttr': true,
  456. 'type': 'String'
  457. },
  458. {
  459. 'name': 'calledElementVersionTag',
  460. 'isAttr': true,
  461. 'type': 'String'
  462. },
  463. {
  464. 'name': 'calledElementTenantId',
  465. 'isAttr': true,
  466. 'type': 'String'
  467. },
  468. {
  469. 'name': 'caseRef',
  470. 'isAttr': true,
  471. 'type': 'String'
  472. },
  473. {
  474. 'name': 'caseBinding',
  475. 'isAttr': true,
  476. 'type': 'String',
  477. 'default': 'latest'
  478. },
  479. {
  480. 'name': 'caseVersion',
  481. 'isAttr': true,
  482. 'type': 'String'
  483. },
  484. {
  485. 'name': 'caseTenantId',
  486. 'isAttr': true,
  487. 'type': 'String'
  488. },
  489. {
  490. 'name': 'variableMappingClass',
  491. 'isAttr': true,
  492. 'type': 'String'
  493. },
  494. {
  495. 'name': 'variableMappingDelegateExpression',
  496. 'isAttr': true,
  497. 'type': 'String'
  498. }
  499. ]
  500. },
  501. {
  502. 'name': 'ServiceTaskLike',
  503. 'extends': ['bpmn:ServiceTask', 'bpmn:BusinessRuleTask', 'bpmn:SendTask', 'bpmn:MessageEventDefinition'],
  504. 'properties': [
  505. {
  506. 'name': 'expression',
  507. 'isAttr': true,
  508. 'type': 'String'
  509. },
  510. {
  511. 'name': 'class',
  512. 'isAttr': true,
  513. 'type': 'String'
  514. },
  515. {
  516. 'name': 'delegateExpression',
  517. 'isAttr': true,
  518. 'type': 'String'
  519. },
  520. {
  521. 'name': 'resultVariable',
  522. 'isAttr': true,
  523. 'type': 'String'
  524. }
  525. ]
  526. },
  527. {
  528. 'name': 'ExclusiveGateway',
  529. 'isAbstract': true,
  530. 'extends': ['bpmn:ExclusiveGateway'],
  531. 'properties': [
  532. {
  533. 'name': 'serviceClass',
  534. 'isAttr': true,
  535. 'type': 'String'
  536. }
  537. ]
  538. },
  539. {
  540. 'name': 'DmnCapable',
  541. 'extends': ['bpmn:BusinessRuleTask'],
  542. 'properties': [
  543. {
  544. 'name': 'decisionRef',
  545. 'isAttr': true,
  546. 'type': 'String'
  547. },
  548. {
  549. 'name': 'decisionRefBinding',
  550. 'isAttr': true,
  551. 'type': 'String',
  552. 'default': 'latest'
  553. },
  554. {
  555. 'name': 'decisionRefVersion',
  556. 'isAttr': true,
  557. 'type': 'String'
  558. },
  559. {
  560. 'name': 'mapDecisionResult',
  561. 'isAttr': true,
  562. 'type': 'String',
  563. 'default': 'resultList'
  564. },
  565. {
  566. 'name': 'decisionRefTenantId',
  567. 'isAttr': true,
  568. 'type': 'String'
  569. }
  570. ]
  571. },
  572. {
  573. 'name': 'ExternalCapable',
  574. 'extends': ['flowable:ServiceTaskLike'],
  575. 'properties': [
  576. {
  577. 'name': 'type',
  578. 'isAttr': true,
  579. 'type': 'String'
  580. },
  581. {
  582. 'name': 'topic',
  583. 'isAttr': true,
  584. 'type': 'String'
  585. }
  586. ]
  587. },
  588. {
  589. 'name': 'TaskPriorized',
  590. 'extends': ['bpmn:Process', 'flowable:ExternalCapable'],
  591. 'properties': [
  592. {
  593. 'name': 'taskPriority',
  594. 'isAttr': true,
  595. 'type': 'String'
  596. }
  597. ]
  598. },
  599. {
  600. 'name': 'Properties',
  601. 'superClass': ['Element'],
  602. 'meta': {
  603. 'allowedIn': ['*']
  604. },
  605. 'properties': [
  606. {
  607. 'name': 'values',
  608. 'type': 'Property',
  609. 'isMany': true
  610. }
  611. ]
  612. },
  613. {
  614. 'name': 'Property',
  615. 'superClass': ['Element'],
  616. 'properties': [
  617. {
  618. 'name': 'id',
  619. 'type': 'String',
  620. 'isAttr': true
  621. },
  622. {
  623. 'name': 'name',
  624. 'type': 'String',
  625. 'isAttr': true
  626. },
  627. {
  628. 'name': 'value',
  629. 'type': 'String',
  630. 'isAttr': true
  631. }
  632. ]
  633. },
  634. {
  635. 'name': 'Connector',
  636. 'superClass': ['Element'],
  637. 'meta': {
  638. 'allowedIn': ['flowable:ServiceTaskLike']
  639. },
  640. 'properties': [
  641. {
  642. 'name': 'inputOutput',
  643. 'type': 'InputOutput'
  644. },
  645. {
  646. 'name': 'connectorId',
  647. 'type': 'String'
  648. }
  649. ]
  650. },
  651. {
  652. 'name': 'InputOutput',
  653. 'superClass': ['Element'],
  654. 'meta': {
  655. 'allowedIn': ['bpmn:FlowNode', 'flowable:Connector']
  656. },
  657. 'properties': [
  658. {
  659. 'name': 'inputOutput',
  660. 'type': 'InputOutput'
  661. },
  662. {
  663. 'name': 'connectorId',
  664. 'type': 'String'
  665. },
  666. {
  667. 'name': 'inputParameters',
  668. 'isMany': true,
  669. 'type': 'InputParameter'
  670. },
  671. {
  672. 'name': 'outputParameters',
  673. 'isMany': true,
  674. 'type': 'OutputParameter'
  675. }
  676. ]
  677. },
  678. {
  679. 'name': 'InputOutputParameter',
  680. 'properties': [
  681. {
  682. 'name': 'name',
  683. 'isAttr': true,
  684. 'type': 'String'
  685. },
  686. {
  687. 'name': 'value',
  688. 'isBody': true,
  689. 'type': 'String'
  690. },
  691. {
  692. 'name': 'definition',
  693. 'type': 'InputOutputParameterDefinition'
  694. }
  695. ]
  696. },
  697. {
  698. 'name': 'InputOutputParameterDefinition',
  699. 'isAbstract': true
  700. },
  701. {
  702. 'name': 'List',
  703. 'superClass': ['InputOutputParameterDefinition'],
  704. 'properties': [
  705. {
  706. 'name': 'items',
  707. 'isMany': true,
  708. 'type': 'InputOutputParameterDefinition'
  709. }
  710. ]
  711. },
  712. {
  713. 'name': 'Map',
  714. 'superClass': ['InputOutputParameterDefinition'],
  715. 'properties': [
  716. {
  717. 'name': 'entries',
  718. 'isMany': true,
  719. 'type': 'Entry'
  720. }
  721. ]
  722. },
  723. {
  724. 'name': 'Entry',
  725. 'properties': [
  726. {
  727. 'name': 'key',
  728. 'isAttr': true,
  729. 'type': 'String'
  730. },
  731. {
  732. 'name': 'value',
  733. 'isBody': true,
  734. 'type': 'String'
  735. },
  736. {
  737. 'name': 'definition',
  738. 'type': 'InputOutputParameterDefinition'
  739. }
  740. ]
  741. },
  742. {
  743. 'name': 'Value',
  744. 'superClass': ['InputOutputParameterDefinition'],
  745. 'properties': [
  746. {
  747. 'name': 'id',
  748. 'isAttr': true,
  749. 'type': 'String'
  750. },
  751. {
  752. 'name': 'name',
  753. 'isAttr': true,
  754. 'type': 'String'
  755. },
  756. {
  757. 'name': 'value',
  758. 'isBody': true,
  759. 'type': 'String'
  760. }
  761. ]
  762. },
  763. {
  764. 'name': 'Script',
  765. 'superClass': ['InputOutputParameterDefinition'],
  766. 'properties': [
  767. {
  768. 'name': 'scriptFormat',
  769. 'isAttr': true,
  770. 'type': 'String'
  771. },
  772. {
  773. 'name': 'resource',
  774. 'isAttr': true,
  775. 'type': 'String'
  776. },
  777. {
  778. 'name': 'value',
  779. 'isBody': true,
  780. 'type': 'String'
  781. }
  782. ]
  783. },
  784. {
  785. 'name': 'Field',
  786. 'superClass': ['Element'],
  787. 'meta': {
  788. 'allowedIn': ['flowable:ServiceTaskLike', 'flowable:ExecutionListener', 'flowable:TaskListener']
  789. },
  790. 'properties': [
  791. {
  792. 'name': 'name',
  793. 'isAttr': true,
  794. 'type': 'String'
  795. },
  796. {
  797. 'name': 'expression',
  798. 'isAttr': true,
  799. 'type': 'expression'
  800. },
  801. {
  802. 'name': 'string',
  803. 'type': 'string'
  804. },
  805. {
  806. 'name': 'stringValue',
  807. 'isAttr': true,
  808. 'type': 'String'
  809. }
  810. ]
  811. },
  812. {
  813. 'name': 'string',
  814. 'superClass': ['Element'],
  815. 'meta': {
  816. 'allowedIn': ['flowable:Field']
  817. },
  818. 'properties': [
  819. {
  820. 'name': 'body',
  821. 'isBody': true,
  822. 'type': 'String'
  823. }
  824. ]
  825. },
  826. {
  827. 'name': 'expression',
  828. 'superClass': ['Element'],
  829. 'meta': {
  830. 'allowedIn': ['flowable:Field']
  831. },
  832. 'properties': [
  833. {
  834. 'name': 'body',
  835. 'isBody': true,
  836. 'type': 'String'
  837. }
  838. ]
  839. },
  840. {
  841. 'name': 'InputParameter',
  842. 'superClass': ['InputOutputParameter']
  843. },
  844. {
  845. 'name': 'OutputParameter',
  846. 'superClass': ['InputOutputParameter']
  847. },
  848. {
  849. 'name': 'Collectable',
  850. 'isAbstract': true,
  851. 'extends': ['bpmn:MultiInstanceLoopCharacteristics'],
  852. 'superClass': ['flowable:AsyncCapable'],
  853. 'properties': [
  854. {
  855. 'name': 'collection',
  856. 'isAttr': true,
  857. 'type': 'String'
  858. },
  859. {
  860. 'name': 'elementVariable',
  861. 'isAttr': true,
  862. 'type': 'String'
  863. }
  864. ]
  865. },
  866. {
  867. 'name': 'SequenceFlow',
  868. 'superClass': ['FlowElement'],
  869. 'properties': [
  870. {
  871. 'name': 'isImmediate',
  872. 'isAttr': true,
  873. 'type': 'Boolean'
  874. },
  875. {
  876. 'name': 'conditionExpression',
  877. 'type': 'Expression'
  878. },
  879. {
  880. 'name': 'sourceRef',
  881. 'type': 'FlowNode',
  882. 'isAttr': true,
  883. 'isReference': true
  884. },
  885. {
  886. 'name': 'targetRef',
  887. 'type': 'FlowNode',
  888. 'isAttr': true,
  889. 'isReference': true
  890. }
  891. ]
  892. },
  893. {
  894. 'name': 'MultiInstanceLoopCharacteristics',
  895. 'superClass': ['LoopCharacteristics'],
  896. 'properties': [
  897. {
  898. 'name': 'isSequential',
  899. 'default': false,
  900. 'isAttr': true,
  901. 'type': 'Boolean'
  902. },
  903. {
  904. 'name': 'behavior',
  905. 'type': 'MultiInstanceBehavior',
  906. 'default': 'All',
  907. 'isAttr': true
  908. },
  909. {
  910. 'name': 'loopCardinality',
  911. 'type': 'Expression',
  912. 'xml': {
  913. 'serialize': 'xsi:type'
  914. }
  915. },
  916. {
  917. 'name': 'loopDataInputRef',
  918. 'type': 'ItemAwareElement',
  919. 'isReference': true
  920. },
  921. {
  922. 'name': 'loopDataOutputRef',
  923. 'type': 'ItemAwareElement',
  924. 'isReference': true
  925. },
  926. {
  927. 'name': 'inputDataItem',
  928. 'type': 'DataInput',
  929. 'xml': {
  930. 'serialize': 'property'
  931. }
  932. },
  933. {
  934. 'name': 'outputDataItem',
  935. 'type': 'DataOutput',
  936. 'xml': {
  937. 'serialize': 'property'
  938. }
  939. },
  940. {
  941. 'name': 'complexBehaviorDefinition',
  942. 'type': 'ComplexBehaviorDefinition',
  943. 'isMany': true
  944. },
  945. {
  946. 'name': 'completionCondition',
  947. 'type': 'Expression',
  948. 'xml': {
  949. 'serialize': 'xsi:type'
  950. }
  951. },
  952. {
  953. 'name': 'oneBehaviorEventRef',
  954. 'type': 'EventDefinition',
  955. 'isAttr': true,
  956. 'isReference': true
  957. },
  958. {
  959. 'name': 'noneBehaviorEventRef',
  960. 'type': 'EventDefinition',
  961. 'isAttr': true,
  962. 'isReference': true
  963. }
  964. ]
  965. },
  966. {
  967. 'name': 'FailedJobRetryTimeCycle',
  968. 'superClass': ['Element'],
  969. 'meta': {
  970. 'allowedIn': ['flowable:AsyncCapable', 'bpmn:MultiInstanceLoopCharacteristics']
  971. },
  972. 'properties': [
  973. {
  974. 'name': 'body',
  975. 'isBody': true,
  976. 'type': 'String'
  977. }
  978. ]
  979. },
  980. {
  981. 'name': 'ExecutionListener',
  982. 'superClass': ['Element'],
  983. 'meta': {
  984. 'allowedIn': [
  985. 'bpmn:Task',
  986. 'bpmn:ServiceTask',
  987. 'bpmn:UserTask',
  988. 'bpmn:BusinessRuleTask',
  989. 'bpmn:ScriptTask',
  990. 'bpmn:ReceiveTask',
  991. 'bpmn:ManualTask',
  992. 'bpmn:ExclusiveGateway',
  993. 'bpmn:SequenceFlow',
  994. 'bpmn:ParallelGateway',
  995. 'bpmn:InclusiveGateway',
  996. 'bpmn:EventBasedGateway',
  997. 'bpmn:StartEvent',
  998. 'bpmn:IntermediateCatchEvent',
  999. 'bpmn:IntermediateThrowEvent',
  1000. 'bpmn:EndEvent',
  1001. 'bpmn:BoundaryEvent',
  1002. 'bpmn:CallActivity',
  1003. 'bpmn:SubProcess',
  1004. 'bpmn:Process'
  1005. ]
  1006. },
  1007. 'properties': [
  1008. {
  1009. 'name': 'expression',
  1010. 'isAttr': true,
  1011. 'type': 'String'
  1012. },
  1013. {
  1014. 'name': 'class',
  1015. 'isAttr': true,
  1016. 'type': 'String'
  1017. },
  1018. {
  1019. 'name': 'delegateExpression',
  1020. 'isAttr': true,
  1021. 'type': 'String'
  1022. },
  1023. {
  1024. 'name': 'event',
  1025. 'isAttr': true,
  1026. 'type': 'String'
  1027. },
  1028. {
  1029. 'name': 'script',
  1030. 'type': 'Script'
  1031. },
  1032. {
  1033. 'name': 'fields',
  1034. 'type': 'Field',
  1035. 'isMany': true
  1036. }
  1037. ]
  1038. },
  1039. {
  1040. 'name': 'TaskListener',
  1041. 'superClass': ['Element'],
  1042. 'meta': {
  1043. 'allowedIn': ['bpmn:UserTask']
  1044. },
  1045. 'properties': [
  1046. {
  1047. 'name': 'expression',
  1048. 'isAttr': true,
  1049. 'type': 'String'
  1050. },
  1051. {
  1052. 'name': 'class',
  1053. 'isAttr': true,
  1054. 'type': 'String'
  1055. },
  1056. {
  1057. 'name': 'delegateExpression',
  1058. 'isAttr': true,
  1059. 'type': 'String'
  1060. },
  1061. {
  1062. 'name': 'event',
  1063. 'isAttr': true,
  1064. 'type': 'String'
  1065. },
  1066. {
  1067. 'name': 'script',
  1068. 'type': 'Script'
  1069. },
  1070. {
  1071. 'name': 'fields',
  1072. 'type': 'Field',
  1073. 'isMany': true
  1074. }
  1075. ]
  1076. },
  1077. {
  1078. 'name': 'FormProperty',
  1079. 'superClass': ['Element'],
  1080. 'meta': {
  1081. 'allowedIn': ['bpmn:StartEvent', 'bpmn:UserTask']
  1082. },
  1083. 'properties': [
  1084. {
  1085. 'name': 'id',
  1086. 'type': 'String',
  1087. 'isAttr': true
  1088. },
  1089. {
  1090. 'name': 'name',
  1091. 'type': 'String',
  1092. 'isAttr': true
  1093. },
  1094. {
  1095. 'name': 'type',
  1096. 'type': 'String',
  1097. 'isAttr': true
  1098. },
  1099. {
  1100. 'name': 'required',
  1101. 'type': 'String',
  1102. 'isAttr': true
  1103. },
  1104. {
  1105. 'name': 'readable',
  1106. 'type': 'String',
  1107. 'isAttr': true
  1108. },
  1109. {
  1110. 'name': 'writable',
  1111. 'type': 'String',
  1112. 'isAttr': true
  1113. },
  1114. {
  1115. 'name': 'variable',
  1116. 'type': 'String',
  1117. 'isAttr': true
  1118. },
  1119. {
  1120. 'name': 'expression',
  1121. 'type': 'String',
  1122. 'isAttr': true
  1123. },
  1124. {
  1125. 'name': 'datePattern',
  1126. 'type': 'String',
  1127. 'isAttr': true
  1128. },
  1129. {
  1130. 'name': 'default',
  1131. 'type': 'String',
  1132. 'isAttr': true
  1133. },
  1134. {
  1135. 'name': 'values',
  1136. 'type': 'Value',
  1137. 'isMany': true
  1138. }
  1139. ]
  1140. },
  1141. {
  1142. 'name': 'FormData',
  1143. 'superClass': ['Element'],
  1144. 'meta': {
  1145. 'allowedIn': ['bpmn:StartEvent', 'bpmn:UserTask']
  1146. },
  1147. 'properties': [
  1148. {
  1149. 'name': 'fields',
  1150. 'type': 'FormField',
  1151. 'isMany': true
  1152. },
  1153. {
  1154. 'name': 'businessKey',
  1155. 'type': 'String',
  1156. 'isAttr': true
  1157. }
  1158. ]
  1159. },
  1160. {
  1161. 'name': 'FormField',
  1162. 'superClass': ['Element'],
  1163. 'properties': [
  1164. {
  1165. 'name': 'id',
  1166. 'type': 'String',
  1167. 'isAttr': true
  1168. },
  1169. {
  1170. 'name': 'label',
  1171. 'type': 'String',
  1172. 'isAttr': true
  1173. },
  1174. {
  1175. 'name': 'type',
  1176. 'type': 'String',
  1177. 'isAttr': true
  1178. },
  1179. {
  1180. 'name': 'datePattern',
  1181. 'type': 'String',
  1182. 'isAttr': true
  1183. },
  1184. {
  1185. 'name': 'defaultValue',
  1186. 'type': 'String',
  1187. 'isAttr': true
  1188. },
  1189. {
  1190. 'name': 'properties',
  1191. 'type': 'Properties'
  1192. },
  1193. {
  1194. 'name': 'validation',
  1195. 'type': 'Validation'
  1196. },
  1197. {
  1198. 'name': 'values',
  1199. 'type': 'Value',
  1200. 'isMany': true
  1201. }
  1202. ]
  1203. },
  1204. {
  1205. 'name': 'Validation',
  1206. 'superClass': ['Element'],
  1207. 'properties': [
  1208. {
  1209. 'name': 'constraints',
  1210. 'type': 'Constraint',
  1211. 'isMany': true
  1212. }
  1213. ]
  1214. },
  1215. {
  1216. 'name': 'Constraint',
  1217. 'superClass': ['Element'],
  1218. 'properties': [
  1219. {
  1220. 'name': 'name',
  1221. 'type': 'String',
  1222. 'isAttr': true
  1223. },
  1224. {
  1225. 'name': 'config',
  1226. 'type': 'String',
  1227. 'isAttr': true
  1228. }
  1229. ]
  1230. },
  1231. {
  1232. 'name': 'ConditionalEventDefinition',
  1233. 'isAbstract': true,
  1234. 'extends': ['bpmn:ConditionalEventDefinition'],
  1235. 'properties': [
  1236. {
  1237. 'name': 'variableName',
  1238. 'isAttr': true,
  1239. 'type': 'String'
  1240. },
  1241. {
  1242. 'name': 'variableEvent',
  1243. 'isAttr': true,
  1244. 'type': 'String'
  1245. }
  1246. ]
  1247. }
  1248. ],
  1249. 'emumerations': []
  1250. };