You are here

maestro.maestro_template.form_approval_flow.yml in Maestro 3.x

modules/examples/maestro_form_approval_example/config/install/maestro.maestro_template.form_approval_flow.yml

File

modules/examples/maestro_form_approval_example/config/install/maestro.maestro_template.form_approval_flow.yml
View source
  1. uuid: b663ff99-b5fa-4e6b-803f-e44904f80f39
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: s5Ypke5PVS4Utr985sMkW2-4tpwoty0hNM5_zsjlmcs
  7. id: form_approval_flow
  8. label: 'Form Approval Flow'
  9. app_group: 0
  10. canvas_height: 500
  11. canvas_width: 800
  12. validated: true
  13. variables:
  14. initiator:
  15. variable_id: initiator
  16. variable_value: '0'
  17. rejected:
  18. variable_id: rejected
  19. variable_value: '0'
  20. workflow_timeline_stage_count:
  21. variable_id: workflow_timeline_stage_count
  22. variable_value: ''
  23. workflow_current_stage:
  24. variable_id: workflow_current_stage
  25. variable_value: ''
  26. workflow_current_stage_message:
  27. variable_id: workflow_current_stage_message
  28. variable_value: ''
  29. tasks:
  30. start:
  31. id: start
  32. tasktype: MaestroStart
  33. label: Start
  34. nextstep: submit_request
  35. nextfalsestep: ''
  36. top: '35'
  37. left: '129'
  38. assignby: fixed
  39. assignto: engine
  40. end:
  41. id: end
  42. tasktype: MaestroEnd
  43. label: End
  44. nextstep: ''
  45. nextfalsestep: ''
  46. top: '424'
  47. left: '131'
  48. assignby: fixed
  49. assignto: engine
  50. submit_request:
  51. id: submit_request
  52. label: 'Submit your Request'
  53. tasktype: MaestroContentType
  54. nextstep: spv_turn_off_rejected
  55. nextfalsestep: ''
  56. top: '146'
  57. left: '130'
  58. assignby: fixed
  59. assignto: ''
  60. raphael: ''
  61. to: ''
  62. pointedfrom: ''
  63. falsebranch: ''
  64. lines: { }
  65. data:
  66. unique_id: request
  67. content_type: approval_form
  68. save_edit_later: 1
  69. redirect_to: taskconsole
  70. handler: '/node/add/approval_form?maestro=1'
  71. assigned: 'user:fixed:maestro_employee,user:fixed:admin'
  72. runonce: false
  73. showindetail: true
  74. notifications:
  75. notification_assignment: ''
  76. notification_reminder: ''
  77. notification_escalation: ''
  78. reminder_after: 0
  79. escalation_after: 0
  80. manager_approval:
  81. id: manager_approval
  82. label: 'Approve a Manager Request'
  83. tasktype: MaestroInteractive
  84. nextstep: if_approved
  85. nextfalsestep: ''
  86. top: '324'
  87. left: '418'
  88. assignby: fixed
  89. assignto: ''
  90. raphael: ''
  91. to: ''
  92. pointedfrom: ''
  93. falsebranch: ''
  94. lines: { }
  95. handler: maestro_form_approval_example_manager_approval_form
  96. data:
  97. modal: modal
  98. reditect_to: taskconsole
  99. assigned: 'user:fixed:maestro_manager,user:fixed:admin'
  100. runonce: false
  101. showindetail: true
  102. notifications:
  103. notification_assignment: ''
  104. notification_reminder: ''
  105. notification_escalation: ''
  106. reminder_after: 0
  107. escalation_after: 0
  108. if_approved:
  109. id: if_approved
  110. label: 'Approved?'
  111. tasktype: MaestroIf
  112. nextstep: end
  113. nextfalsestep: spv_turn_on_rejected
  114. top: '326'
  115. left: '131'
  116. assignby: fixed
  117. assignto: ''
  118. raphael: ''
  119. to: ''
  120. pointedfrom: ''
  121. falsebranch: ''
  122. lines: { }
  123. data:
  124. if:
  125. method: bylasttaskstatus
  126. variable: initiator
  127. operator: '='
  128. variable_value: ''
  129. status: '1'
  130. assigned: ''
  131. runonce: false
  132. handler: ''
  133. showindetail: true
  134. notifications:
  135. notification_assignment: null
  136. notification_reminder: null
  137. notification_escalation: null
  138. reminder_after: null
  139. escalation_after: null
  140. set_flow_name:
  141. id: set_flow_name
  142. label: 'Set Flow Name'
  143. tasktype: MaestroBatchFunction
  144. nextstep: manager_approval
  145. nextfalsestep: ''
  146. top: '146'
  147. left: '416'
  148. assignby: fixed
  149. assignto: ''
  150. raphael: ''
  151. to: ''
  152. pointedfrom: ''
  153. falsebranch: ''
  154. lines: { }
  155. handler: maestro_form_approval_example_set_flow_name_batch
  156. assigned: ''
  157. runonce: false
  158. showindetail: true
  159. notifications:
  160. notification_assignment: null
  161. notification_reminder: null
  162. notification_escalation: null
  163. reminder_after: null
  164. escalation_after: null
  165. spv_turn_off_rejected:
  166. id: spv_turn_off_rejected
  167. label: 'Turn off rejected'
  168. tasktype: MaestroSetProcessVariable
  169. nextstep: set_flow_name
  170. nextfalsestep: ''
  171. top: '146'
  172. left: '273'
  173. assignby: fixed
  174. assignto: ''
  175. raphael: ''
  176. to: ''
  177. pointedfrom: ''
  178. falsebranch: ''
  179. lines: { }
  180. data:
  181. spv:
  182. variable: rejected
  183. method: hardcoded
  184. variable_value: '0'
  185. assigned: ''
  186. runonce: false
  187. handler: ''
  188. showindetail: true
  189. notifications:
  190. notification_assignment: null
  191. notification_reminder: null
  192. notification_escalation: null
  193. reminder_after: null
  194. escalation_after: null
  195. spv_turn_on_rejected:
  196. id: spv_turn_on_rejected
  197. label: 'Turn On Rejected Flag'
  198. tasktype: MaestroSetProcessVariable
  199. nextstep: submit_request
  200. nextfalsestep: ''
  201. top: '237'
  202. left: '130'
  203. assignby: fixed
  204. assignto: ''
  205. raphael: ''
  206. to: ''
  207. pointedfrom: ''
  208. falsebranch: ''
  209. lines: { }
  210. data:
  211. spv:
  212. variable: rejected
  213. method: hardcoded
  214. variable_value: '1'
  215. assigned: ''
  216. runonce: false
  217. handler: ''
  218. showindetail: true
  219. notifications:
  220. notification_assignment: null
  221. notification_reminder: null
  222. notification_escalation: null
  223. reminder_after: null
  224. escalation_after: null