Skip to main content
Nintex Community Menu Bar
  • 2,188 Topics
  • 5,465 Replies
2188 Topics
StartInstance Methode with DataFields Parameters in REST Request

Hi, how can I call the methode and pass the value for the datafields in my Workflow. Here is the code:$.ajax ({              url: 'http://K2Server/k2services/REST.svc/Process/Definitions(K2.WF.RoleApproval_B_RoleApproval)/StartInstance?folio=MyTest',              method: 'GET',              contentType: "application/json; charset=utf-8",              dataType: "JSON",              cache: false,              async: true,              beforeSend: function (XMLHttpRequest) {                                    XMLHttpRequest.setRequestHeader("Accept", "application/json");                                   $.support.cors = true; },              crossDomain: false,              error: function (data, errors, status) {alert("Error " + status); },              success: function (data) {alert("Success " + status) } }); How can I set the datafields in the code. I have a datafield "owner".

Sidebar Buttons

Badges

Show all badges