Business Rule Settings

Please note the Business Rule settings are only displayed to users that have the system Super Admins role.

Property

JSON

Description

Toolbar







The remove icon deletes the Business Rule and all settings after you confirm your desire to delete. 



The JSON is the exact representation of the UI settings. The whole business rule code overview may be helpful for validation of your Business Rule or duplicating an existing Business Rule with adjusted settings. 

General

Name
(translated)

names

The display name for the Business Rule per UI language. The language property "x-default" is the fallback language and used the default language setting of the customer.

ID

id

The Id of the Business Rule cannot be changed once it has been initially set. There are no special requirements except for uniqueness amongst rules. We recommend leaving the ID as rewritten from Picturepark based on your input for Name. 

Enabled

isEnabled

Do you want to run it now?

On creation, the Business Rule is enabled by default, if you are preparing a Business Rule to ensure it is disabled until you want it to execute. Picturepark executes enabled Business Rules directly for the items that fulfill the condition. 

Description

description

The description of the Business Rule which helps other administrators to understand the exact behavior of the Business Rule. Describe goal and setup here e.g. 

Looks for a Product Code in the Filename (needs to be at the beginning and 14 char, needs to start with either F-, G- or V-). If you find a product code, then assign the product as a tag.

Trigger Points

triggerPoint

The user action (action) on a specific item (documentType) in Picturepark that triggers the Business Rule, affecting a defined index. Multiple trigger points are allowed. If there is a duplicate trigger point the action will only be carried out once.

When should your Business Rule run? When a Content or List item is created, updated or on a schedule. Furthermore you can select that your Business Rule runs when a Content Item is replaced.

Execution Scope

executionScope

Document Type

documentType

Action

action

Condition

Add

condition

Add one condition for items, so the Business Rule considers them and performs the actions. This one condition can also be a group of AND/OR connected individual conditions. 

This will create a kind of collection of items and their values. 

 Select AND/OR first, to define multiple conditions. 

Every condition has a name and a description field which you can fill out to make the business rule easier to understand for other users.

Transformations

Add

transformationGroups

Add one or multiple Transformation Groups. Transformation Groups are conversions of values. 

Example: You have a tagbox "products" on a Content Item, linked to the List "Product" which has the following additional attributes (which are again nested): 

  • _refId: 8465xxxos

  • product name: CP2020

  • product family:

    • product family name: platform

  • product market

    • product market name: Switzerland

A Transformation Group uses e.g., the fieldpath as input: layer.tagbox-products and converts the whole structure into individual values: 

  • output1 = tag._refId

  • output2 =tag.productname

  • output3 =tag.productfamilyname

  • output4 =tag.productfamilymarketname

Those can then be further transformed (in the following Transformation Group) or used in action:

  • Use output4 and look it up in the region list. 

  • Action: If you find a match, assign it.

Every transformation has a name and a description field which you can fill out to make the business rule easier to understand for other users.

Actions

Add

actions

Perform the actions on the collection of items that fulfilled the condition

Every action has a name and a description field which you can fill out to make the business rule easier to understand for other users.




FotoWare Switzerland AG - CH-5033 Buchs - Switzerland
https://picturepark.com - support@picturepark.com
© 2024 Fotoware Switzerland AG