How to send an Email containing userinput task link to complete ,before hitting User Input Task node in the process model

Hi Developers,

I am facing issue while trying to send an email containing User Input Task link using function a!urlfortask(tp!id,false) before hitting that User Input Task node.

When I clicked that task link that was generated using above function,it is getting an error like i attached pic.please check in attachments

  Discussion posts and replies are publicly visible