Skip to main content
Nintex Community Menu Bar
  • 2,189 Topics
  • 5,468 Replies
2189 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

  • Keep it up
    SumitSuhas earned the badge Keep it up
  • First topic
    SumitSuhas earned the badge First topic
  • First reply
    SumitSuhas earned the badge First reply
  • Tenacious
    EvgeniosEhas earned the badge Tenacious
  • Coach
    MillaZhas earned the badge Coach
Show all badges