Flexi Task Approval Using C#

  • 18 June 2023
  • 4 replies

Badge +1

I have a requirement to update Flexi Task created from Nintex Workflow 2016 using C#. Task has default approval action Approve & Reject.

I am using code from this link to Approve relevant task in Approval Task list. Item is getting updated but its outcome is not updating. In List View it shows outcome is Approve but when I edit item outcome choices remain unselected. Please correct me or provide me correct code.


Thanks & Regards




Best answer by SimonMuntz 19 June 2023, 00:06

View original

4 replies

Userlevel 6
Badge +21

Hi @Ali-Raza,


The Nintex SDK does not have C# code but it does have web requests.
If you can get your C# code to call a web service you can approve Nintex Tasks that way.

Badge +1

Thanks @SimonMuntz. I believe this way it would work.

Can you refer me some sample calling this webservice using JavaScript.

Userlevel 6
Badge +21

Hi @Ali-Raza ,


I dont have any examples of calling this web service with JavaScript. 

A quick Google search did provide many examples of calling webservices with JavaScript.

Badge +1

Hi @SimonMuntz 

Thanks for your suggestion of using Nintex SDK. I was able to get JavaScript sample code using Postman and able to approve the task.


Thanks & Regards