Differences

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

Link to this comparison view

Both sides previous revision Previous revision
72:scripting_dataset [2018/07/24 18:37]
bkkr [Metric Dataset Script Global Variables]
72:scripting_dataset [2019/10/04 07:11] (current)
Christian Geupel
Line 6: Line 6:
 === 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** **Dataset**
Line 28: Line 29:
 **CurrentMetric** **CurrentMetric**
  
-  * Return: ​ProcessElementElement (Metric) +  * Return: ​MetricFolder 
-  * Description:​ Returns the actual metric+  * Description:​ Returns the report folder
  
-**CurrentCollector** +**CurrentUser**
- +
-  * Return: MetricCollectorElement +
-  * Description:​ +
-      * Collector +
-        * Returns the actual Collector +
-      * Stages Data set +
-        * Not defined +
- +
-CurrentUser+
  
   * Return: UserElement   * Return: UserElement
-  * Description:​ Returns the report datasource ​user+  * Description:​ Returns the current ​user