Differences

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

Link to this comparison view

711:scripting_dataset [2024/08/29 14:19] – created - external edit 127.0.0.1711:scripting_dataset [2025/03/19 08:04] (current) – [Global Script Variables] Weinlein, Thomas
Line 10: Line 10:
    * 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/workspace 
-        * returns an array of Project elements+        * returns an array of project/workspace elements
       * getProjectByPath (str)       * getProjectByPath (str)
-        * str is the path of a project, parent are separated by | e.g. Methodpark | Development | Projects | Project A+        * str is the path of a project/workspace, parent are separated by | e.g. Company | Development | Projects | Project A
         * returns the project element         * returns the project element
       * getRootProject()       * getRootProject()
-        * returns the root project element+        * returns the root project/workspace element
       * getCurrentProject()       * getCurrentProject()
-        * returns the project element where the report is located+        * returns the project/workspace element where the report is located 
 +      * getAllProjects() 
 +         * returns an array of all project/workspace elements
       * getCurrentProcess()       * getCurrentProcess()
         * returns the currently viewed process version of the active workspace         * returns the currently viewed process version of the active workspace
 +      * getUserByUsername(userName)
 +        * returns the user identified by the given username
 +      * getAllUsers()
 +        * returns an array of all users
 +      * getAllRoles()
 +        * returns an array of all roles in valid versions
 +      * getAllUserGroups()
 +        * returns an array of all user permission groups
 +      * getAllParticipants()
 +        * returns an array of all participants
 +      * getAllStates()
 +        * returns an array of all release automation states
 +      * getAllWorkflows()
 +        * returns an array of all release automations
 +      * getAllWorkflowInstances()
 +        * returns an array of all running release automations
 +      * getAllTasks()
 +        * returns an array of all open tasks
 +      * getProcessVersionIdentifier()
 +        * returns the identifier for the currently viewed process version
 +      * sqlQuery(query)
 +        * needs config property metrics.sql.enabled
 +        * returns an array of result rows 
  
 **Dataset** **Dataset**