Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4560 Widoki

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 ?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lip 25
884
1
maj 25
1604
ADD PROPERTIES Rozwiązane
1
maj 25
2611
2
mar 25
1507
1
mar 25
2587