OnlineMarketingTransformationFunctions DidActivity Method Kentico 8.1 API Reference
Returns true if the contact did a specified activity.

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
activityType
Type: OnlineSystem String
Name of the activity to check (can specify more than one separated with semicolon, all of the types match than)
cancelActivityType
Type: OnlineSystem String
Name of the activity which cancels the original activity (for example UnsubscribeNewsletter is a canceling event for SubscribeNewsletter etc.)
lastXDays
Type: OnlineSystem Int32
Constraint for last X days (if zero or negative value is given, no constraint is applied)
whereCondition
Type: OnlineSystem String
Additional WHERE condition

Return Value

Type: OnlineBoolean
See Also