# End an automation partway through with script

**URL:** <https://community.fibery.io/t/end-an-automation-partway-through-with-script/5225>\
**Category:** Get Help\
**Created:** [September 29, 2023, 11:35pm UTC](https://community.fibery.io/t/end-an-automation-partway-through-with-script/5225 "2023-09-29T23:35:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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 2, 2023, 2:25pm UTC](https://community.fibery.io/t/end-an-automation-partway-through-with-script/5225/7 "2023-10-02T14:25:07Z")

</div>

> [@Tommy\_Hedley](#):
>
> I can’t figure out how to write an `If` statement that lets me leave the `false` outcome as blank since it requires both the `true` and `false` outcomes to be a User type.

Related: [Allow to return an empty value from a formula - #2 by Matt\_Blais](https://community.fibery.io/t/allow-to-return-an-empty-value-from-a-formula/2983/2)

---

_[View the full topic](https://community.fibery.io/t/end-an-automation-partway-through-with-script/5225)._
