I would like to close the workflow if the delay is exceeded by more than x days

I think that I understood your method and I seem to correspond to my need but when I put a following action END with as condition <WF_ACTIVITY_INST_OVERDUE_MINUTES>> 2 on my portal the action remains to be done while the delay of 2 minutes is exceeded . I thought the action disappeared and closed the workflow ???