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
  • Blog
  • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How can the sum of parameters with units be calculated in a Visio?

Solved956 views28th June 2023Visio
1
Joachim Ally [SLC] [DevOps Enabler]1.57K 28th June 2023 0 Comments

Dear Dojo Community,

In a Visio being designed by our team, we aim to create an execution command that sets the value to the current value incremented by 1.

To pinpoint the issue, we hardcoded the reference to the element and parameter explicitly. The Shape Data behind the increment button is as follows:

.

When the shape is clicked, the parameter is set to 1 instead of the sum of the existing value and 1.

To further troubleshoot, we simplified the problem by testing if the existing value is correctly read. Here are the test results:

The implementation and type of parameter 2602, along with its corresponding write parameter 2652, appear to be relevant to this problem. Therefore, we have included the implementations below.

We suspect that the unit 'frames' might be the cause of the issue, as the parsing of the sum syntax seems to struggle with this unit.

Is our suspicion correct? If so, is there a way to overcome this?

Kind regards,
Joachim

Joachim Ally [SLC] [DevOps Enabler] Answered question 28th June 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
5
Toon Casteele [SLC] [DevOps Enabler]6.97K Posted 28th June 2023 1 Comment

Your assumption is correct. The sum placeholder takes in string values and parses them to either a number or a datetime/timespan. If that doesn't work, the sum doesn't work.

To resolve this, you could wrap the param placeholders in a regexreplace placeholder to cut off the units. I realize it's not the ideal, but I believe it's the best workaround we currently have.

Joachim Ally [SLC] [DevOps Enabler] Selected answer as best 28th June 2023
Joachim Ally [SLC] [DevOps Enabler] commented 28th June 2023

Thank you, Toon, for the prompt confirmation and the effective workaround. I will mark your response as the accepted correct answer and provide an additional answer encompassing the complete solution. This will serve as an illustrative example to help other community members encountering a similar problem.

3
Joachim Ally [SLC] [DevOps Enabler]1.57K Posted 28th June 2023 0 Comments

With the suggestion provided by Toon, we could use the RegexReplace to solve the problem: The eventual Shape Data needed is as follows:

More details on RegexReplace can be found in this section in our docs.

Joachim Ally [SLC] [DevOps Enabler] Answered question 28th June 2023
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

Recent questions

LCA – create/modify Templated Services 0 Answers | 0 Votes
Low Code Apps – Link trend graph to the same time view port 0 Answers | 0 Votes
How is Automation run scripts count run calculated by Skyline? 0 Answers | 2 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (110) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (154) low code app (167) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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