# URCap as single node

**URL:** <https://forum.universal-robots.com/t/urcap-as-single-node/3171>\
**Category:** URCaps SDK\
**Created:** [November 23, 2018, 9:50am UTC](https://forum.universal-robots.com/t/urcap-as-single-node/3171 "2018-11-23T09:50:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon82484413](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@anon82484413](https://forum.universal-robots.com/u/anon82484413)\
**Post date:** [November 23, 2018, 9:50am UTC](https://forum.universal-robots.com/t/urcap-as-single-node/3171/1 "2018-11-23T09:50:21Z")

</div>

I made a URCap with multiple child nodes, and it works fine.

Now I am working on an additional URCap, which should only be a single node, but how is that done? If there isn’t any child nodes, it is marked as not “finished” in the program tree.

---

<div class="post-metadata">

**Author:** ![m.birkholz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/m.birkholz/32/7084_2.png) [@m.birkholz](https://forum.universal-robots.com/u/m.birkholz)\
**Post date:** [November 23, 2018, 10:01am UTC](https://forum.universal-robots.com/t/urcap-as-single-node/3171/2 "2018-11-23T10:01:01Z")

</div>

all you need to do is return false at the overridden isChildrenAllowed() function of your urcaps programNodeService.

---

<div class="post-metadata">

**Author:** ![anon82484413](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@anon82484413](https://forum.universal-robots.com/u/anon82484413)\
**Post date:** [November 23, 2018, 10:07am UTC](https://forum.universal-robots.com/t/urcap-as-single-node/3171/3 "2018-11-23T10:07:54Z")

</div>

I was looking inside Contribution, and found nothing…

This was way simpler than I expected it to be 😊
