# BUG: fibery.createEntity(): checkbox field has wrong value

**URL:** <https://community.fibery.io/t/bug-fibery-createentity-checkbox-field-has-wrong-value/2131>\
**Category:** Bugs & Issues\
**Tags:** automations\
**Created:** [October 19, 2021, 5:32pm UTC](https://community.fibery.io/t/bug-fibery-createentity-checkbox-field-has-wrong-value/2131 "2021-10-19T17:32:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [October 19, 2021, 5:32pm UTC](https://community.fibery.io/t/bug-fibery-createentity-checkbox-field-has-wrong-value/2131/1 "2021-10-19T17:32:17Z")

</div>

I created a new entity and specified `false` as the value of a checkbox field. Although the returned `result` value of the created entity looks correct, the checkbox field in the entity view is `checked` (true).

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/c/cca72756d43ccfb22d686b35cf6fec4033dbb3b8.png)

Looks correct here:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/5/57b328ca0ea961c00d205f06182bc29e0c78ae3b.png)

But not here:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/2/2c3b1b03a71d8a1f6a3bfc588b88d5d92725dabd.png)

---

<div class="post-metadata">

**Author:** ![Sergey\_Truhtanov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/sergey_truhtanov/32/13986_2.png) [@Sergey\_Truhtanov](https://community.fibery.io/u/Sergey_Truhtanov)\
**Post date:** [October 20, 2021, 2:32pm UTC](https://community.fibery.io/t/bug-fibery-createentity-checkbox-field-has-wrong-value/2131/2 "2021-10-20T14:32:58Z")

</div>

Hello. I’ve tried your scenario and failed to reproduce the problem.  
This is the script I’ve tried (based on your example):

```auto
const fibery = context.getService('fibery');

const entity = args.currentEntities[0];

await fibery.createEntity("Test", { Name: entity.Name + "someName", "Checkbox": false, State: "Done", Rank: 1000 });

```

Could it somehow be, that those Checkbox field is changed by some other automation?  
You may look over created entity history to check if this is the case.

Another thing we may try – share your workspace with us as a template, I’ll try to install a template and reproduce there.

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [October 20, 2021, 3:29pm UTC](https://community.fibery.io/t/bug-fibery-createentity-checkbox-field-has-wrong-value/2131/3 "2021-10-20T15:29:18Z")

</div>

> [@Sergey\_Truhtanov](#):
>
> Could it somehow be, that those Checkbox field is changed by some other automation?

Yes that was it, thank you.  
It would be useful if the Entity History showed which script performed the action:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/2/2b958211f4d936ad464569da14a7dbb48453326b.png)
