Hello everyone, I am trying to use the expression component of toolkit plugin returing date type. I have tested many ways and it is not working. For simple calculations returning number, that is ok, but returning dates it isn’t.
Look at this example. I’ve tried to use a simple current date.
but the result value is always empty as you can see in the picture below.
Finally I got this error
Is there a problem with the plugin or I have to use the plugin in a different way?
You need to add “formatted as JSON safe” and it should work!
Hi @twkrk , thanks a lot. Sometimes I miss a variable that is recalculated automatically. Expression is a very good option in this case. Now, working with dates, it’s much better.
@twkrk now I have to create a list of dates and I am trying to use list item expression, where the souce is a list of numbers and for each number I want to plus some days (comming from the source list). Something like the figure below. However, in this case, the formatted as JSON-safe is not working. Do you know how to do thay?
Hi, I’ve found the formula.