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

Table values are returned multiple times – Automation script

352 views16th May 2025Automation script automation script parameters DMSMessage LCA table
2
Baranisudha Murugesan784 10th December 2024 2 Comments

foreach (var parameter in paramsNeeded)
{
var msg = new GetParameterMessage(childInfo.DataMinerID, childInfo.ElementID,
parameter.ParameterID, parameter.FilterValue, true);
reqParam.Add(msg);
}
try
{
_logger.Information(“Send DMA request”);
var responseMsg = _dms.SendMessages(reqParam.ToArray());
var response = responseMsg.OfType<GetParameterResponseMessage>().ToList();
paramInfo = response.FindAll(x => !string.IsNullOrEmpty(x.Value.ToString()) && !x.Value.ToString().Equals(“EMPTY”, StringComparison.CurrentCultureIgnoreCase)).ToList();
}
catch (Exception e)
{
_logger.Error($”Error fetching parameters: {e.Message}”);
continue;
}

Here i am sending pids to DM and getting values of the table from element to display in my LCA table component. Certain DM table is coming twice in the response for the same element.

how to ignore/filter out this type of redundant response data. I cannot do this based on pid, as the application is dynamic and pids are stored in DOM. only when i access my LCA i will know which table data im gonna display.

Marieke Goethals [SLC] [DevOps Catalyst] Posted new comment 16th May 2025
Ailton Luz [SLC] [DevOps Advocate] commented 23rd December 2024

Hi Baranisudha,
To help me understand the problem, could you please clarify the following:
Is the combination of childInfo.DataMinerID, childInfo.ElementID, parameter.ParameterID, parameter.FilterValue always unique?
Is the result from _dms.SendMessages being filled to another table? If yes, are you using the FillArray or FillArrayNoDelete call?

KR

Marieke Goethals [SLC] [DevOps Catalyst] commented 16th May 2025

Hi Baranisudha,
Do you still need help with this? If yes, could you provide some more information, as asked by Ailton? Or if you have found a solution, could you provide some information about this for reference for other users?

0 Answers

  • Active
  • Voted
  • Newest
  • Oldest
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