complete-task macro

complete-task macro

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

Parameter

Required

Default

Notes

Ver

Parameter

Required

Default

Notes

Ver

task

 

Name of the task to complete.

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

3.2.2

comment

 

 

The comment that is recorded 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 workflow events and activity history associate the completion of the task and any associated task-completed transition with the current user who added the attachment.

o

See also

Workflow Authoring Guide:

User Guide:

Reporting Guide:

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.