What would be the way of replacing a null value returned by a task ?
with a non null value such as one. Is it possible to do it via an expression ? As a workaround i have created an additional separate task
But ideally i would want to do this in one task. So if null, which is taken care of by a xor gateway, replace the null value with one, otherwise use the value returned by the task.
I think you have understood my question though in my use case it would have to look something like,
= if(lasttaskId.taskId = null) then 1 else lasttaskId.taskId
I will have to test this when i get back to the office The variable is used down the line on other tasks so i will need the variable to have 1 if the result returned by the preceding task is null.