AnsweredAssumed Answered

start workflow with a class java

Question asked by sawa on Apr 8, 2014
Latest reply on Apr 10, 2014 by sawa
Hi, I want to create a Java backed webScript that start a workflow. I've seen some tutorials and tried to do the same but i don't know what to put in the workflowService.getAllDefinitionsByName("???????") to access the workflow (because my workflow doesn't appear at s/api/workflow-definitions

also I don't know how to indicate that after uploading a document in a space my class should be invoced ( i've created a rule and indicated that a javascript should be run  if a document is upload) but now with a class java i don't know how to proceed because there is no option in creating a rule related to java classes.
tks for helping me