Interrogating Task Status

The status or history of a task can be inquired about in either of two ways:

  • By using a string task attribute primary to interrogate the value of the STATUS attribute of the task.

    Refer to the description of task mnemonic comparisons under Boolean Expressions for an example. Refer to the description of the STATUS attribute in the Task Attributes Programming Reference Manual for a list of the mnemonic values the attribute can have.

  • By using the Boolean task state expression.

    This is not actually a task attribute inquiry, but it does return information about a task. Refer to “Task State” under Boolean Expressions.

    Both of these inquiries return similar types of information about the task, but use different mnemonic values to express the information.