workflow.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #framework:
  2. # workflows:
  3. # administrative_state:
  4. # type: 'state_machine'
  5. # marking_store:
  6. # type: 'single_state'
  7. # arguments:
  8. # - 'administrativeState'
  9. # supports:
  10. # - RadiusBundle\Entity\ONU
  11. # places:
  12. # - active
  13. # - pre_notice
  14. # - suspend
  15. # - deleted
  16. # transitions:
  17. # active_to_pre_notice:
  18. # from: active
  19. # to: pre_notice
  20. # active_to_suspend:
  21. # from: active
  22. # to: suspend
  23. # pre_notice_to_active:
  24. # from: pre_notice
  25. # to: active
  26. # pre_notice_to_suspend:
  27. # from: pre_notice
  28. # to: suspend
  29. # suspend_to_active:
  30. # from: suspend
  31. # to: active
  32. # delete:
  33. # from: [active,suspend,pre_notice]
  34. # to: deleted
  35. # transition_state:
  36. # type: 'state_machine'
  37. # marking_store:
  38. # type: 'single_state'
  39. # arguments:
  40. # - 'transitionState'
  41. # supports:
  42. # - RadiusBundle\Entity\ONU
  43. # places:
  44. # - pending
  45. # - process
  46. # - fail
  47. # - success
  48. # transitions:
  49. # pending_to_process:
  50. # from: pending
  51. # to: process
  52. # process_to_fail:
  53. # from: process
  54. # to: fail
  55. # process_to_success:
  56. # from: process
  57. # to: success
  58. # fail_to_pending:
  59. # from: fail
  60. # to: pending
  61. # success_to_pending:
  62. # from: success
  63. # to: pending