I have a workflow to send out an email, when ...

(Frederik Munk Brønserud) #1

I have a workflow to send out an email, when a user changes a

date. I achieve this with the following condition:

[_THISROW_BEFORE].[Aftalt dag CPE]<>[_THISROW_AFTER].[Aftalt dag CPE]

However, it also sends out an email if I update another field, while the [Aftalt dag CPE] field is empty, and remains empty.

Is this a bug, or did I do something wrong?

(Aleksi Alkio) #2

It’s not a bug… it’s how it works when your field is blank. It will give you TRUE in any way. Add an AND statement to your expression like AND(ISNOTBLANK([After dag CPE]),…)

(Frederik Munk Brønserud) #3

@Aleksi_Alkio Seems strange to me, since the BEFORE value is null, and the AFTER value is also null, and null=null, but okay. Thanks for the help with the AND-statement :slight_smile:

(Aleksi Alkio) #4

This is a known functionality but if I remember correctly, it’s very difficult to fix.