Back Forward Work object status

  Show all 

The standard property Work-.pyStatusWork is known as the work object status. This value defines whether the work object is open or resolved. The value of this property is a primary indicator of the progress of the object towards resolution. Values are restricted and controlled, and are changed only through specific mechanisms.

NoteDon't confuse work object status with assignment status, a different property.

 Basics

Resolved work objects identify completed work and are ordinarily not modified by any later processing, unless the work object is reopened. The following values are typical for this property:

The last three values indicate that the work object is resolved, meaning that no additional processing is expected. You can define more status values, but start each value with one of the words New, Open, Pending, or Resolved, with initial capitals as indicated.

Values for this property are defined through field values rules; several standard values are defined.

The control rule WorkStatus supports localization of the status value on displays, through field value rules.

 Ticket activation

When a work object is first resolved, the system activates a ticket named Status-Resolved. This ticket may appear in multiple workflows, so that your application can promulgate news of the work object resolution to other business processes as appropriate.

 Standard activities

06/10/03 TURBT CautionIn an activity, don't use the Property-Set method in an activity to change a work object status. Call the standard activity Work-.UpdateStatus, which changes the status directly, and calls standard activities RecalculateAndSave and Resolve as appropriate. This activity is of type Utility.

The status may also change when your flow uses these two standard activities:

All three activities update the work object history to reflect the status change and perform other housekeeping.

 Elapsed time in status

The standard properties Work-.pyElapsedStatusNew, pyElapsedStatusOpen, and pyElapsedStatusPending are automatically maintained by a standard Declare Trigger rule. These properties contain cumulative times (in seconds) that a work object had a status value that started with the literal text "New," "Open," or "Pending," respectively.

Definitions entry, open, pending, problem assignment, reject, reopen, resolution, ticket, work object
Related topics About Field Value rules
Standard rules Standard properties in the Work- base class

UpDefinitions — W