Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WADMINPAS and version 21.2

Creating a Calculated

Attribute

Metric

Image RemovedImage Added

Select option Add Calculated Attribute Metric from the sidebar menu.

Image RemovedImage Added

An empty attributemetric's data sheet is displayed in the content area.

Image RemovedImage Added

Insert a Name for the attributemetric.

Image Modified

The Name field must not be empty.

Allowed characters are:

  • numbers 0-9
  • letters a-z and A-Z
  • special characters .  -  _ and !

Select a process from the drop-down list.

The entry in field Name must be unique. Therefore, your entry is automatically checked.

If the name is already in use, you need to change your entry.

Info

The field content is checked after you select a process, because you can use the same attribute metric name for different processes.

Image RemovedImage Added

Shows the attributemetric's type. Currently available:

  • Number
  • Duration

Defining the Calculation Rule

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamecalculation_rule_options
PageWithExcerptINTERNAL:_admin_portal_excerpts

Using the Calculation Rule (UI)

Image Added

If you have selected a process in section Master Data, the Calculation Rule (UI) shows the drop-down menu Select Operator and in the section on the right side you can find corresponding

  • custom attributes Image Addedand
  • process steps Image Added.

Image Added

Open the selection list to choose your operator:

  • Subtraction
  • Addition
  • Multiplication
  • Division

Image Added

Now you can drag & drop the attributes you want to work with from the right section to the Calculation Rule UI.

Info

It is also possible to nest calculation rules.

Using the Calculation Rule (Editor)

Image Added

If you have knowledge of JSON, you can also enter your calculation rule in the Calculation Rule (Editor).

Click on tab Calculation Rule (Editor) to open the JSON editor.

Image Added

The content in the editor must be valid JSON

Image Removed

In section Calculation Rule you can now insert the rules that should be applied to your attribute.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamenote_calculation_rules
PageWithExcerptINTERNAL:_admin_portal_excerpts

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNametip_calculation_rules
DisableCachingtrue
PageWithExcerptINTERNAL:_admin_portal_excerpts