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.
var document = search.findNode("workspace://SpacesStore/ad5dff9b-e902-40a5-9dd5-052cffda348e"); var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "jbpm$jkptkwf:Demolition"; workflow.parameters["bpm:assignee"] = person; workflow.parameters["jkptkwf:buildingName"] = "Webscripthuset"; workflow.parameters["bpm:workflowDescription"] = "Testar att start ett workflow via webscript"; workflow.execute(document);