Hi all,
I'm using the following code that used to work before I had turned enabled versions in a list.
Thanks
I'm using the following code that used to work before I had turned enabled versions in a list.
var itemURL=siteURL +'/Lists/'+changeList+itemID + '_.000';
$().SPServices({
operation: 'StartWorkflow',
item: itemURL,
templateId: workflowTemplateID,
workflowParameters: '<Data><submit>1</submit></Data>',
completefunc: function() {
alert('Record Submitted for review.');
}
});
I was doing some testing and I found it no longer worked after I had enabled versioning. The strange part is that the complete function is still triggered. I figured it would've resulted in an error. Perhaps it requires passing a version number? Has anyone experienced this?Thanks