Jump to: navigation, search

Changes


Activity:PushCriterionContext (Activity)

1,704 bytes added, 10:30, 30 March 2015
Created page with "Adds a push criterion that restricts the push action only to clients that are consuming the configured [[Context]]. <!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!--..."
Adds a push criterion that restricts the push action only to clients that are consuming the configured [[Context]].

<!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS -->

= Description =
{{ActivityInfoBox
| title = PushCriterionContext
| name = PushCriterionContext
| image =
| imagecaption = Activity PushCriterionContext
| purpose = Restrict push action to Context
| category = UBIK Push
| returns = true if successful
| version = 2.4.2+
}}

===Arguments===
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| Context || [[Context]] || In || The contextobject to which the push action should be restricted to; this argument is mutually exclusive with the argument ''ContextName''
|- align="left"
| ContextName || {{String}} || In || The name of the context to which the push action should be restricted to; this argument is mutually exclusive with the argument ''Context''
|- align="left"
| Result|| {{Boolean}} || Out || True if successful, false if an error occurred
|}

===Usage===
Use this criterion to restrict the hosting push action only to clients that are logged on to a specific [[Context]]. Clients consuming different contexts will not be notified about the push update.

=Example=
This example will send the hosting push action only to clients that are using ''CXT_DEMO''
{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| ContextName|| "CXT_DEMO"

|}

<!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS -->

==See also==
* [[Workflow Designer]]
* [[Activity:PushContent (Activity)|PushContent (Activity)]]

[[Category:Activities]]
[[Category:Push]]