Click or drag to resize

PFTask Properties

The PFTask type exposes the following members.

Properties
  NameDescription
Public propertyAbsolutePrintUrl
Gets the absolute url of the print form of this item.
(Inherited from PFItem.)
Public propertyAbsoluteUrl
Gets the absolute url of the form of this item.
(Inherited from PFItem.)
Public propertyActorType
Gets the type of actor owning this task. Currently only concerns normal actors, but will be used later to identify non-human actors and actors not impacting the decision of a workflow.
Public propertyApplicationContext
Gets the current application context of this item, if not yet assigned, will assign and return first found context on the parent application.
(Inherited from PFItem.)
Public propertyApplicationContextId

Gets or sets the id of the current application context of this item.

Note : can only be assigned if this item has not been created yet or if the current application context does not exist anymore.
(Inherited from PFItem.)
Public propertyApplicationContextName
Gets the name of the current application context of this item.
(Inherited from PFItem.)
Public propertyAssignedTo
Gets the owner of this task.
Public propertyBeforeSaveValues
Gets the previous values of modified fields before the latest Save.

Note: this feature is NOT persisted in the database and therefore only concerns this instance.

(Inherited from PFBaseObject.)
Public propertyCanDelete
Checks if the current permission context allows current user to delete this object.
(Inherited from PFBaseObject.)
Public propertyCanRead
Checks if the current permission context allows current user to access this object.
(Inherited from PFBaseObject.)
Public propertyCanUpdate
Checks if the current permission context allows current user to update this object.
(Inherited from PFBaseObject.)
Public propertyCaption
Gets the display text representing this item.
(Inherited from PFItem.)
Public propertyComments
Gets a relation allowing to access all comments.
(Inherited from PFItem.)
Public propertyCommentsEnabled
Gets a value indicating whether comments are enabled.
(Inherited from PFItem.)
Public propertyCreated
Indicates if this object has been created and is still in database (positive Id).
(Inherited from PFBaseObject.)
Public propertyCreatedAt
Gets the date of creation of this object in the database.
(Inherited from PFBaseObject.)
Public propertyCreatedBy
Gets the user who created this object in the database.
(Inherited from PFBaseObject.)
Public propertyData
Gets the metadata of this item.
(Inherited from PFItem.)
Public propertyDateLastReminder
Gets the date of the last time this task was reminded to the owner by the PFTaskReminderJob.
Public propertyDateObjectCreation
Gets the date of the creation of this object in memory.
(Inherited from PFManagedObject.)
Public propertyDeleted
True if this object is flagged as deleted.
(Inherited from PFBaseObject.)
Public propertyDeletedAt
Date of the suppression of this object.
(Inherited from PFBaseObject.)
Public propertyDeletedBy
The user who deleted this object.
(Inherited from PFBaseObject.)
Public propertyDisableNotificationsTemporarily
Gets or sets a value indicating whether all operations on this item should avoid to send notifications to users.

Important : this flag will only concern the current INSTANCE of this object.

(Inherited from PFItem.)
Public propertyDueDate
Gets the due date.
Public propertyDueStartDate
Gets the due start date.
Public propertyEnableVersionMergeToResolveSaveConflicts
If an object is saved with an older version than the last persisted (in database), the system will try to merge the versions values (if no conflicts between values) and will then save the merged item to database. Note : this setting is NOT persisted and will affect this object instance only.
(Inherited from PFItem.)
Public propertyEndDate
Gets the end date.
Public propertyEvents
Gets a relation allowing to access all significant events that occurred during the life of this item.
(Inherited from PFItem.)
Public propertyExists
Indicates if this object has been created, still exists in database and is not flagged for suppression.
(Inherited from PFBaseObject.)
Public propertyExternalConnectionId
Gets or sets the id of the PFExternalConnection having created and synchronized this item. If not synchronized, this value is 0 or less.
(Inherited from PFItem.)
Public propertyFiles
Gets a relation allowing to access all files attached to this item using a PFFileHolderField.
(Inherited from PFItem.)
Public propertyGuid
Gets the GUID identifying this object. Must be used if Id is no more viable, example if content were merged.
(Inherited from PFBaseObject.)
Public propertyHasPendingModifications
Checks if there is pending changes. Will check if the values are different from the currently persisted values.
(Inherited from PFBaseObject.)
Public propertyHasPendingPermissionsModifications
Checks if there is pending modifications in permissions. Will compute permissions (RUD) and check if there is differences with current persisted permissions.
(Inherited from PFBaseObject.)
Public propertyHasWorkflowItem
Checks in database if the parent workflow item is available.
Public propertyId
Gets the id identifying this object. Must be used to find or identify an object because faster than Guid.
(Inherited from PFBaseObject.)
Public propertyInboundTransition
Gets the last persisted display name of the last taken transition.
(Inherited from PFItem.)
Public propertyInboundTransitionId
Gets the id of the last transition taken in the workflow, corresponding to the modeling Transition id.
(Inherited from PFItem.)
Public propertyIsSynchronizedWithAnExternalSource
Gets a value indicating whether this instance is synchronized with an external source.
(Inherited from PFItem.)
Public propertyIsWorkflowTask
Gets a value indicating whether this task is related to a workflow or not.
Public propertyKeepBeforeSaveValues
Gets or sets a value indicating whether the Save should keep a collection of the modified fields previous values.

