Equinox Online Help - Language Reference - A to Z

Home

ExecuteTaskParent

Applies to
SyntaxExecuteTaskParent
Action[Function] Returns the task ID for the activity that started the current activity, or zero.
ScopeUsable anywhere
Notes

ExecuteTaskParent is a new function that returns the task ID for the activity that started the current activity, or zero.

The function only returns a non-zero value in tasks started with the Execute statement.

CategoryFlow Control, Multiple Activity Handling
See Also ExecuteTaskHandle, ChangeActivity
Example

This example changes the focus to the activity that started the current task

ChangeActivity ExecuteTaskParent