Retrieves the specified Subscription belonging to the Company associated with the event.
@event::getSubscription(String subscriptionId)
(String) subscriptionId: the identifier of the Subscription script object.
(Script object) @subscription
The following example illustrates the use of getSubscription as part of a theoretical scenario where this event resolution business process will determine any subscriptions for this Event Domain.
# Process subscriptions
@subscriptionList = @event::getSubscriptions()
# iterate thru the list of subscription ids
FOR ($subscriptionId : $subscriptionList)
@subscription = @event::getSubscription($subscriptionId)
@subscriptionAlert = @subscription::notification()
.
.
.
@subscriptionAlert::performNotification()
ENDFOR