GroupBuilderTrackingStatusVariable class

From Catglobe Wiki
Jump to: navigation, search

GroupBuilderTrackingStatusVariable


Represents a group builder variable for tracking status.

Parent class

Inherits from GroupBuilderVariable

Constructors

  • () - Create new variable

Methods

  • (From object) string ToString() - The string representation of the object.

Properties

  • bool Include { get; set; } - Include users that match rule, or exclude
  • bool IncludeStarted { get; set; } - Include those that are started in the result, even though tracking amount is zero
  • int MaxTrackings { get; set; } - Respondents that have read or shared the email atmost x times
  • int MinTrackings { get; set; } - Respondents that have read or shared the email atleast x times
  • string ObjectTypeName { get; } - The name of the type of object.
  • int QuestionnaireResourceId { get; set; } - Questionnaire to get users from
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.


Examples

GroupBuilderRoot root = new GroupBuilderRoot (15569488);
GroupBuilderTrackingStatusVariable trackingStatusVariable = new GroupBuilderTrackingStatusVariable();
trackingStatusVariable.QuestionnaireResourceId = 15569630;
trackingStatusVariable.MinTrackings =1;
trackingStatusVariable.MaxTrackings =1000;
trackingStatusVariable.IncludeStarted=true;
GroupBuilderRule rule = new GroupBuilderRule (root);
rule.Add(trackingStatusVariable);
GroupBuilderRuleCollection ruleColection = root.RootRules;
ruleColection.Add(rule);
root.Save();

GB Tracking.png