This is not the latest version of Identity Director documentation.
View available documentation.

Icon

Limit Number of Subscribers or Subscriptions

Add the Limit Number of Subscribers or Subscriptions action to set a maximum to the number of service subscribers or subscriptions.

  • Setting a maximum to the number of subscriptions is useful if you allow services to be delivered multiple times.
  • The specified limit only applies to a delivery workflow.

Place this action as late as possible in a delivery workflow, to prevent incorrect results: For example, if the workflow also contains an Approve Transaction action, the Limit Number of Subscribers or Subscriptions action should be placed after it. This prevents that the number of subscribers is already affected, while the service transaction has not been approved yet.

Configuration

Item

Explanation and Tips

Action Name

Optionally specify a friendly name for the action. This name must be unique in the workflow.

Maximum number of subscribers

Limit the number of unique, concurrent subscribers. This does not take into account the number of deliveries per subscriber.

  • You can use placeholders. For example, you can use the placeholder #Service[NrSubscribers] to resolve the current number of subscribers to the service.
  • You can set an unlimited number of subscribers with the value -1.
  • If you allow a service to be delivered multiple times, the maximum number of subscribers is not affected by multiple deliveries: subscribers can subscribe to a service only once, and request the service again until its maximum number of deliveries is reached. For example, if actor A has 4 subscriptions to a service and actor B has 3, the number of subscribers is 2.

Maximum number of subscriptions

Limit the number of subscriptions, taking into account multiple deliveries of the service to users.

  • You can use placeholders. For example, you can use the placeholder #Service[NrSubscriptions] to resolve the current number of subscriptions to the service.
  • You can set an unlimited number of subscriptions with the value -1.

Examples

Suppose you configure a maximum of 50 subscriptions:

  • If 10 actors each have 5 subscriptions of a service, the total number of subscriptions is 50 and new subscribers can no longer subscribe to this service.
  • If actor A has 3 subscriptions to the service and actor B has 7 subscriptions, the total number of subscriptions is 10 And 40 subscriptions are still allowed.
  • This action adds an exception to the workflow that specifies what happens when the maximum number of subscribers or subscriptions is exceeded.
See also