allTasksComplete

Version

1.3

Parameters

Parameter Type Description
stask string Process name of workflow to check.
igTask1 … igTaskn (optional) string Names of tasks to ignore. Enter one or more task name parameters. Case sensitive.

Returns

Returns true if all tasks (excluding tasks in optional igTask1… igTaskn list) in workflow process / subprocess stask are complete. Returns false if any task is incomplete.

Notes

stask is R1_PROCESS_CODE in the GPROCESS and SPROCESS tables.

Examples

To determine if all tasks in workflow BLDG are completed:

allTasksComplete("BLDG")

To determine if all tasks in workflow BLDG are complete, except for the Optional Review task and Closure task:

allTasksComplete("BLDG","Optional Review", "Closure")