cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

How to complete Flexi Task from list item form?

Jump to solution

Long story short I have to provide an option to complete the Flexi Task on a list item form the workflow is running. I was going to use the parallel branches and "Complete workflow task" action but it turns out it requires an ActionID which is not available in Flexi Task. So what are my options now? Thanks!

Labels: (2)
0 Kudos
Reply
13 Replies
Highlighted
Nintex Newbie

Re: How to complete Flexi Task from list item form?

Jump to solution

I'm not quite understanding what you are trying to do.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to complete Flexi Task from list item form?

Jump to solution

The Problem: how to complete a Flexi Task using the "Complete Workflow Task" action (looks like it is not possible).

Details: I will put Approve/Reject option on a list item form for which there is an active Flexi Task. The right branch waits for a change in that field and then it Approves or Rejects the associated task. The user is not going to the task form to complete it but is going to a list item form to do it.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to complete Flexi Task from list item form?

Jump to solution

I've never had a user go to a list item to do it. I've always sent them the link to the form in an email to complete it.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to complete Flexi Task from list item form?

Jump to solution

And in 90% of situations this is the case for me too but in this example I have different requirements.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to complete Flexi Task from list item form?

Jump to solution

Are you trying to allow a user to complete a workflow task from a list item which trigger the workflow? 

I have tried the parallel branch with action ID approach and yes action ID does not equal to Task ID so it isn't going to achieve what you are trying to do assuming i understood you right. I am not sure if there is a neat and reliable out of the box way to achieve this.

However I have used custom approaches to achieve this using CSOM such as Javascriptand. 

Set a unique name for your workflow task title(eg list title + item id)  so you can query it and get the Task ID using javascript. Add task button to your Nintex form which is bound to your list. Associate it with javascript function to complete the workflow tasks. 

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: How to complete Flexi Task from list item form?

Jump to solution

as Thomas suggests, configuring own task identifier and query the Task list for it is only possible way.

but I would say doing task list lookup in workflow would be much easier than in forms.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: How to complete Flexi Task from list item form?

Jump to solution

Hi ‌,

because in the flexi task you have just two branch (Approval/Reject), couldn't you use Require Approval instead of Flexi Task? In that way you could use Complete Task because you can save the ActionID.

Giacomo

Reply
Highlighted
Nintex Newbie

Re: How to complete Flexi Task from list item form?

Jump to solution

I don't understand why you are using a switch. Why not use a Flexi task in its place?

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to complete Flexi Task from list item form?

Jump to solution

Hi ‌  - Not sure if I understand this. Will that allow approving the task from the item form?

0 Kudos
Reply