Item.Complete

Marks the specified task as complete. This action is valid only for task or workflow items (Item.subType = Item.WORKFLOW).

Parameters

Item.drn (Required)

Specifies the GroupWise identifier of the task to mark complete. This parameter can occur multiple times to complete several items with one request.

User.context (Required)

Specifies the context identifier for this user’s session.

Return Values

As a result of the action performed, this method returns Item.action.folderUpdate to indicate that the folder list view might need to be updated.

If this method was specified as a submethod of Item.Action and Item.UpdateList was specified, it returns the same values as Folder.Open. Otherwise, nothing else is returned.

Example

<FORM method=post action=/servlet/webacc>
   <INPUT type=hidden name=User.context value=xyz>
   <INPUT type=hidden name=action value=Item.Action>
   <INPUT type=checkbox name=Item.drn value==582z1z>Task 1
   <INPUT type=checkbox name=Item.drn value==236z2z>Task 2
   <INPUT type=submit name=Item.Accept value="Accept Task">
   <INPUT type=submit name=Item.Complete value="Complete Task">
</FORM>