# Cannot Assign Service Value to Blackboard Value

**URL:** <https://forums.unrealengine.com/t/cannot-assign-service-value-to-blackboard-value/1464520>\
**Category:** Programming & Scripting\
**Tags:** Behavior-Tree, blackboard, unreal-engine, Blueprint\
**Created:** [December 4, 2023, 2:52am UTC](https://forums.unrealengine.com/t/cannot-assign-service-value-to-blackboard-value/1464520 "2023-12-04T02:52:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![N0dnarb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@N0dnarb](https://forums.unrealengine.com/u/N0dnarb)\
**Post date:** [December 4, 2023, 2:52am UTC](https://forums.unrealengine.com/t/cannot-assign-service-value-to-blackboard-value/1464520/1 "2023-12-04T02:52:08Z")

</div>

Looking to pick randomly from 3 tasks (quick attacks) on my enemy AI by following the setup here: [Random Task in AI - #3 by navid100](https://forums.unrealengine.com/t/random-task-in-ai/396188/3)

I am unable to assign the service value to blackboard value as seen in this image:

 ![NoAssign](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/b/88b91ee81f4a6a89fce8117a3f884056b14ec4ef.png)

Can anyone inform me as to what I am missing? I have this working through a custom decorator instead, but the service and blackboard decorator seem cleaner to me.

---

<div class="post-metadata">

**Author:** ![DomusLudus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/domusludus/32/1215140_2.png) [@DomusLudus](https://forums.unrealengine.com/u/DomusLudus)\
**Post date:** [December 4, 2023, 6:47am UTC](https://forums.unrealengine.com/t/cannot-assign-service-value-to-blackboard-value/1464520/2 "2023-12-04T06:47:28Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/b/22bf2fdbc15abd1e11c4c1fbc1623f9e8e840922.png)

do you have check Instance editable in the variable?

---

<div class="post-metadata">

**Author:** ![N0dnarb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@N0dnarb](https://forums.unrealengine.com/u/N0dnarb)\
**Post date:** [December 5, 2023, 12:29am UTC](https://forums.unrealengine.com/t/cannot-assign-service-value-to-blackboard-value/1464520/3 "2023-12-05T00:29:40Z")

</div>

Aye, it was set to instance editable. Potentially I was trying to assign the service value on the service itself rather than on the service when hooked into the blackboard selector widget. Regardless I got it working as shown in pic provided although I still feel the service method is cleaner. I could be wrong.

 ![Screenshot 2023-12-04 192626](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/0/6e0f42178087546d7691be6cc2baa38708ac99c1.jpeg)

---

<div class="post-metadata">

**Author:** ![DomusLudus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/domusludus/32/1215140_2.png) [@DomusLudus](https://forums.unrealengine.com/u/DomusLudus)\
**Post date:** [December 5, 2023, 2:05pm UTC](https://forums.unrealengine.com/t/cannot-assign-service-value-to-blackboard-value/1464520/4 "2023-12-05T14:05:10Z")

</div>

Yes, the services are more cleaner and you don’t need create a custom node and put three times, what you have to do from link is pretty simple, I don’t know where you have the problem?
