Book a Demo

Author Topic: EA.Element.ApplyUserLock() doesn't always work immediately  (Read 3078 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
EA.Element.ApplyUserLock() doesn't always work immediately
« on: June 11, 2019, 10:59:14 pm »
When I generate a subset model in a model with "Require user lock to edit", I use EA.Element.ApplyUserLock on all elements in my target package.
But still I get an error with message "Element locked" when generating the subset.

When trying a second time this is usually solved.
It seems like there is some caching going on, and it takes some time before the applyUserLock actually is registered by the EA.Element

Reported

Geert