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

Extended conditional shape manipulation default return value

Solved716 views24th March 2023Visual Overview
4
Philip Argent [DevOps Enabler]579 22nd March 2023 0 Comments

Hi,

I'm using 'Show' to show a shape if a parameter '=Deleted', which works fine when the row is present, but the row is removed about a minute after the value is 'Deleted', so I've added '|DefaultReturnValue=True' to the end of the shapedata so it shows when the row isn't present, which works on initial load, but doesn't work when the row is removed from the element, the shape disappears. I can only get it back by closing the card and re-opening it.

What options do I have/is this a bug?

Toon Casteele [SLC] [DevOps Enabler] Answered question 22nd March 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
5
Toon Casteele [SLC] [DevOps Enabler]7.00K Posted 22nd March 2023 5 Comments

DefaultReturnValue works for situations where the initial data couldn't be retrieved. At those points the result will fallback to the DefaultReturnValue.

A deleted row will trigger an event if you are subscribed on that row, thus we know it's gone and we consider the value "empty".

For a row that doesn't exist, we don't get an initial event, meaning we have no idea if the event didn't come in yet OR if it doesn't exist. At that point we fall back to the DefaultReturnValue.

My suggestion would be to add onto or modify the condition so it also shows when the retrieved value is empty.

Toon Casteele [SLC] [DevOps Enabler] Posted new comment 23rd March 2023
Philip Argent commented 22nd March 2023

Thanks Toon,
I was thinking along those lines.
I’ve change the last part of the ‘Show’ to ‘|=Deleted;=|DefaultReturnValue=True’ with no difference in behaviour.

Toon Casteele [SLC] [DevOps Enabler] commented 22nd March 2023

I’m not sure about the exact syntax possibilities anymore and would need to check up on it, but you could try some alternatives like or with B being the empty condition check, or by using a regex…

Philip Argent commented 22nd March 2023

I’ve tried ‘Regex=AZ’ (this does have backslashes before the A & Z, but the comment box stripped them out), ‘Regex=^$’, = in shapes on their own, combined with the ‘=Deleted’, and separated out as a separate B condition, as soon as the row is no longer in the table, none of them show.

Toon Casteele [SLC] [DevOps Enabler] commented 23rd March 2023

Probably we designed it in this way then that when a row is gone, the show will evaluate to false by default. Another option would be to work with a hide condition instead and with ‘!=deleted’. If none of the above works for you, feel free to create a task and send it over to the Exploration product domain. Our basic rule is that a visual overview should look the same at any point in time. So if it’s different when reopening, you can consider that an issue.

Philip Argent commented 24th March 2023

Thanks Toon, the hide option works, so will go with that.

You are viewing 1 out of 1 answers, click here to view all answers.
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin