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

Using Skyline.DataMiner.Automation inside QActions possible?

Solved1.26K views2nd February 2023Automation QAction Skyline.DataMiner.Automation
3
Trong Huynh [DevOps Member]744 2nd February 2023 1 Comment

Hi,

Is it possible to use the automation’s engine methods inside a QAction?

I’d like to use some methods (e.g. SendEmail) in the Engine class (part of the Skyline.DataMiner.Automation library).

I have done the followings my QAction:

  1. Installed the Skyline.DataMiner.Dev.Automation NuGet package
  2. Imported the library (using Skyline.DataMiner.Automation;)
  3. Declared the engine object (Engine engine = new Engine();)
  4. Called the method (engine.SendEmail();)

But it failed. Errors in the Element log says:

The type or namespace name ‘Engine’ could not be found (are you missing a using directive or an assembly reference?)

Thanks!

Trong Huynh [DevOps Member] Selected answer as best 2nd February 2023
Michiel Oda [SLC] [DevOps Enabler] commented 2nd February 2023

Do note that the Skyline.DataMiner.Dev.Automation package is filtered out by DIS when compiling the protocol as it is not useable.

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
7
Laurens Moutton [SLC] [DevOps Enabler]8.78K Posted 2nd February 2023 0 Comments

Hi,

The automation library is only intended to be used in an automation script. The “engine” object in automation scripts is the connection with the SLAutomation process, similar like the “protocol” object in QActions that is the connection with the SLProtocol process.

The class library consists of 3 parts:

  • Automation: functionality to be used in an automation script
  • Protocol: functionality to be used in a QAction
  • Common: functionality that is independent, these items can be accessed both from an automation script or from a QAction.

I can think of 2 alternatives:

  • Either write an own method in the QAction to send a mail
  • Or launch an automation script from the QAction that will then call the Engine.SendEmail()
Trong Huynh [DevOps Member] Selected answer as best 2nd February 2023
4
Jens Vandewalle [SLC] [DevOps Enabler]9.44K Posted 2nd February 2023 0 Comments

Hi Trong,

This is not possible.

Or you can run an automation script that will send an email from your QAction (see Method ExecuteScript) or you can use some .Net functionality (see post Sending email with attachement from a QAction)

Jens Vandewalle [SLC] [DevOps Enabler] Edited answer 2nd February 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
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