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

How to capture exceptions of the contributing booking from the main booking?

Solved169 views7th August 2025SRM
4
Jason Wan [SLC] [DevOps Advocate]248 31st July 2025 0 Comments

Hi All,

I am trying to capture the exceptions that happened in the contributing booking and display them in the logging of the main booking during the pre-roll event. But what I get is the generic exception -  'The reservation was transitioned to Failed State'. Please see the attached screenshot.

The screenshot below is how I capture the above exception from the main booking LSO script.

Below is the actual exception from the contributing booking that I want to capture.

Is there a way to capture the actual exception that is being thrown from the contributing booking?

Thanks!

Jason Wan [SLC] [DevOps Advocate] Selected answer as best 7th August 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Jorge Dias [SLC] [DevOps Enabler]5.07K Posted 4th August 2025 4 Comments

Hi Jason,

In the LSO script of the contributing reservation you need use the method AutomationScript.HandleException(engine, exception); in your catch block so the main is informed of what error happened.

Jason Wan [SLC] [DevOps Advocate] Selected answer as best 7th August 2025
Jason Wan [SLC] [DevOps Advocate] commented 6th August 2025

Hi Jorge,
Thank you for your response. I added AutomationScript.HandleException(engine, e); to my contributing LSO, but I'm still encountering the same exception in my main LSO. Is there something else I should be doing in the main LSO besides just catching the exception? For example, should I be calling AutomationScript.GetResultException()?

Jorge Dias [SLC] [DevOps Enabler] commented 6th August 2025

You should now see the correct error in the log file no?
In the script itself, currently is not possible to get the correct exception.
You are using method ApplyContributingState correct?

Jorge Dias [SLC] [DevOps Enabler] commented 6th August 2025

Hi Jason, as discussed currently is not possible to have what you want, it needs a new feature request for that.

Jason Wan [SLC] [DevOps Advocate] commented 7th August 2025

Hi Jorge, thank you for your time. We will create a new feature request.

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