As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
I am currently trying to create a process by using the REST API : HTTP POST request at /alfresco/api/-default-/public/workflow/versions/1/processes with the following data:
{ "processDefinitionKey": "mbWfAddContent", "variables": { "bpm_assignee": "...", "bpm_sendEMailNotifications": true, "bpm_workflowPriority": 0, "mbwf_contentType": "Recording" }
if(bpm_package.children.length == 1) ..... else throw new Error("Incorrect number of document attached to this workflow. Only one document is accepted");