Click or drag to resize

Activity Properties

The Activity type exposes the following members.

Properties
  NameDescription
Public propertyActiveTime
Contains the date when the activity last reached state=active Attrivbute is readonly.
Public propertyActivityLinks
Contains the activities which activity links to. A link lead to that an assignee is updated automatically on linked activities. Links are not always loaded - if not ActivityLinks = null.
Public propertyActivityType
Public propertyAffectsPercentComplete
If set, the completion of the process will affect the percent complete attribute if the process.
Public propertyAssigneeConstraints
Contains the contraints related to the activity. A contraint means that two activites cannot be executed by the same person. Constraints are not always loaded - if not AssigneeConstraints = null.
Public propertyAssignees
Specifies the assignees for the activity. Use AssigneesInfoAvailable to determine whether the information is resolved/loaded.
Public propertyAssigneesInfoAvailable
Returns true if the Assignees has been populated for the activity.
Public propertyAutoAccept
Defines whether (a workitem for) the activity can be auth accepted when the user opens the workitem. AutoAccept is only used when * The activity is assigned to an individual (not a group) or the activity is a voting activity * The activity (the workitem) is not already accepted/rejected
Public propertyAvailableInfo
Contains information about which attributes are available on the DataObject. If for instance the attribute DataExchangeConfigId is used and the information is not laoded, an exception is thrown. It is only used for DataObject instances which are loaded from the database. For newly created objects, all attributes are available. The different flags in the load options determines which attributes are available. Use IsInfoAvailable() to discover which attributes are available.
(Inherited from DataObject.)
Public propertyChangeTime
This ChangeTime property is taken from the tblDataObject table column ChangeTime, which is not necessarily the same time as the CreateTime of the newest DataObjectVersion since the column can be updated independently for ILM integration purposes.
(Inherited from DataObject.)
Public propertyCompleteTime
Contains the date when the object was completed. It is only relevant for Activity and Process object instances. The information is populated here due to filter and sorting features.
(Inherited from DataObject.)
Public propertyCreatedBy
UserID of the User who created the object.
(Inherited from DataObject.)
Public propertyCreateTime
Date when the object was created.
(Inherited from DataObject.)
Public propertyCurrentVersion
Returns the current object version as defined in the database.
(Inherited from DataObject.)
Public propertyDeleted
Returns true if the object is deleted.
(Inherited from DataObject.)
Public propertyDeletedBy
User ID if the user who deleted the object
(Inherited from DataObject.)
Public propertyDeleteTime
Date when object was deleted
(Inherited from DataObject.)
Public propertyDisplayName
Contains the DisplayName of the data object. The DisplayName is formatted using the DisplayNameFormat of the data object type. If the DisplayNameFormat is empty, the DisplayName contains the name of the data object type and the number.
(Inherited from DataObject.)
Public propertyFileAttachments
FilesAttachments contains the files which are attached to the DataObject. FilesAttachments is not always populated (according to load options)
(Inherited from DataObject.)
Public propertyFixedFields
Contains a number of read-only FixedFields. The available fields are determined by the DataObjectType and on the load options. Use EnumUtils.FixedFieldRequiresExplicitLoading() to discover which field that may be available in the collection.
(Inherited from DataObject.)
Public propertyForm
The Form object related to the activity
Public propertyFormFieldStates
Contains overrides the the Form field settings The overrides are not always loaded - only if FormFieldStates != null.
Public propertyFormId
The ID of the form related to the activity
Public propertyId
The unique id of the data object.
(Inherited from DataObject.)
Public propertyInheritsSecurity
Returns true if the object inherits it security from another object.
(Inherited from DataObject.)
Public propertyItemInt32
Retriever/assigner of values for a property. The data type of a value depends on the property type and data type: Value property - Text: string Value property - Integer: int Value property - DateTime: DateTime Value property - Decimal: double Value property - Boolean: bool Value property - Hyperlink: string Value property - TimeSpan: TimeSpan Value property - MultiLangText: string (value in active user's language) Value property - Xml: string Set property: int Reference property: int
(Inherited from DataObject.)
Public propertyItemString
Retriever/assigner of values for a property. The data type of a value depends on the property type and data type: Value property - Text: string Value property - Integer: int Value property - DateTime: DateTime Value property - Decimal: double Value property - Boolean: bool Value property - Hyperlink: string Value property - TimeSpan: TimeSpan Value property - MultiLangText: string (value in active user's language) Value property - Xml: string Set property: int Reference property: int
(Inherited from DataObject.)
Public propertyLastVersion
Returns the last version in the Versions collection. It may be a yet unsaved version.
(Inherited from DataObject.)
Public propertyLogEntries
Contains the list of activity logs related to the activity. Listen is sorted by changetime (ascending) LogEntries is not always populated.
Public propertyNumber
Contains the Number of the data object (which was taken from a sequence when it was created).
(Inherited from DataObject.)
Public propertyParentId
ParentId contains the ID of the parent DataObject. For new DataObjects the ParentId is 0. ParentId can and may only be set when creating a new DataObject where object must be put a certain place in the tree structure. If the object is the root of the tree structure, then ParentId = Id.
(Inherited from DataObject.)
Public propertyPercentComplete
The estimated percent complete of the entire process when this activity completes.
Public propertyProcess
The Process object of the activity. The process object is not always available. If not, Process is null.
Public propertyProcessId
The ID of the related process.
Public propertySecurityObject
SecurityObject is null if the object has not been loaded. It is only legal to change the SecurityObject if InheritsSecurity=false since the SecurityObject instanse may be used on other DataObjects. Use BreakSecurityInheritance to remove the inheritance.
(Inherited from DataObject.)
Public propertySecurityObjectId
Contains the ID for the DataObject which defines the security for the DataObject
(Inherited from DataObject.)
Public propertySpecialType
Returns true if the DataObject is of a special (built-in) type like User, UserGroup etc.
(Inherited from DataObject.)
Public propertyState
The current state of the Activity
Public propertyTemplate
Defined whether the object is a template object. It is applicable for process templates, activity templates and process target templates.
(Inherited from DataObject.)
Public propertyTemplateId
TemplateId contains the ID of the activity from which this obect has been copied (cloned) TemplateId is 0 if the activity is a template itself. TemplateId can be 0 for instance activities if create after process instantiation.
Public propertyTemplateObjectId
If an object is cloned from a template object, this field contains the ID of the template.
(Inherited from DataObject.)
Public propertyTransitions
Collection of transitions pointing to/from the activity.
Public propertyTypeId
ID of the data object type.
(Inherited from DataObject.)
Public propertyTypeName
System name of the data object type. Can be null (depending on which constructor is used) when creating a new data object (until it is saved).
(Inherited from DataObject.)
Public propertyTypeUId
UID of the data object type. Can be zero (depending on which constructor is used) when creating a new data object (until it is saved).
(Inherited from DataObject.)
Public propertyUId
The cross-deployments unique id of the data object.
(Inherited from DataObject.)
Public propertyVotingUnit
Voting unit for Activity
Public propertyWorkItems
Collection of workitems related to the activity (for one or more users) the list is sorted by (workitem) id.
Public propertyWorkWeekId
Defines the workweek used for calculation of the duration.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyIDataObjectDisplayName
States the display name of the data object.
(Inherited from DataObject.)
Explicit interface implementationPrivate propertyIDataObjectId
States the Id of the data object.
(Inherited from DataObject.)
Explicit interface implementationPrivate propertyIDataObjectNumber
States the Number of the data object.
(Inherited from DataObject.)
Explicit interface implementationPrivate propertyIDataObjectParentId
States the Id of the data object which is the parent of the data object.
(Inherited from DataObject.)
Explicit interface implementationPrivate propertyIDataObjectTemplate
States whether the data object is a template. Template data objects are either: process templates, activity templates or target object templates.
(Inherited from DataObject.)
Explicit interface implementationPrivate propertyIDataObjectTypeId
States the data object type id of the data object.
(Inherited from DataObject.)
Explicit interface implementationPrivate propertyIDataObjectUId
States the UId of the data object.
(Inherited from DataObject.)
Top
See Also