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:
- nintex uses old sharepoint 2010 workflow engine
there no supported web service ending workflow, see;
http://sharepointportal.local/site/subsite/_vti_bin/workflow.asmx
there little/no documentation on javascript usage of
getworkflowinteropservice
method.
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
Post a Comment