Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Show Shape based on different parameters values using logical AND

Solved1.36K views23rd February 2022logical expression multiple conditions shape ShapeData show
2
Daniel Lentoiu619 23rd February 2022 2 Comments

Hi ,

I am trying to “SHOW” a shape based on two conditions: for the IDX value :NSS12EAH3-EHA-DJBT, if the Status(Parameter ID:1002) is :Offline  (Condition 1) and the Source(Parameter ID:1004) is the Ip Address: 188.82.xx.xx:2088 . My element ID is 7003/3686

A.   Based on the Dojo Platform (Basic conditions – actions – DataMiner Dojo ), in order to do that i have started with one condition:

#1. So, for parameter 1002 – Status Column i have defined :

Element   7003/3686

Parameter  1002,NSS12EAH3-EHA-DJBT*|Show;=Offline

Positive result !!!

#2. So, for parameter 1004 – Source Column i have defined :

Element   7003/3686

Parameter 1004,NSS12EAH3-EHA-DJBT*|Show;=185.82.xx.xx:2088

Positive result !!!

B. If i want to insert multiple conditions, based on the Dojo and Help manual i understood that i have to reformat the syntax to :

Show <A>-A|7003/3686|PARAMETER:1002,NSS12EAH3-EHA-DJBT|=Offline

Show <B>-B|7003/3686|PARAMETER:1004,NSS12EAH3-EHA-DJBT|=185.82.XX.XX:2088

For this approach i get a negative result !!! (It is not being showed).

BUT, following another tutorial i get positive results for :

Show  [sep:-@]<A>@A|7003/3686|1002,NSS12EAH3-EHA-DJBT|Regex=^Offline

Show  [sep:-@]<B>@B|7003/3686|1004,NSS12EAH3-EHA-DJBT|Regex=^185.82.xx.xx:2088

C. For multiple condition part i should get a positive result on :

Show  <A>and<B>-A|7003/3686|PARAMETER:1002,NSS12EAH3-EHA-DJBT|=Offline-B|7003/3686|PARAMETER:1004,NSS12EAH3-EHA-DJBT|=185.82.xx.xx:2088

but that is not happening.

Do you have a solution in this case ?

Regards,

Daniel.

Ben Vandenberghe [SLC] [DevOps Enabler] Selected answer as best 23rd February 2022
Ive Herreman [SLC] [DevOps Enabler] commented 23rd February 2022

Hi Daniel,

Did you add the [sep:-@] in front of the show for scenario 2.C?

Daniel Lentoiu commented 23rd February 2022

Hi Ive,

Thank you ! I always knew is a syntax problem:
By putting [sep:-@] and replacing the “-” with “@” i have solved these issue:

Show [sep:-@]and@A|7003/3686|PARAMETER:1002,NSS12EAH3-EHA-DJBT|=Offline@B|7003/3686|PARAMETER:1004,NSS12EAH3-EHA-DJBT|=185.82.53.3:2088

But why was it necessary to change the default separator in these case ?
(disclosure: i am new to DataMiner)

Regards,
Daniel.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Ive Herreman [SLC] [DevOps Enabler]13.59K Posted 23rd February 2022 1 Comment

Hi Daniel,

Great to hear that you managed to get it working.

The separator has to be replaced because the software is using the ‘-‘ character to split the string into different parts, where each part then becomes a condition.

Since the name of your table index also contains the ‘-‘ char, the string gets split into incorrect parts.

By using the [sep:-@] prefix, the dataminer knows that it shouldn’t split the string anymore using the ‘-‘ char, but will instead use the @ char.
As a result, the string is split again on the expected places making sure the conditions are read correctly.

Ben Vandenberghe [SLC] [DevOps Enabler] Selected answer as best 23rd February 2022
Daniel Lentoiu commented 23rd February 2022

Thank you Ive !
This solved my problem.
Regards,
Daniel.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs