# Atomic transactions within Glide

**URL:** https://community.glideapps.com/t/atomic-transactions-within-glide/44407
**Category:** Ask for Help
**Created:** [July 13, 2022, 4:27pm UTC](https://community.glideapps.com/t/atomic-transactions-within-glide/44407 "2022-07-13T16:27:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MattLB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mattlb/32/41284_2.png) [@MattLB](https://community.glideapps.com/u/MattLB)
#### Post date: [July 13, 2022, 4:27pm UTC](https://community.glideapps.com/t/atomic-transactions-within-glide/44407/1 "2022-07-13T16:27:28Z")

</div>

I have a number of actions such as AddRow / SetColVal that run in succession (3-4 tables usually) to create relations among various tables. It has never failed in my months of testing.

But is their a way for some operations to succeed but others fail do to system failure, etc leaving relationships “hanging”? This was brought up by an engineer I was talking to and figured I would ask this knowledge-base.

---

<div class="post-metadata">

### Author: ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)
#### Post date: [July 13, 2022, 5:18pm UTC](https://community.glideapps.com/t/atomic-transactions-within-glide/44407/2 "2022-07-13T17:18:32Z")

</div>

> [@MattLB](#):
>
> This was brought up by an engineer

You might ask the engineer why he thinks so.

Normally when processes are writing to the database, programmers will wrap the entire thing in a “transaction”, so that if one part of the transaction fails, the process can be “rolled back”, and none of the actions will occur.

This is more desirable than the scenario you mention where only part of the changes/additions will happen. That is because in custom actions, one part of the change often relies on another part of the change being in place for everything to function as desired.

That being said, only Glide can answer the question as to whether their “Custom Actions” are wrapped in transactions. My guess would be ‘Yes, of course!’

---

<div class="post-metadata">

### Author: ![MattLB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mattlb/32/41284_2.png) [@MattLB](https://community.glideapps.com/u/MattLB)
#### Post date: [July 13, 2022, 5:38pm UTC](https://community.glideapps.com/t/atomic-transactions-within-glide/44407/3 "2022-07-13T17:38:08Z")

</div>

> [@David\_Gabler](#):
>
> You might ask the engineer why he thinks so.

He was describing transactions and I used/misused the term ‘atomic operation’ to describe when all succeeded or none did.

But you answered the question I was asking - thanks.
