OnlineMarketingTransformationFunctions DidActivities Method Kentico 8.1 API Reference
Returns true if the contact did any/all of the specified activities.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

contact
Type: OnlineSystem Object
Contact the activities of which should be checked
activityTypes
Type: OnlineSystem String
Name of the activity(ies) to check separated with semicolon
lastXDays
Type: OnlineSystem Int32
Constraint for last X days (if zero or negative value is given, no constraint is applied)
allActivities
Type: OnlineSystem Boolean
If true, all specified types has to be found for the method to return true. If false, at least one of any specified types is sufficient to return true for the method.

Return Value

Type: OnlineBoolean
See Also