getTaskStatusForEmail

This function retrieves all completed tasks on workflow stask and returns their task name, status, and comments (if any) in the following format:

  • Task Name: {task name}

  • Task Status: {task status}

  • Task Comments: {status comments}

The function repeats the previous block for each completed task.

Version

1.3

Parameters

Parameter Type Description
stask string Process name of workflow.