Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
72:scripting_dataset [2018/07/24 18:25] – [Metric Dataset Script Global Variables] bkkr72:scripting_dataset [2024/02/15 00:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 [[:72:scripting|Use Scripting]] [[:72:scripting|Use Scripting]]
  
-====== Metric Dataset Script Global Variables ======+====== Global Script Variables ======
  
 **Description**: Set of predefined global variables to be used in Stages data set script or in a collector script. **Description**: Set of predefined global variables to be used in Stages data set script or in a collector script.
 === Methods === === Methods ===
  
-**Pkit**+**pkit | stages | $s**
  
-   * Return: pkit +   * Description: Starting handle to get process information.
-  * Description: Starting handle to get process information.+
       * getProjectsByName(str)       * getProjectsByName(str)
         * str is the name of a project         * str is the name of a project
Line 20: Line 19:
       * getCurrentProject()       * getCurrentProject()
         * returns the project element where the report is located         * returns the project element where the report is located
 +      * getCurrentProcess()
 +        * returns the currently viewed process version of the active workspace
 +
 +**Dataset**
 +
 +  * Return: void
 +  * Description: Handle to the dataset result set
 +
 +**CurrentMetric**
 +
 +  * Return: MetricFolder
 +  * Description: Returns the report folder
 +
 +**CurrentUser**
 +
 +  * Return: UserElement
 +  * Description: Returns the current user