We need more details. Are you trying to subtract current date from process date? That doesn’t work, not when you actually have objects or variables with a datatype of Date time.
The general way of calculating difference in days in Webi is =DaysBetween([First Date];[Last Date])
It sounds like you need something to handle the nulls in [Process Date]
If you want 0 as your outcome then I’d suggest a variable Denulled Process Date like: =If IsNull([Process Date]) Then CurrentDate() ELSE [Process Date]
Then your DaysBetween based on the above will be: =DaysBetween([Denulled Process Date];CurrentDate())
If Process Date is null, then the above will evaluate as =DaysBetween(CurrentDate(),CurrentDate())
and will therefore be the 0 that you want.