Skip to main content

Get help for ARIS Process Mining functions and services

Add scripted dimensions

You can add scripted dimensions to a component by means of scripted definitions.

Procedure. Procedure
  1. On the Configuration panel, click + Add dimension. The Model panel opens.

  2. Select the object (for example, Case or Activity) in the Model panel, for which you want to create a scripted dimension.

  3. Click Code view Add scripted definition. The code editor opens.

  4. In the code editor, start typing the name of the field to be used as a dimension.

  5. If you add a time dimension, define the dimension with its granularity as follows:

    granularity(field name)

    Example

    MONTHS("_ARIS.Case"."Case start time")

    The following operators are available for specifying the granularity: DAYS, HOURS, MINUTES, MONTHS, SECONDS, WEEKS, and YEARS.

    For other dimensions, no further operation is required.

  6. You can use variables instead of field names, granularity, or parameter values.

    Examples

    MONTHS("_ARIS.Case"."${variable}")

    ${variable}("_ARIS.Case"."Case start time")

    If you use calculated fields that take parameters as input, you can pass on the parameter value with the FIELD operator.

    FIELD("field name", 'parameterValue1', '${variable}') (The FIELD operator provides the values for parameters created for calculated fields.)

  7. Click Apply.

You created a scripted dimension. The dimension is added to the Configuration panel of the component.