# How to get button to run a bulk function across multiple entities which creates only one new entity and relates it

**URL:** <https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160>\
**Category:** Get Help\
**Created:** [August 12, 2026, 3:39am UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160 "2026-08-12T03:39:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdVhPkgKad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@AdVhPkgKad](https://community.fibery.io/u/AdVhPkgKad)\
**Post date:** [August 12, 2026, 3:39am UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160/1 "2026-08-12T03:39:18Z")

</div>

The scenario

1. Start with a list (table) of entities type A.
2. Checkbox to select multiple.
3. Click a button in the bottom bar.
4. Fill out fields and submit.
5. System creates a single entity of type B with fields populated with the data provided and links all of the selected A entities to it.

---

<div class="post-metadata">

**Author:** ![AdVhPkgKad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@AdVhPkgKad](https://community.fibery.io/u/AdVhPkgKad)\
**Post date:** [August 12, 2026, 7:49am UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160/2 "2026-08-12T07:49:37Z")

</div>

More context.

I’m writing an asset management module.  
I need to be able to bulk assign assets to people.  
Each time there is an assignment from A to B, that transfer needs to be recorded in the format.

Transfer Entity

- From → Person
- To → Person
- Date → Date
- Assets → [Asset, Asset, ..]

Under the current button limitations, it will create a transfer entity for each asset, i.e.:

Transfer Entity #1

- From → Person
- To → Person
- Date → Date
- Assets → Asset #1

Transfer Entity #2

- From → Person
- To → Person
- Date → Date
- Assets → Asset #2

.. Transfer Entity (N)

etc.

This breaks twofold — not only does it duplicate records, it actually splits the assets.

I’ve tried creating a Transfer form, but that also hit a wall. It really needs to be a multi-stage form, because you can’t send multiple assets from Person A **AND** Person B to Person C within a single transfer.

Solutions within Fibery would be appreciated.

Edit: Also would appreciate a solution that doesn’t create a bajillion transfers and culls the duplicates with a merge in post.

---

<div class="post-metadata">

**Author:** ![Eren\_Turgut](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/eren_turgut/32/4425_2.png) [@Eren\_Turgut](https://community.fibery.io/u/Eren_Turgut)\
**Post date:** [August 12, 2026, 1:41pm UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160/3 "2026-08-12T13:41:59Z")

</div>

I’d love to try and help but don’t fully understand the desired outcome.

> [@AdVhPkgKad](#):
>
> you can’t send multiple assets from Person A **AND** Person B to Person C within a single transfer.

Why is the desire to group as many transfers as possible to a single Transfer entity?  
How do you envision this transfer?

From: Person A, Person B  
To: Person C  
Date: Date  
Assets: Asset #1 (of A), Asset #2 (of B)

Something like this? But how would you know which asset was from whom, in my example I have the brackets, how do you envision this within a single Transfer entity where just Asset 1 and Asset 2 are linked?

Could a simple “Transfer log” Rich text field in the “Asset” database with automations to log transfers there solve the problem, without the “Transfer” database – or why not (to understand the issue better)?

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [August 12, 2026, 2:00pm UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160/4 "2026-08-12T14:00:25Z")

</div>

> [@AdVhPkgKad](#):
>
> This breaks twofold — not only does it duplicate records, it actually splits the assets.

I am not sure why the current design is problematic. If a single record represents a single asset being transferred from one person to another, every time multiple assets get transferred at the same time, this is recorded as multiple transfer records.  
Any time you want to aggregate, you can do that, e.g. a view of all transfers on a given date, grouped by sender (or recipient). If necessary, you can also use auto-linking rules to allow related asset transfers to be visible to each other, e.g. same date transfers from the same sender.  
And of course Fibery reporting will work brilliantly for analytics/visualisation

---

<div class="post-metadata">

**Author:** ![AdVhPkgKad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@AdVhPkgKad](https://community.fibery.io/u/AdVhPkgKad)\
**Post date:** [August 12, 2026, 10:46pm UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160/5 "2026-08-12T22:46:50Z")

</div>

I don’t think I was clear.

I mean to say that a transfer is only ever:

- From → Person
- To → Person
- Date → Date
- Assets → Array[Asset, Asset, Asset, ..]

Never

- From → Array[Person, Person, ..]
- To → Person
- Date → Date
- Assets → Array[Asset, Asset, Asset, ..]

Nor

- From → Person
- To → Array[Person, Person, ..]
- Date → Date
- Assets → Array[Asset, Asset, Asset, ..]

And what I was getting at is that the form can’t dynamic filter. If Person A is selected as FROM, then only Assets assigned to A should be selectable.

---

<div class="post-metadata">

**Author:** ![AdVhPkgKad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@AdVhPkgKad](https://community.fibery.io/u/AdVhPkgKad)\
**Post date:** [August 13, 2026, 5:07am UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160/6 "2026-08-13T05:07:03Z")

</div>

Never mind. I just made a custom app wrapper over it.

---

<div class="post-metadata">

**Author:** ![Eren\_Turgut](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/eren_turgut/32/4425_2.png) [@Eren\_Turgut](https://community.fibery.io/u/Eren_Turgut)\
**Post date:** [August 13, 2026, 6:05pm UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160/7 "2026-08-13T18:05:46Z")

</div>

I think I understand, I’ve had a similar situation.

You can create a checkbox field for the Assets, e.g. “Transfer next”. Then first select which one’s you want to transfer, then click a button which:

- creates a transfer, after prompting user for “To” and “Date”
- links “From” = Current Asset manager
- links Assets which have “Transfer next” checked to that “Transfer” entity
- Unchecks “Transfer next” for these Asset entities

Last step could be done as an automation within the Assets:  
If Transfer linked to an Asset, and Asset has “Transfer next” checked → uncheck “Transfer next”.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [August 13, 2026, 6:37pm UTC](https://community.fibery.io/t/how-to-get-button-to-run-a-bulk-function-across-multiple-entities-which-creates-only-one-new-entity-and-relates-it/11160/8 "2026-08-13T18:37:01Z")

</div>

> [@AdVhPkgKad](#):
>
> what I was getting at is that the form can’t dynamic filter

> [@"Filters aren’t applied because they have missing ‘𝑥’ dynamic values"](https://community.fibery.io/t/filters-aren-t-applied-because-they-have-missing-dynamic-values/4560):
>
> Here is one place that I can’t use the dynamic relation filter: This is from a Button whose Action is “Link entities (Ask User)”, for a self-related M2M collection. The filter does remember its setting, which is great +1

Forms don’t offer dynamic filtering yet, no
