# \[Bug\] v8.1.12 Error on invoking extension function, NoBlockingWorkAllowedException

**URL:** <https://forum.inductiveautomation.com/t/bug-v8-1-12-error-on-invoking-extension-function-noblockingworkallowedexception/55102>\
**Category:** Module Development\
**Tags:** perspective\
**Created:** [January 18, 2022, 12:30pm UTC](https://forum.inductiveautomation.com/t/bug-v8-1-12-error-on-invoking-extension-function-noblockingworkallowedexception/55102 "2022-01-18T12:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [January 24, 2022, 10:30am UTC](https://forum.inductiveautomation.com/t/bug-v8-1-12-error-on-invoking-extension-function-noblockingworkallowedexception/55102/8 "2022-01-24T10:30:21Z")

</div>

Phew finally got it working again!

I created a runnable with a getValue function  
where i set `BlockingWork.setBLockingWarkAllowed(true)`

(im doing it twice idk which one is needed but it works)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/9/d90eeb365d90024bec75e1dcef22a4bbd7f6a30d.png)  
Then initialize the runnable,  
start it in a thread.  
wait for it to finish running (join)  
and get the value from the runnable  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/0/90485b1276cfb1877b029176c35e6a91714f1b9b.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/bug-v8-1-12-error-on-invoking-extension-function-noblockingworkallowedexception/55102)._
