Comala Workflows is now Comala Document Management. Click here for the latest documentation.

Overview

The {complete-task} macro is used to mark a task as completed.

Where to use it?

Optional.

One or more {complete-task} macros can be put in a {trigger} macro.

Parameters

ParameterRequiredDefaultNotesVer

task

(tick)


Name of the task to complete.

No action will be taken if the task does not exist or is already closed.

3.2.2

comment



The comment to record against the completed task.

3.2.2

Events

The following Events are associated with task completion:

  • taskcompleted

Example

{workflow:name=Task completion}
   {state:Test}
      {task:Add an attachment}
   {state}
   {trigger:attachmentadded}
      {complete-task:task=Add an attachment|comment=An attachment was added}
   {trigger}
{workflow}

All examples

There is no content with the specified labels

See also

Workflow Authoring Guide:

User Guide:

Reporting Guide: