web services - Ending a nintex workflow through JavaScript -


hopefully has answer out there , unable find it. question is:

is there way end nintex workflow (on list item) through use of javascript?

points i've come across while researching today:

note using sharepoint server 2013 (part of issue believe).

any appreciated

there web service action terminate workflow: terminateworkflow

you need build soap request in javascript. documentation has example:

<soap:envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"     xmlns:nin="http://nintex.com">    <soap:header/>    <soap:body>       <nin:terminateworkflow>          <nin:listid>00000000-0000-0000-0000-000000000000</nin:listid>          <nin:itemid>0</nin:itemid>          <nin:instanceid>4f3d251f-3e3d-4065-8784-8d698868f429</nin:instanceid>       </nin:terminateworkflow>    </soap:body> </soap:envelope> 

it has response sample:

<soap:envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"     xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"     xmlns:xsd="http://www.w3.org/2001/xmlschema">    <soap:body>       <terminateworkflowresponse xmlns="http://nintex.com"/>    </soap:body> </soap:envelope> 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -