You need to use one of the Modify functions - currently, you're using the position of the object in local space, which will probably be somewhere totally different :)
Use the Inverse Transform Direction modify selection.
For a sliding door it might just be better to use the Change Position node and fade to a fixed position (e.g. X=0, Y=1, Z=0 in local space would move the door up by 1 world unit).