Note: this feature is NOT persisted in the database and therefore only concerns this instance.

(Inherited from PFItem.)
Public propertyLogger
Gets the logger, used to log any useful warning, error or information in the database.
(Inherited from PFManagedObject.)
Public propertyLogIdentification
Gets a technical text representing this object.
(Inherited from PFBaseObject.)
Public propertyModelItem
If this item is linked to or synchronized with a modeled item, this will contain the ContentItem (from the model).
(Inherited from PFItem.)
Public propertyModelItemGuid
If this item is linked to or synchronized with a modeled item, this will contain the Guid of that ContentItem.
(Inherited from PFItem.)
Public propertyOwnerItem
Gets the owner item of this item. Based on the item relation with the correct ownership.
(Inherited from PFItem.)
Public propertyParentApplication
Gets the parent application of this item.
(Inherited from PFItem.)
Public propertyParentContentType
Gets the parent content-type of this item.
(Inherited from PFItem.)
Public propertyPermissionContext
Gets an object calculating permissions on demand.
(Inherited from PFItem.)
Public propertyPermissions
Gets the permission set (RUD permissions) of this item.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetDeleteId
Id of the permission set for Delete access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetDeleteXml
XML of serialized permission set for Delete access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetReadId
Id of the permission set for Read access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetReadXml
XML of serialized permission set for Read access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetUpdateId
Id of the permission set for Update access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetUpdateXml
XML of serialized permission set for Update access.
(Inherited from PFBaseObject.)
Public propertyPrintUrl
Gets the relative url of the print form of this item.
(Inherited from PFItem.)
Public propertyReference
Gets or sets the formatted text used to represent this item.
(Inherited from PFItem.)
Public propertyRemindersCount
Gets the number of time this task has been reminded to the owner by the PFTaskReminderJob.
Public propertyShortCaption
Gets the short display text representing this item.
(Inherited from PFItem.)
Public propertySite
Gets the root of the persisted objects tree.
(Inherited from PFBaseObject.)
Public propertyStartDate
Gets the start date.
Public propertyState
Gets the last persisted display name of the current state. Uses Workflow_ModelState to access the modeling object.
(Inherited from PFItem.)
Public propertyState_Translated
Gets the display name of the current state, translation based on current user effective language.
(Inherited from PFItem.)
Public propertyStateId
Gets the current state in the workflow, corresponding to the modeling State id.
(Inherited from PFItem.)
Public propertyStateInstanceId
Gets the instance of state in the workflow. This will change every time this item's state changes, even if the state is the same.
(Inherited from PFItem.)
Public propertyStatus
Gets or sets the status of the last taken transition in the workflow.
(Inherited from PFItem.)
Public propertySubscriptions
Gets a relation allowing to access all subscriptions.
(Inherited from PFItem.)
Public propertyTaskActive
Gets a value indicating whether the task has not been completed or cancelled yet.
Public propertyTaskStatus
Change status of this task.

Task is enacted (and saved) if the change of status is authorized by standard Task workflow.

If changed to "Finished", workflow outbound transition is set and parent workflow item is enacted too.

This does not mean that workflow item will move, BUT workflow item will be saved anyway.

Public propertyTitle
Gets or sets the title.
Public propertyUpdatedAt
Gets the date of the last update of this object.
(Inherited from PFBaseObject.)
Public propertyUpdatedBy
Gets the user who last updated this object in the database.
(Inherited from PFBaseObject.)
Public propertyUrl
Gets the relative url of the form of this item.
(Inherited from PFItem.)
Public propertyUserUpdatedAt
Gets the date of the last update (ignoring system updates) of this object.
(Inherited from PFItem.)
Public propertyUserUpdatedBy
Gets the user who last updated this object in the database (ignoring system updates).
(Inherited from PFItem.)
Public propertyVersionNumber
Gets the version number of this object in database. Incremented after each save.
(Inherited from PFBaseObject.)
Public propertyWorkflow_CurrentUserTask
Gets the current user task in the current state instance, if found.
(Inherited from PFItem.)
Public propertyWorkflow_InstanceTasks
Gets the task of the current state instance.
(Inherited from PFItem.)
Public propertyWorkflow_ModelState
Gets the current workflow state.
(Inherited from PFItem.)
Public propertyWorkflow_ModelStep
Gets the current workflow step.
(Inherited from PFItem.)
Public propertyWorkflow_Tasks
Gets all tasks attached to the workflow of this item.
(Inherited from PFItem.)
Public propertyWorkflowContentTypeGuid
Gets the content-type guid of the workflow item (using this task).
Public propertyWorkflowContentTypeId
Gets the content-type id of the workflow item (using this task).
Public propertyWorkflowItem
Gets the parent workflow item.
Public propertyWorkflowItemGuid
Gets the guid of the workflow item (using this task).
Public propertyWorkflowItemId
Gets the id of the workflow item (using this task).
Public propertyWorkflowOutboundTransition
Gets the last persisted display name of the chosen transition.
Public propertyWorkflowOutboundTransitionId
Gets the transition id of the chosen transition.
Public propertyWorkflowReference
Gets the reference of the workflow item (using this task).
Public propertyWorkflowState
Gets the last persisted display name of the parent workflow state.
Public propertyWorkflowStateId
Gets the current state of the parent workflow.
Public propertyWorkflowStateInstanceId
Gets the instance of state of the parent workflow.
Top
See Also