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

Action added to activity log on button press

Solved577 views11th February 2022
1
Bas Vogel 10th February 2022 2 Comments

Good day,

We have  a simple button where the "Link Shapte To:" has been set to Link.
The FileName points to the script which is being executed just fine.

What we need is to have an entry being added to the user`s activity (actions) log for the specific person that pressed the button. Is this possible or are there alternative means (email)?

Thanks in advance!

Bas Vogel Selected answer as best 11th February 2022
Toon Casteele [SLC] [DevOps Enabler] commented 10th February 2022

Hi Bas, could you point out what button this is about? Is it a Visual Overview button? If so, what shape data does it have? Is it a dashboard button, data display…?

By “activity log”, do you mean the information events?

Bas Vogel commented 10th February 2022

Hi Toon, it is simple Visio created button/image without any shape data except for “link” which is pointing to a script and which gets executed when pressed.

With activity log i mean the activity log that is present in the system center > users/groups > users > activity

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.78K Posted 10th February 2022 7 Comments

Additional parameters can be provided when linking a shape to a program or file by using the second argument in the Link syntax (see help):

ProgramName|Parameters|Tooltip

You could extend your script to use these parameters in the logging. Note that you can use the [ThisUserName] as placeholder in the shape data as well.

Edit:

Reading the question again, I see that it relates to DataMiner adding an item in the 'Actions' trail of the user. This does not happen out of the box when linking a shape to an external script or program.

However, it's possible to link the shape to the external script and link it to an automation script as well. This way the automation script is executed as well with the sole function of creating the trail.

Bas Vogel Posted new comment 11th February 2022
Bas Vogel commented 10th February 2022

Good day Sebastiaan,

I went through the Help link that you mentioned. The syntax that is used in the Help file is the same as what we are using. The script execution is fine and all works as expected.

Only thing that is missing is adding an entry to the activity log under system center/ users/ activity/ actions/. That way we can see who executed the script by pressing the button.

Ben Vandenberghe [SLC] [DevOps Enabler] commented 10th February 2022

When a user triggers an automation script through a button in Visual Overview (which I understand here to be the case), then this should generate an audit trail information message.

Note that when you go to System Center / Users / Activity / Actions, you are essentially looking information messages as well (i.e. the information messages that pertain to the user accessing the system (RECENT SESSIONS) and the user performing actions (ACTIONS). And I checked, and in my system I can find the information message in the alarm console at the bottom that indicates that I ran an automation script (by clicking on a button in Visual Overview that links to it), and I can also find that same message in the ACTIONS for my user. So that seems to be ok.

Ben Vandenberghe [SLC] [DevOps Enabler] commented 10th February 2022

Hi Bas – now I get it I believe. You are using the Link option, so when you are saying that you are running a script, you are referring to a script external from DataMiner, like a command line that you trigger or so, and you are not triggering with that button a DataMiner Automation Script. Correct?

Ben Vandenberghe [SLC] [DevOps Enabler] commented 10th February 2022

FYI – I just checked and if you have a button in Visual Overview and use the LINK shape data field (which is used to link to a web page, or launch an external program or file, etc.) then there is no audit trail message generated in the Information Messages, hence you will not see anything appearing amongst those user actions. If you would have a button that launches a DataMiner Automation script, then there would be one.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 10th February 2022

Based on the info above, I believe a work-a-round is possible by linking a shape to the external script while also linking it to a dummy script as well. Original answer has been edited.

Show 2 more comments
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