Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

How to update the internal status of workflow to completed after workflow temination in document library using JSOM.

$
0
0

I have terminated workflow in document library using JSOM code as below:

workflowInstanceService.terminateWorkflow(instance);

It is terminating workflow properly but not updating the internal status of workflow. It is still showing internal status as In Progress. See Below.

Internal Status:  Terminated


Status:  In Progress

I want to update internal status as Completed using JSOM.



Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>