# Using system.\* inside a custom function?

**URL:** <https://forum.inductiveautomation.com/t/using-system-inside-a-custom-function/12355>\
**Category:** Ignition\
**Created:** [November 14, 2016, 6:52pm UTC](https://forum.inductiveautomation.com/t/using-system-inside-a-custom-function/12355 "2016-11-14T18:52:13Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![systemparadox](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Post date:** [November 2, 2017, 11:35am UTC](https://forum.inductiveautomation.com/t/using-system-inside-a-custom-function/12355/9 "2017-11-02T11:35:59Z")

</div>

Inductive have confirmed that this is a bug (ticket #44974).

Custom functions on windows cannot access project/system or import anything. The workaround is to move the custom function to a component. The best option is to move them to the Root Container.

I would strongly advise against using multiple invokeLater calls to fix this, as this is likely to be unreliable.

---

_[View the full topic](https://forum.inductiveautomation.com/t/using-system-inside-a-custom-function/12355)._
