Salesforce

TaskID (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

TaskID (Magic xpa 4.x)

Retrieves the Task ID of a running task.

Syntax:

TaskID (generation)

Parameters:

generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.

Returns:

Alpha string containing the Task ID of the task. If the task generation does not exist, the function will return NULL.

Example:

If the TaskID of the current running program is “TSK_A12”, then the TaskID(0) function will return “TSK_A12”.

See also:

PublicName

Task ID task property

The Online and Rich Client Samples projects (program TF02 and RTF02)

Reference
Attachment 
Attachment