Task Number
Use this field to specify the name of the event variable that is to receive the task number as output from the Task Manager when the task is placed on the background task queue.
To construct a reference to the variable using an expression, click the button to the left of this field.
The contents of this field must use this syntax:
ID
where ID is a reference to an event variable.
When you click Event Actions form, the system "wraps" this content within a TASKNUMBER( ) parameter, which yields this final syntax:
to return to theTASKNUMBER( ID )
The syntax for this parameter is different from other event action parameters, to allow compatibility with WinStudio form event handler that perform the same operation as the Run Background Task event action type.