An Azure service that automates the access and use of data across clouds without writing code.
@Jihad H I belive mydate1 and datetimeNow are your input parameter that can have null value. In that case you need to check mydate1 and datetimeNow value if it is not null before evaluating the experssion max(ticks(adddays(mydate1, 1)), ticks(adddays(datetimeNow, 4)))
In addDays the timestamp and days are the required parameter and that cannot be null. Similarly ticks timestamp is required and for max both the paramter are required. This condition needs to be handle in your workflow using condition actions.