GetParentWorkflowName

Syntax:

GetParentWorkflowName()

Description:
Returns the name of the Workflow that launched the current Workflow.  The function returns a blank string if the Workflow was not started by another Workflow.

Parameter Description

(no parameters)

Example:

Sub Main
' Display the name of the parent Workflow
strParentWorkflow = GetParentWorkflowName()
if (strParentWorkflow == "")
MsgBox "Not started by another Workflow"
else
MshBox "Workflow was started by " & strParentWorkflow
End
Sub

See Also:

GetTaskName