Back to top
 
 
 

Subscription states

A subscription can be in any one of the following states:
  • New
  • Active
  • Expired
  • Cancelled
Figure 1. Subscription states
State Description
New The user has subscribed, but some action is pending before it can be moved to the Active state (for example, approval is pending). This subscription may move to the active state once the pending action is completed.
Active When all pending activities are completed and if resource needs to be provisioned, on successful provisioning of resource, the subscription moves to the active state. The subscription is now in use and the user is charged for it.
Expired The subscription has been terminated by the user. A subscription moves from New to Active and remains in the Active state until it is terminated by the user. The user is charged for the subscription in the billing period in which the subscription is terminated.
Cancelled The subscription is not approved either because the payment does not happen or there is a workflow configured for subscription activation and the master user does not approve or for any other reason. The subscription is moved to the Cancelled state either by CPBM or by the user. The user is not charged for the subscription.

Resource states

A Resource in CPBM can be in any of the following states:
  • Provisioning
  • Error
  • Active
  • Terminated
Figure 2. Resource states
State Description Actions available in the UI
Provisioning For a newly created subscription, when the connector is provisioning a resource. Also, for an Active (Unused) subscription, while provisioning resource. If subscription state is New::
  • Cancel subscription

If subscription state is Active:

  • Terminate Subscription
Error For a newly created subscription, when the connector throws an exception from the provision call. Also, for an active subscription, when the connector's validate call returns an "errored" state. If subscription state is New:
  • Cancel Subscription
  • Provision Resource
If subscription state is Active:
  • Terminate Subscription
  • Provision Resource
Active On successful provisioning of the resource.
  • Terminate Subscription
Terminated On cancellation of a new subscription or on termination of an active subscription. Also, for an active subscription, when the connector's validate call returns a "terminated" state. None
 

Comments