2
votes
0answers
69 views

Approve folder in document library from Rest API (SharePoint Foundation 2013)

I am able to approve files easily enough with the url var url = SPAppWebUrl + "/_api/SP.AppContextSite(@target)/web/GetFileByServerRelativeUrl('" + filePath + "')/Approve(comment='AutoApprove - " + ...
0
votes
1answer
689 views

Change Workflow State to Approved

I've build my own approval workflow. My workflow is finished, but the state of the workflow (state in library) is "finished". When I finish the standard SharePoint approval workflow the state is ...