Available translations

User Defined Statistic

foundations.png
user-defined-statistic.png
A user defined statistic allows users to create custom metrics by defining the corresponding calculation in a formula, in the context of the parent node.
Content
The current contexts in which custom statistics may be defined are episodes, positions, and orders.
Configuring
User Defined Statistic Configuration
Properties
  • initialValue allows resetting the initial state of the node to an arbitrary value.
Initial Values
These are the Initial Values for User Defined Statistic configuration:
 {
    "initialValue": 0
}
Examples
This is a list of properties featured by the User Defined Statistic configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
User Defined Statistic Menu
The User Defined Statistic node has the following Node Menu items:
The Configure menu item has the following properties:
  • action: Configure
  • label: Configure
  • iconPathOn: configuration
  • iconPathOff: configuration
  • actionFunction: uiObject.configEditor.activate
The Add Formula menu item has the following properties:
  • action: Add UI Object
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: formula
  • label: Add Formula
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Copy Node Path menu item has the following properties:
  • action: Copy Node Path
  • label: Copy Node Path
  • iconPathOn: copy-path
  • iconPathOff: copy-path
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
The Copy Node Value menu item has the following properties:
  • action: Copy Node Value
  • label: Copy Node Value
  • iconPathOn: copy-value
  • iconPathOff: copy-value
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
The Copy Node Type menu item has the following properties:
  • action: Copy Node Type
  • label: Copy Node Type
  • iconPathOn: copy-type
  • iconPathOff: copy-type
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
User Defined Statistic Children
The User Defined Statistic node has the following childrenNodesProperties:
The Formula node property features the following properties:
  • name: formula
  • type: node
  • autoAdd: true
User Defined Statistic Attaching Rules
The following are the Node Attaching Rules that govern the attachment of User Defined Statistic with other nodes:
Compatible Types: