Process Class

This object represents a Process (definition and/or instance).

This object is derived from the ContentObject class. All properties and methods from the ContentObject are supported for this object, plus the properties below.

Properties

PROPERTY NAME

DATA TYPE

DESCRIPTION

Attachments

List Object

Attached files or documents for the process, returned as a List<Document Object>.

DefaultForm

Form Object

Default form definition for the process

DefaultFORMINSTID

String

Default form instance ID for the process

DueTime

DateTime

The date/time the process instance is due

EndTime

DateTime

The date/time the process instance ended

Error

Boolean

Whether the process is in an error state

Initiator

User Object

Process initiator

InstanceName

DefaultForm

Name of the process instance

InstanceObject

Content List Object

The optional content object of this process instance

InstID

String

ID of the process instance

ParentInstanceObject

Content List Object

The optional content object of the parent process instance

Priority

Integer

The priority of the process instance

RunningTasks

List Object

List of running tasks in the process, returned as List<Task>

StartTime

DateTime

The date/time the process instance started

Status

Integer

Status of the process instance, specified in the nStatus field of tblProjectInstance. Please see the table definition of tblProjectInstance for status codes.

TermReason

Integer

If the process instance has ended, the reason. Please see the Classes topic for a list of termination reasons and their associated integer code.

Methods