Under the Task Action Configuration, based on whether the task is assigned to a group or a individual , task configuration has option to
Store task ID(s) in a workflow variable type integer or collection.
Hope this helps
It is great that i can get the task ID from the approval task action, because then i can build a URL to that task form. However, my problem is that the workflow is holding at the task approval process. Thus i cannot use the workflow to perform other actions in the mean time.
My overall goal is to put a link on my form to the approval task. Even though the approver will get an email with the link to the task, i am trying to add a link on the form that goes to the open approval task. I was hoping to build a URL with the task ID.
I would recommend against it, as you have to check the task is complete and then hide the link etc.. Designing Nintex Workflows and Forms is different from designing forms using InfoPath(regular SharePoint). Nintex recommends keeping the list forms as simple as possible, and designing a form per task promoting separation of Process logic from Presentation. Forms are part of the workflow minimizing the effort required to keep the list form in sync with the workflow steps.
I suggest you to check out the Flexi task and create a custom form for this approval task, the flexi task form allows you to display and edit columns of the list item on which the task is created and also choose the outcome ( Approval / Rejection ..etc)
But if you still feel that you have to show the task url on the mail form then workflow variables can be accessed in Nintex forms, so check for no null and form the link using calculated field.
Hope this helps
I needed to do something similar as well. Our users wanted to be able to go to the approval task either directly from the form, or from viewing the list of outstanding forms. Many do not like to use the emails and sometimes due to the volume, some emails get lost or ignored. Either way, it's the users who drive the use and if you don't make it the way they want to use it then eventually it will be abandoned.
Here's my method to add a link to approval task directly on the form:
Those are all the parts that should get you going. You can clean up the user experience by adding some rules to the calculated value and button fields to hide when it's not an approver, or once the task is complete. Note this method may need to be tweaked if your approval task creates multiple task items. It assumes one task item is created.
Hope this helps.
Thanks for the great suggestion. I was able to accomplish adding a link to the approval task directly on the form by the following steps
These steps take place on the TASK LIST:
I am sorry to say on this forum that i do not use Nintex Forms, but would like to illustrate that NWF can be used with Other Form Tools.
Thanks for the help
Hey, I've got a pretty similar requirement and I've been able to use this approach successfully. I've just used the SiteURL variable to build parts of the Task Edit Form URL. In my case however I have a number of parallel tasks, so that I have to use the lookup() function with 5 parameters / just set true for the 5th parameter so that an array is returned instead of one value.
I did exactly as you described and able to get workflow task ID in calculated field, but somehow button click is not working , it is redirecting to same request and not workflow task. Can you please help