# June 1, 2023 / Selects in automation Formulas, custom Button messages

**URL:** <https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534>\
**Category:** Changelog\
**Created:** [June 1, 2023, 10:21am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534 "2023-06-01T10:21:45Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoniokov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/antoniokov/32/201_2.png) [@antoniokov](https://community.fibery.io/u/antoniokov)\
**Post date:** [June 1, 2023, 10:21am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/1 "2023-06-01T10:21:45Z")

</div>

## ⤵ Propagate select value in automation Formulas

 ![select-propagation](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/d/d39580995d44fa9fd5b1b012b6f3712c8494482c.png)

Previously, [scripts](https://the.fibery.io/@public/User_Guide/Guide/Scripts-54) have been the only way to set single- and multi-select Field values in automations. Now that we’ve remembered we are a no-code tool, we introduce an easier way.

Set a value of a select Field using another select Field:

- a Client is created from a Lead =\> copy `Tags` and `Segment`
- a Bug is created =\> set default `Priority` based on the parent Feature’s `Priority`
- a Private Task is moved to the next state =\> move the linked Public Task to the same state

We match select options between DBs by name. Check out the details at the bottom of the guide: [Select Field](https://the.fibery.io/User_Guide/Guide/Select-Field-87).

Now back to code again 😅…

### 💬 Display custom success and error messages for scripted Buttons

 ![button-success-message](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/6/65d581714357c3cb5682f63934ebdfdad812f435.png)

“Button has completed” is sometimes not informative enough for the end-user:

- the results vary based on conditions  
`Next` → “✅ Moved to QA state”
- the results take a while to appear on the screen  
`Insert Template` → “✅ The template is coming…”

Now you can add a custom message by returning a string at the end of your script:

```auto
return `${tasks.length} Tasks have been added from the template`;

```

 ![button-error-message](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/4/46fd0da642deb97ff054f495a12c7aa053e09178.png)

Similarly, you can show custom error messages:

- `Generate Tasks` → “❌ Please specify the template”
- `Next` → “❌ Please set priority before moving to the next state”
- `Approve` → “❌ You have to be a manager to approve”

To do so, throw an error at any point in your script:

```auto
if (!project.template) {
    throw new Error("Please specify the template");
}

```

### 𝑥 Show current value for dynamic options

 ![dynamic-option-current-value](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/4/46a78bc7db6b3b8d1c6f4281ebca3400866371e1.png)

Dynamic values in [relation filters and sorts](https://the.fibery.io/@public/User_Guide/Guide/Relation-Filters-and-Sorts-177) are pretty abstract, so we’ve added a tiny bit of concreteness by displaying the current value on hover.

## 💨 Click to links faster

Now all links in documents and rich edit open when you click them. Previously we showed a menu and you had to click again to navigate. Hover on a link to edit it or copy it.

 ![Screenshot 2023-06-01 at 5.16.31 PM](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/0/0fe396b9b66ab4270875a4f1bce00b146b50a0a7.png)

## 🦐 Fixed Bugs

- Whiteboard: Safari: Sticky Notes does not display on the frame
- Whiteboard: Safari: It’s impossible to quit full screen mode of embedded whiteboard via mouse
- Browser ‘Back’ & ‘Forward’ buttons do not work in some cases
- Deleting database in Notion Sync leads to falling sync in Fibery
- ‘Show empty Field’ control is not disabled for users who don’t have permissions to edit view
- Sometimes clicking on Mention for the first time does not work
- Timeout on recent items query on the edge
- Icons should be added to Spaced drop-down on Import page
- Duplicated titles on large cards on Board View
- Change delete button color
- Rich Edit: CMD+Backspace corrupts multiline checkbox or heading
- Views: ranks get reset on every reorder on Entity View in Documents section
- ‘Back’ button behaviour is different for csv and md import
- Ugly error message when user tries to link read-only doc to some entity
- Entities from ‘Other’ section disappears from search results not right after disabling ‘Show other’ option but after page refresh

---

<div class="post-metadata">

**Author:** ![antoniokov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/antoniokov/32/201_2.png) [@antoniokov](https://community.fibery.io/u/antoniokov)\
**Post date:** [June 1, 2023, 10:22am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/2 "2023-06-01T10:22:13Z")

</div>



---

<div class="post-metadata">

**Author:** ![ccollins](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@ccollins](https://community.fibery.io/u/ccollins)\
**Post date:** [June 1, 2023, 1:13pm UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/3 "2023-06-01T13:13:01Z")

</div>

Custom error messages is a neat surprise! I’m always excited for anything to help provide clarification to users on why something is/isn’t working

One thought I had while reading this (and it may already be possible, I’m not very familiar with scripting yet), if you can add line breaks and text formatting inside the error message, you could create buttons just for displaying temporary entity summaries. I think this could actually be very useful.

- For example, a project page - 5 tasks due today, then lines below for each person on the project with number of tasks in their court

---

<div class="post-metadata">

**Author:** ![antoniokov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/antoniokov/32/201_2.png) [@antoniokov](https://community.fibery.io/u/antoniokov)\
**Post date:** [June 1, 2023, 4:01pm UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/4 "2023-06-01T16:01:22Z")

</div>

For anything more than a sentence long, I’d actually recommend writing into a rich-text Field using [markdown templates](https://the.fibery.io/@public/User_Guide/Start-6568#Guide/Markdown-Templates-53). An update might be initiated either by a user clicking a Button or by a [scheduled Rule](https://the.fibery.io/@public/User_Guide/Guide/Rules-51/anchor=Recurring-rules--d1f4ff94-b9b3-43c8-bfb8-de602833a449).

---

<div class="post-metadata">

**Author:** ![YvetteLans](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yvettelans/32/6101_2.png) [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Post date:** [June 1, 2023, 9:28pm UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/5 "2023-06-01T21:28:42Z")

</div>

Wow, fucking awesome release 😍😍 really happy with all the changes!

---

<div class="post-metadata">

**Author:** ![YvetteLans](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yvettelans/32/6101_2.png) [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Post date:** [June 2, 2023, 12:14pm UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/6 "2023-06-02T12:14:54Z")

</div>

> [@antoniokov](#):
>
> Now all links in documents and rich edit open when you click them. Previously we showed a menu and you had to click again to navigate. Hover on a link to edit it or copy it.

I really love this! It was kinda annoying that it was not possible to open links directly.

Question: is it possible to default open the link in a new tab? I think that’s best because:

- In most situations, if possible offcourse, we use internal links. To entities, documents, views etc. You want those to open in Fibery → that currently works awesome.
- When internal links are not possible, then we use an URL to go to an external source. And because it’s an external source, default open in new tab is more handy so you don’t loose your Fibery window.

---

<div class="post-metadata">

**Author:** ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Post date:** [June 2, 2023, 12:17pm UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/7 "2023-06-02T12:17:27Z")

</div>

> Question: is it possible to default open the link in a new tab? I think that’s best because:

Hmm, it should work this way. When you have a link in rich edit it should open a new tab

---

<div class="post-metadata">

**Author:** ![YvetteLans](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yvettelans/32/6101_2.png) [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Post date:** [June 2, 2023, 12:21pm UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/8 "2023-06-02T12:21:37Z")

</div>

In my workspace it’s not the default. [Made a quick video](https://vimeo.com/832607093/60b44e1725).

---

<div class="post-metadata">

**Author:** ![antoniokov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/antoniokov/32/201_2.png) [@antoniokov](https://community.fibery.io/u/antoniokov)\
**Post date:** [June 3, 2023, 9:20am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/9 "2023-06-03T09:20:04Z")

</div>

I guess since the link doesn’t start with `https://`, we perceive it as an internal one and add the route to the address of your workspace.

I wonder: do you often type URLs manually or is it more of a test scenario?

---

<div class="post-metadata">

**Author:** ![YvetteLans](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yvettelans/32/6101_2.png) [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Post date:** [June 3, 2023, 10:08am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/10 "2023-06-03T10:08:43Z")

</div>

I copy a link or I use shortcuts via keyboard or voice memo for links I often use. There I can include https:// in the URL if needed 🙂

When I type a link, it usually starts with www. For example, the link to my website. But I don’t do that very often.

---

<div class="post-metadata">

**Author:** ![antoniokov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/antoniokov/32/201_2.png) [@antoniokov](https://community.fibery.io/u/antoniokov)\
**Post date:** [June 24, 2023, 6:27am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/11 "2023-06-24T06:27:33Z")

</div>

Could you please try again?  
We’ve tweaked the link mechanism in the [latest update](https://community.fibery.io/t/june-22-2023-view-icons-prettier-formulas-batch-markdown-import/4661/12).

---

<div class="post-metadata">

**Author:** ![YvetteLans](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yvettelans/32/6101_2.png) [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Post date:** [June 28, 2023, 11:34am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/12 "2023-06-28T11:34:33Z")

</div>

Hi @antoniokov, thanks! Works as expected for external links!

Found out while testing that some Fibery links open inside Fibery (which is awesome) and some open in a new browser tab. Like these:

- A link to an entity
- A link to a comment

Is it possible to open all workspace link in the workspace instead of new browser tab?

And another question regarding internal links: we often use the view description for extra information for the user. But sometimes it’s better to link to the entity of the internal wiki for a more complete explanation/manual for the view because it’s too much information.

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

Unfortunately it’s currently not possible to link to a view or entity in a view description. Is this a known feature request?

---

<div class="post-metadata">

**Author:** ![Tommy\_Hedley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tommy_hedley/32/6468_2.png) [@Tommy\_Hedley](https://community.fibery.io/u/Tommy_Hedley)\
**Post date:** [July 17, 2023, 3:06am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/13 "2023-07-17T03:06:57Z")

</div>

@antoniokov I just started messing around with custom button messages today and realized (as the name implies) that they are limited to only button automations. Is it possible to add custom automation messages to triggered automations as well? I have a number of scripts that stop duplicate entries in various ways, but it would be great to explain the end users what entities are magically getting deleted or unlinked.

---

<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:** [July 17, 2023, 4:52pm UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/14 "2023-07-17T16:52:03Z")

</div>

Rules can run at any time, including when nobody is looking, so there is currently no good way to determine _when_ a Rule-generated message should be shown, or _to whom_.

But here’s a possible workaround:

Create a “Latest Script Message” Text field in your DB, and pin it to the top of the entity view so it is always visible.

Also create an “All Script Messages” Rich Text field to hold all script messages related to an entity.

Then your scripts can set the “Latest Script Message” field, and a separate Rule can append/prepend its content to the RTF for posterity whenever it’s updated, and optionally notify you.

---

<div class="post-metadata">

**Author:** ![Tommy\_Hedley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tommy_hedley/32/6468_2.png) [@Tommy\_Hedley](https://community.fibery.io/u/Tommy_Hedley)\
**Post date:** [July 18, 2023, 12:51am UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/15 "2023-07-18T00:51:39Z")

</div>

Good call @Matt_Blais , I was thinking that the issue would be more that it could get really spammy with automations that trigger often. I hadn’t even thought about the non-user triggered automations. Thanks for the advice, I will look into implementing it.

---

<div class="post-metadata">

**Author:** ![antoniokov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/antoniokov/32/201_2.png) [@antoniokov](https://community.fibery.io/u/antoniokov)\
**Post date:** [July 19, 2023, 1:57pm UTC](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534/16 "2023-07-19T13:57:13Z")

</div>

Matt has done a great job of explaining why message toasts are limited to Buttons 💪  
For Rules, I’d usually rely on [Notify](https://the.fibery.io/@public/User_Guide/Guide/Notify-people-via-buttons-or-rules-109) action, but the Text/Rich-Text Field solution might be an option as well.
