It’s common have a main item or document with associated tasks when working with a workflow. If you need a link from the task form to the main item form, perhaps to update the main item, here’s how to do it. This was tested on Office 365.
Here’s what the function looks like:
The [Common:Item URL] means that you should get the common reference “Item URL”. That returns the full URL to the item the task is associated with – in this instance, the main case.
The “mode=1” forces the item to open in edit mode.
If you test in in preview mode, the button will open a new window but doesn’t link to an item. You need to run the workflow to see it in action.
Source for mode=1 trick: A Better Way to Open Nintex Task Forms in Edit Mode Using Nintex Forms for Office 365