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

DOM Instance – Get previous status transition

Solved745 views22nd March 2024DOM Actions dom instances dom status transition
0
German Ballesteros [SLC] [DevOps Member]565 8th March 2024 0 Comments

I have a DOM Instance that the current status is "error". I want to know the previous status the instance had before the "error" status to implement an action to retry running one more time the script that generates the "error". This Instance could transition to error status from multiple statuses (i.e. inprogress -> error, active -> error, ready -> error, etc.)

I checked the methods we have in DomHelper and also DomCache and did not find any useful method for that. Is it possible to get the previous status or latest transition on that DOM Instance?

German Ballesteros [SLC] [DevOps Member] Selected answer as best 22nd March 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Thomas Ghysbrecht [SLC] [DevOps Enabler]4.84K Posted 11th March 2024 0 Comments

Hi German,

As mentioned by Tom, you could use the DOM history to know this. You could retrieve the last few history records for that specific DOM instance and try to find the status transition. Do note however that the history is by default saved asynchronously, which means that there is no guarantee that this history record will be available when the DOM instance has entered the 'Error' state. This may not be the most robust choice depending on the workflow.

Could you maybe give some more background on how this retry would be triggered? Is this a manual action? You could maybe also already retry in the flow where the DOM instance is currently set to the 'Error' state. One way to also tackle this is to add some kind of 'Reason' field (enum or string) that gets filled in by the script that transitions to 'Error', which then could be used to know what needs to happen to rectify it.

Thomas Ghysbrecht [SLC] [DevOps Enabler] Answered question 11th March 2024
You are viewing 1 out of 2 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