Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  1. Fotoware Alto
    • 11.14 Schreckhorn
    • Terminology
    • Solutions
    • User Guide - Deutsch
    • User Guide - English
    • API Changelog
  2. Fotoware Veloz
    • Managing users and groups
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Navigating and searching to find your assets
    • Working with your assets
    • Editing asset metadata
    • Uploading files
    • Version Control in Fotoware
    • Albums - Creating and sharing collections
    • Placing assets in a CMS
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Consent management
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
    • What's what in Fotoware
    • GDPR
    • Fotoware Veloz releases
    • Activity Exports
    • Fotoware Example Workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets
    • Searching for assets
    • Working with your assets
    • Version Control in Fotostation
    • Automating tasks with Actions
    • Configuring metadata fields and editors
    • Configuring Fotostation
    • Configuring Fotostation for multi-user environments
    • Troubleshooting Fotostation
  4. Fotoware Flow
    • What is Flow?
    • Getting started
    • Flow dictionary
  5. Fotoware On-Premises
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • The Fotoware API
    • Creating integrations using embeddable widgets
    • Authorizing applications using OAuth
    • Auto-tagging
    • FotoWeb Drag and Drop export
    • Integration using webhooks
    • Optimizely and Episerver plugin documentation
    • User Interface Integrations
  7. Fotoware Mobile
    • User guide for Fotoware Mobile for iPhone and Android
    • User guide to FotoWeb for iPad (Legacy)
    • User guide to FotoWeb for iPhone and Android (Legacy)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support

Table of Contents

Specific Definitions Where 100 Products Sold?
  • Home
  • Fotoware Alto
  • 11.14 Schreckhorn
  • Business Rule Automation
  • Conditions in Business Rules

Number Compare Condition

14. March 2025

Elaine Foley

Table of Contents

Specific Definitions Where 100 Products Sold?

The condition Number Compare checks if a specific metadata field contains a number that is less, less or equal, equal, greater, greater or equal to a specific value e.g. Check weather the resolution is greater or equal 300 dpi to meet the website requirements before pushing content to the website (handled via separate integration).

A field value of 20 in this condition mean value:20 and mode: equals. The Business Rule triggers this very moment e.g. check if amount sold is 100 to then e.g. apply discount flag. Number compare works for Geo Points but requires two conditions (number compare for lat; number compare for lon).

Triggers when a number field value has the defined value. It can be useful to check prices, amounts of products sold, or users logged in (if tracked in number fields). 

Specific Definitions

Select the condition and provide the values. 

Property Value
kind NumberCompareCondition
fieldpath

layerId.fieldId

Details on accessing field values, specifically fieldpath starts lowercase

Supports JSON path syntax which you can test here: https://jsonpath.com.

value Provide a number value, whole numbers or decimals to check against. 
mode

Select the mode, which mirrors mathematical expressions. 

  • less than: < 20 means 0-19
  • less than equal: <= 20 means 0-20 (including 20)
  • equal: =20 means 20
  • greater than: > 20 means 21 and more
  • greater than equal: >= 20 means 20 and more (including 20)

Enum: "LessThan" "LessThanEqual" "Equal" "GreaterThanEqual" "GreaterThan"

Where 100 Products Sold?

{
    "kind": "NumberCompareCondition",
    "value": 20,
    "fieldPath": "products.amountSelled",
    "mode": "GreaterThanEqual"
}

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Content Relation Items Changed Condition
  • Business Rule Condition: Content Relation Items Changed Condition
  • Business Rule Condition: Number Compare
  • String contains condition
eco-lighthouse-miljøfyrtårn

Company

  • About us
  • Resellers
  • Careers
  • Contact us

Help & support

  • Support center
  • Consultancy
  • Tech partners
  • Fotostation
  • System status

Trust Center

  • Legal
  • Security
  • Sustainability & ESG

Locations

Fotoware AS (HQ)
Tollbugata 35
0157 OSLO
Norway
FotoWare Switzerland AG
Industriestrasse 25
5033 Buchs (AG)
Switzerland

Copyright 2025 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand