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

Executing an automation script with invalid user cookie fails

Solved846 views22nd March 2024Automation Automation script protocol user defined API
1
Jason Pitteman [SLC] [DevOps Member]556 21st March 2024 0 Comments

Hi,

We have a connector that triggers an automation script whenever specific data changes by calling the ExecuteScript method like this:

The script is executed successfully in case of the following flow:

Interactive Automation Script -> InterApp Call -> Connector -> ExecuteScript

However, when the start of the flow is a User Defined API (Automation Script), instead of an IAS, it fails to execute the script because there’s no user cookie:

Would there be a way to make this work?

Thanks in advance.

Jason Pitteman [SLC] [DevOps Member] Selected answer as best 22nd March 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Stacey Van Colen [SLC] [DevOps Advocate]2.54K Posted 22nd March 2024 1 Comment

Hi Jason,

As a workaround for the issue I would suggest to send an SLNetMessage as followed:

Hope this helps!

Kind regards,

Jason Pitteman [SLC] [DevOps Member] Posted new comment 22nd March 2024
Jason Pitteman [SLC] [DevOps Member] commented 22nd March 2024

Hi Stacey,
I can confirm that this workaround works.
However, the issue has been raised internally to have a closer look at the issue.

0
João Severino [SLC] [DevOps Catalyst]13.10K Posted 21st March 2024 4 Comments

Hi Jason,

Could you log the contents of the property ‘protocol.UserCookie’?

I believe that in certain instances it will contain a prefix that may need to be trimmed out before passing it to the automation script.

Jason Pitteman [SLC] [DevOps Member] Posted new comment 22nd March 2024
Jason Pitteman [SLC] [DevOps Member] commented 21st March 2024

Hi Joao,
The user cookie looks like this in case it fails: 39D49F3E377C4B6D94AF5F4731C8052D:NO_INFORMATION

Jason Pitteman [SLC] [DevOps Member] commented 21st March 2024

The user cookie is empty in case it’s triggered from an IAS.

João Severino [SLC] [DevOps Catalyst] commented 21st March 2024

Hi Jason,
Apparently, my recollection was slightly off as it was a suffix and not a prefix.
If you trim the :NO_INFORMATION out of the usercookie you should have valid GUID string, although not in the format we are most used to see it.
Could you try to manipulate the user cookie so that it removes everything after the : (including the : as well)?

Jason Pitteman [SLC] [DevOps Member] commented 22nd March 2024

Hi Joao,
That doesn’t seem to do the trick unfortunately.

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