Activity Properties |
The Activity type exposes the following members.
Name | Description | |
---|---|---|
![]() | ActiveTime |
Contains the date when the activity last reached state=active
Attrivbute is readonly.
|
![]() | ActivityLinks |
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.
|
![]() | ActivityType | |
![]() | AffectsPercentComplete |
If set, the completion of the process will affect the percent complete attribute if the process.
|
![]() | AssigneeConstraints |
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.
|
![]() | Assignees |
Specifies the assignees for the activity.
Use AssigneesInfoAvailable to determine whether the information is resolved/loaded.
|
![]() | AssigneesInfoAvailable |
Returns true if the Assignees has been populated for the activity.
|
![]() | AutoAccept |
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
|
![]() | AvailableInfo |
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.) |
![]() | ChangeTime |
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.) |
![]() | CompleteTime |
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.) |
![]() | CreatedBy |
UserID of the User who created the object.
(Inherited from DataObject.) |
![]() | CreateTime |
Date when the object was created.
(Inherited from DataObject.) |
![]() | CurrentVersion |
Returns the current object version as defined in the database.
(Inherited from DataObject.) |
![]() | Deleted |
Returns true if the object is deleted.
(Inherited from DataObject.) |
![]() | DeletedBy |
User ID if the user who deleted the object
(Inherited from DataObject.) |
![]() | DeleteTime |
Date when object was deleted
(Inherited from DataObject.) |
![]() | DisplayName |
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.) |
![]() | FileAttachments |
FilesAttachments contains the files which are attached to the DataObject.
FilesAttachments is not always populated (according to load options)
(Inherited from DataObject.) |
![]() | FixedFields |
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.) |
![]() | Form |
The Form object related to the activity
|
![]() | FormFieldStates |
Contains overrides the the Form field settings
The overrides are not always loaded - only if FormFieldStates != null.
|
![]() | FormId |
The ID of the form related to the activity
|
![]() | Id |
The unique id of the data object.
(Inherited from DataObject.) |
![]() | InheritsSecurity |
Returns true if the object inherits it security from another object.
(Inherited from DataObject.) |
![]() | ItemInt32 |
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.) |
![]() | ItemString |
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.) |
![]() | LastVersion |
Returns the last version in the Versions collection. It may be a yet unsaved version.
(Inherited from DataObject.) |
![]() | LogEntries |
Contains the list of activity logs related to the activity.
Listen is sorted by changetime (ascending)
LogEntries is not always populated.
|
![]() | Number |
Contains the Number of the data object (which was taken from a sequence when it was created).
(Inherited from DataObject.) |
![]() | ParentId |
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.) |
![]() | PercentComplete |
The estimated percent complete of the entire process when this activity completes.
|
![]() | Process |
The Process object of the activity.
The process object is not always available. If not, Process is null.
|
![]() | ProcessId |
The ID of the related process.
|
![]() | SecurityObject |
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.) |
![]() | SecurityObjectId |
Contains the ID for the DataObject which defines the security for the DataObject
(Inherited from DataObject.) |
![]() | SpecialType |
Returns true if the DataObject is of a special (built-in) type like User, UserGroup etc.
(Inherited from DataObject.) |
![]() | State |
The current state of the Activity
|
![]() | Template |
Defined whether the object is a template object.
It is applicable for process templates, activity templates and process target templates.
(Inherited from DataObject.) |
![]() | TemplateId |
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.
|
![]() | TemplateObjectId |
If an object is cloned from a template object, this field contains the ID of the template.
(Inherited from DataObject.) |
![]() | Transitions |
Collection of transitions pointing to/from the activity.
|
![]() | TypeId |
ID of the data object type.
(Inherited from DataObject.) |
![]() | TypeName |
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.) |
![]() | TypeUId |
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.) |
![]() | UId |
The cross-deployments unique id of the data object.
(Inherited from DataObject.) |
![]() | VotingUnit |
Voting unit for Activity
|
![]() | WorkItems |
Collection of workitems related to the activity (for one or more users)
the list is sorted by (workitem) id.
|
![]() | WorkWeekId |
Defines the workweek used for calculation of the duration.
|
Name | Description | |
---|---|---|
![]() ![]() | IDataObjectDisplayName |
States the display name of the data object.
(Inherited from DataObject.) |
![]() ![]() | IDataObjectId |
States the Id of the data object.
(Inherited from DataObject.) |
![]() ![]() | IDataObjectNumber |
States the Number of the data object.
(Inherited from DataObject.) |
![]() ![]() | IDataObjectParentId |
States the Id of the data object which is the parent of the data object.
(Inherited from DataObject.) |
![]() ![]() | IDataObjectTemplate |
States whether the data object is a template.
Template data objects are either: process templates, activity templates or target object templates.
(Inherited from DataObject.) |
![]() ![]() | IDataObjectTypeId |
States the data object type id of the data object.
(Inherited from DataObject.) |
![]() ![]() | IDataObjectUId |
States the UId of the data object.
(Inherited from DataObject.) |