Reputation: 11
how can I get the document status with Javascript application or CMIS. I mean if it was approved or rejected in a Workflow.
Upvotes: 0
Views: 128
Reputation: 10538
If you are using an out-of-the-box workflow, I don't know of an easy way to get that information because the out-of-the-box workflows do not change any properties on the documents in the workflow package.
You could modify the workflow to set a property on the document. Then you'd be able to check that property to determine what happened in the workflow.
See this tutorial for an example that does this.
Upvotes: 1