Jump to: navigation, search

Difference between revisions of "Activity:PushContent (Activity)"


(Created page with "This activity pushes a single content object to {{UBIK}} Push service participants. <!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS --> = Descr...")
 
 
(2 intermediate revisions by the same user not shown)
Line 28: Line 28:
 
| ChildrenDepth || {{Integer}} || In || The number of hierarchical child levels to be also updated when a push is received
 
| ChildrenDepth || {{Integer}} || In || The number of hierarchical child levels to be also updated when a push is received
 
|- align="left"
 
|- align="left"
| PushClient || [[Push Service (Client)|PushService]] || In || The instantiated push client to be used; normally inherited from a hosting [[CreatePushScope]] activity, but can be overwritten here
+
| PushClient || [[Push Service (Client)|PushService]] || In || The instantiated push client to be used; normally inherited from a hosting [[Activity:CreatePushScope (Activity)|CreatePushScope]] activity, but can be overwritten here
 
|}
 
|}
  
Line 36: Line 36:
  
 
=Example=
 
=Example=
This example pushes the object with the defined UID to all clients of its hosting [[CreatePushScope]] activity as defined in its subsequent criterions; if no criterions are defined the push will be received by all clients of the push service.
+
This example pushes the object with the defined UID to all clients of its hosting [[Activity:CreatePushScope (Activity)|CreatePushScope]] activity as defined in its subsequent criterions; if no criterions are defined the push will be received by all clients of the push service.
  
 
{| class="wikitable" | width = "50%"
 
{| class="wikitable" | width = "50%"
Line 49: Line 49:
 
==See also==
 
==See also==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
 +
* [[Activity:CreatePushScope (Activity)]]
  
 
[[Category:Activities]]
 
[[Category:Activities]]
 
[[Category:Push]]
 
[[Category:Push]]

Latest revision as of 10:06, 30 March 2015

This activity pushes a single content object to UBIK® Push service participants.


[edit]

Description

PushContent
Name PushContent
Purpose Push a single object
Category UBIK Push
Returns true if successful
Version 2.4.2+

Arguments

Argument Type Direction Purpose
UBIKObject BaseClass In The object to be pushed; this argument is mutually exclusive with the argument UBIKObjectUID
UBIKObjectUID Guid In The UID of the object to be pushed; this argument is mutually exclusive with the argument UBIKObject
ParentDepth Integer In The number of hierarchical parent levels to be also updated when a push is received
ChildrenDepth Integer In The number of hierarchical child levels to be also updated when a push is received
PushClient PushService In The instantiated push client to be used; normally inherited from a hosting CreatePushScope activity, but can be overwritten here

Usage

Use this activity to push a single object to certain UBIK® Clients. The criterions to which clients the object should be actually pushed can be defined with subsequent PushCriterion activities. It is a nestable activity, which means it can host any amount of sub-activities that will be processed sequentially. The hosted activities are typically Push criterions like PushCriterionLogin, either as direct children but also wrapped within looping activities like ForEach or While.

Example

This example pushes the object with the defined UID to all clients of its hosting CreatePushScope activity as defined in its subsequent criterions; if no criterions are defined the push will be received by all clients of the push service.

Argument Value
UBIKObjectUID new System.Guid("f5eea25c-9ad4-4be4-b11a-5814a4160c3e")


See also