Worklist Class Method

In this section, we discuss the Worklist class method Reassign.

Syntax

Reassign(FromOperid, ToOperid)

Description

Use the Reassign method to reassign all worklist items with a state less than “Worked” from one user to another.

If you only want to reassign a single worklist entry, use the Reassign WorklistEntry class method.

Parameters

Field or Control

Definition

FromOperid

Specify the user ID of the user from which you want to assign a worklist, as a string.

ToOperid

Specify the user ID of the user to which you want to assign a worklist, as a string.

Returns

A Boolean value: true if worklist was assigned successfully, false otherwise.