You are here

commerce_license.workflows.yml in Commerce License 8.2

File

commerce_license.workflows.yml
View source
  1. license_default:
  2. id: license_default
  3. group: commerce_license
  4. label: 'Default'
  5. states:
  6. new:
  7. label: New
  8. pending:
  9. # State for remote licenses that are awaiting activation
  10. # (provisioning call in progress).
  11. label: Pending
  12. active:
  13. label: Active
  14. suspended:
  15. label: Suspended
  16. expired:
  17. label: Expired
  18. revoked:
  19. label: Revoked
  20. failed:
  21. # State for a license which has failed to activate.
  22. label: Failed
  23. canceled:
  24. # State for a license whose order is canceled, or a subscription license
  25. # whose subscription is canceled.
  26. label: Canceled
  27. transitions:
  28. activate:
  29. label: 'Activate'
  30. from: [new]
  31. to: pending
  32. confirm:
  33. label: 'Confirm Activation'
  34. from: [new, pending]
  35. to: active
  36. suspend:
  37. label: 'Suspend'
  38. from: [active]
  39. to: suspended
  40. expire:
  41. label: 'Expire'
  42. from: [active]
  43. to: expired
  44. reactivate:
  45. label: 'Reactivate'
  46. from: [suspended, expired]
  47. to: pending
  48. revoke:
  49. label: 'Revoke'
  50. from: [active, suspended, expired]
  51. to: revoked
  52. fail:
  53. label: Fail
  54. from: [pending]
  55. to: failed
  56. cancel:
  57. label: Cancel
  58. from: [pending, active]
  59. to: canceled