TaskId

Syntax:

TaskId()

Description:
Returns the ID number of the currently running Workflow.  Each running Automated Workflow has a unique number assigned to it at runtime to differentiate it from other Workflows running with the same name.  The TaskId is a read-only property of the running Workflow.

Parameter Description

(no parameters)

Example:

Sub Main
' Display the Workflow ID of the currently running Workflow
MsgBox TaskId()

End
Sub

See Also

IsLeapYear

FirstDateOfDayInMonth

FirstDateOfDayInQuarter

FirstDateOfDayInYear

LastDateOfDayInMonth

LastDateOfDayInQuarter

LastDateOfWeek

LastDayOfQuarter