Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Domaincloudos
Type
subscriptionAdded
Attributes
eventChannel, backChannel, namespace, relationship, channelName, approvalAttrsapproveAttrs

Note: The approvalAttrs attribute is encoded, you will want to decode() it prior to use.

The following shows a rule that is selected when the cloudos:subscriptionAdded event is raised:

Code Block
themeConfluence
languagejavascript
rule process_subscriptionAdded {
  select when cloudos subscriptionAdded
    namespace re/MyFriends/
    channelName re/Coworkers Bob+Ted/
    relationship re/friend-friend/
  pre {
    approvalAttrsapproveAttrs = event:attr("approvalAttrsapproveAttrs").decode();
  }
  ...
}

Subscription Approval Event Flow

...