Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4581 Weergaven

I asked myself how to make a filter on an automatic action so that this action only applies to newly created elements (not on modification).

I first though of using a pre-filter, checking that id is False, but looking at the code, I've seen that on creation, actions with a pre-filter are ignored.

So for now the solution I have though of is checking that creation_time and modification time are the same. But I think you can set it as a domain filter, as domain filter match a field with a raw value, not a field with another field.

Anyone has an idea to do that ?

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 25
71
0
jul. 25
891
1
mei 25
1643
1
mei 25
2790
2
mrt. 25
1517