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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Change the shape color based on the table row condition on visio

106 views5 days ago
2
Ramesh Rajasekaran [DevOps Member]663 21st November 2025 1 Comment

Hello Team, I have 4 different box shapes each for different sourcename. I need to change the color of the box based on status and state column value. If the condition is true then green else yellow.

I tried Shape data Options: FillColor; RegexMatch([Param:1],"^rm-strfsh.*252") AND !Contains([Param:1],"source") AND [Param:2]=="resumed" AND [Param:3]=="active", Green FillColor;true,Green

But it didn't work.

Jarno Lernou [SLC] [DevOps Enabler] Answered question 5 days ago
Ramesh Rajasekaran [DevOps Member] commented 5 days ago

Hello Team, Anyone aware of the solution?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Jarno Lernou [SLC] [DevOps Enabler]5.26K Posted 5 days ago 4 Comments

Hi Ramesh,

Of course it depens a bit about the full context of how you would like to show the shape, but I think the easiest solution is to work with the Shape Data 'Show' (Extended conditional shape manipulation actions | DataMiner Docs). When using shapes above each other and make smart use of transparency, you can already come a long way.

Kind Regards,

Jarno

Jarno Lernou [SLC] [DevOps Enabler] Posted new comment 4 days ago
Ramesh Rajasekaran [DevOps Member] commented 4 days ago

I have one fixed rectangle box in Visio, and I need to change its color based on specific conditions.
I need to check the source name, status, and state, and apply the background color accordingly.

Examples:

i. If the source name starts with rm-strfsh, the status is resumed, and the state is active, then the rectangle’s background color should be green.

ii. If the source name starts with rm-strfsh, the status is paused, and the state is inactive, then the rectangle’s background color should be yellow.

Jarno Lernou [SLC] [DevOps Enabler] commented 4 days ago

This is possible. Just create two shapes, for each color one. Each shape should have a Show condition based on what you have specified. Do take note of the separators in the extended condition (e.g. the dash ('-') is part of your value so you'll have to come up with something like this:

[sep:-^]<A>and<B>and<C>^A|Element:[this element]|102, [TABLE INDEX]|=Regex=[your regex]^B|Element:[this element]|103, [TABLE INDEX]|=resumed^C|Element:[this element]|104, [TABLE INDEX]|=active

You will still need to fill in the correct table index (Primary Key or Display Key) in replacement for [TABLE INDEX]. Also the corect parameter IDs for the columns that you would look to. At last, also the values of the condition need to be changed (i.e. the condition looks to the raw values. If Resumed is a discreet, you'll have to find in the protocol the raw value that maps to 'resumed').

Ramesh Rajasekaran [DevOps Member] commented 4 days ago

Yes, got it. I was wondering if it’s possible to add two filter criteria in the subscription filter.

SubscriptionFilter: value=9632 == *test*| value=9602 == 0. Because based on my current workflow I am not able to get the primary/display key. But with two parameters I will be able to extract the row.

Jarno Lernou [SLC] [DevOps Enabler] commented 4 days ago

If you don't know the display name, you can indeed use SubscriptionFilter on your shape. Tested this and it works.
You will need to use the SubscriptionFilter for finding the right 'context' (row) and you'll need to use the show with same or different conditions of that row to either show one or the other shape (color).

dummy example:
Element : [this element]
SubscriptionFilter : value=202 == *2;value=201 == 2
Show [sep:-^]<A>^A|Value|[param:[this element],201,]|=2

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