# Global variables in a Singleton

**URL:** <https://forum.universal-robots.com/t/global-variables-in-a-singleton/5691>\
**Category:** URCap Development\
**Created:** [November 26, 2019, 3:10pm UTC](https://forum.universal-robots.com/t/global-variables-in-a-singleton/5691 "2019-11-26T15:10:56Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [November 29, 2019, 8:35am UTC](https://forum.universal-robots.com/t/global-variables-in-a-singleton/5691/9 "2019-11-29T08:35:28Z")

</div>

Just make sure, you do not violate this one: 🙂

> [@NOTICE: Behavioral change for isDefined and getTitle](https://forum.universal-robots.com/t/notice-behavioral-change-for-isdefined-and-gettitle/3140):
>
> In the PolyScope release of March 2019, we will perform a behavioral change in the URCaps API. The change will not break compatibility with the API itself, but the behavior of some methods are affected, which can cause Exceptions to be thrown in some cases. The implementation of the two overridden methods isDefined() and getTitle() in the Contribution-class has the purpose, of helping the user understand the purpose of the node, and whether this requires more data, to be valid. The methods ar…

---

_[View the full topic](https://forum.universal-robots.com/t/global-variables-in-a-singleton/5691)._
