Get task from a task URL

Certified Lead Developer

Hi Community,

Is there a way to zero in to a task using the task URL..? The task URL looks something like this - /suite/rest/a/task/latest/nyRHm7PRCKoujsVRqz/form and I would like to understand specifically what task it corresponds to.

  Discussion posts and replies are publicly visible

Parents
  • I second Stefan's question above - why do you need this?. In general it isn't possible to determine which task ID corresponds to a URL for security reasons, since if a user had a task ID, it's possible they could then use it programatically to try and cancel or reassign the task. You can use the a!urlForTask to go from the ID to the URL, but it isn't possible to do the opposite.

Reply
  • I second Stefan's question above - why do you need this?. In general it isn't possible to determine which task ID corresponds to a URL for security reasons, since if a user had a task ID, it's possible they could then use it programatically to try and cancel or reassign the task. You can use the a!urlForTask to go from the ID to the URL, but it isn't possible to do the opposite.

Children