Get the current task ID
Command Description
Each time the current process is executed in the Worker, a task ID will be created accordingly. This ID can be obtained through the current command, so as to make unique identification judgment or record logic (debugging) within the process
Command Prototype
TaskID = Task.GetTaskId()
Command parameter
None
Return result
TaskID, Assign the result of running the command to this variable
Run instance
/**************************Get Current Task ID**************************
Command prototype:
TaskID = Task.GetTaskId()
Input parameters:
--> None
Output parameters:
--> None
Notes:
None
******************************************************************/
TaskID = Task.GetTaskId()