Hi, I need some help, I am trying to execute a simple workflow with the PHP API, I am using the function executeActions which are located on the Action web service, but it does not work, someone knows how to do, or has knowledge of the subject, please to share with the community.
I think you have to use Api JavaScript samples. var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "jbpm$wf:reviewpooled"; workflow.parameters["bpm:workflowDescription"] = document.name; workflow.parameters["bpm:groupAssignee"] = people.getGroup("GROUP_myGroup"); var futureDate = new Date(); futureDate.setDate(futureDate.getDate() + 7); workflow.parameters["bpm:workflowDueDate"] = futureDate; workflow.execute(document);