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.