This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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|taskcompleted=Completed}
      {task:Add an attachment}
   {state}
   {state:Completed}
   {state}
   {trigger:attachmentadded}
      {complete-task:task=Add an attachment|comment=An attachment was added}
   {trigger}
{workflow}


The page activity will associate the completion of the task and any associated taskcompleted transition with the current user who added the attachment.

o

See also

Workflow Authoring Guide:

User Guide:

Reporting Guide:

  • No labels