I had nillable element of type datetime. I needed to set value only when incoming value was datetime, otherwise I had to send null. How to do that?

  • Right click on element and select: Statement->Surround with Choice
  • Select 1 when condition and otherwise
  • In when condition should be something like this: string-length(value)>0
  • If condition is true -> insert value
  • Click on the element in otherwise section and select “!” in menu. Then: Content->Set explicit Nil

That’s all.