This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

API to change Document workflow state problem

Dear all,

I have problem when using M-Files API change object workflow state, please help.

I have a workflow with somes state.

I using API create a file and create document with this file.

The document on M-Files have default state, then i want to change default state to next state (Requestor)

I get all next state via API: {{MFWSUrl}}/structure/workflows/{{WorkflowID}}/states?currentstate=null 

and call the API: {{MFWSUrl}}/objects/{{ObjectType}}/{{ObjectID}}/{{ObjectVersion}}/workflowstate?_method=PUT

to update state but M-Files not working?

Here is the change object workflow state when i using M-Files Web GUI

Parents Reply Children
No Data