If I have a custom page created to action tasks, I would need to attach a taskId to that page, maybe via url parameter. I can then fetch assignment Id at the backend.
In order to do so I need to provide custom page url in the email of the task, along with taskId in the url parameter. At present I can only get FormUrl and not TaskID from the action variable.