Previously a ‘Get Help’ Topic:
Linking entities through automation allows formulas and referencing earlier steps. It appears, this isn’t possible for unlinking…
In automations, the ‘
Link Relation’ action provides the option to use a formula. This is great, because you can reference the Step 1 changes that triggered the automation. But the ‘
- Unlink Relation’ action only provides filters, no formulas. Which could work, but those filters have no reference to the Step 1 changes that triggered the automation.
Please add reference step filtering to automation unlinking or formula support
2 Likes
This is a big need for me. I’m to create an entity when something links, then delete the created entity when something unlinks.
I’ll try making it with scripts. But I’m not sure if that’s even possible as I can’t find a way to reference the “Step 1 Unlinked Entity” using scripts…
1 Like
I am not sure if this solves your problem, but I have several rules in Fibery title “Delete if Disconnected”
Basically this rule looks at the relationship field and if that field is updated and is empty then the entity is deleted.
Thanks for the suggestion, but it doesn’t solve my use case. I dont want it to delete when something unlinks. I want to be able to use a formula to unlink something from the triggering entity.
My specific case is “Amount per currency”
When a currency is linked, it should create an amount per currency with that currency that was linked. Then if a currency is unlinked, it should unlink/delete all the “Amount per currencies” that have the currency = the unlinked currency.
2 Likes