<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic start workflow with a class java in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-with-a-class-java/m-p/284888#M238018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tks for helping me &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 16:28:46 GMT</pubDate>
    <dc:creator>sawa</dc:creator>
    <dc:date>2014-04-08T16:28:46Z</dc:date>
    <item>
      <title>start workflow with a class java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-with-a-class-java/m-p/284888#M238018</link>
      <description>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-definitionsalso I</description>
      <pubDate>Tue, 08 Apr 2014 16:28:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-workflow-with-a-class-java/m-p/284888#M238018</guid>
      <dc:creator>sawa</dc:creator>
      <dc:date>2014-04-08T16:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: start workflow with a class java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-with-a-class-java/m-p/284889#M238019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Log in to Alfresco Explorer (&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco&lt;/A&gt;&lt;SPAN&gt;) then go to the workflow console (&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp&lt;/A&gt;&lt;SPAN&gt;). From there you can do a show definitions all to see the list of deployed workflows, including their names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to run Java code when a document is uploaded to a space, one way to do that would be to write your Java code as an action executer. Then you can tell your rule to invoke the action when the rule criteria is met. If you need to learn how to write an action, see: &lt;/SPAN&gt;&lt;A href="http://ecmarchitect.com/alfresco-developer-series-tutorials/actions/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/alfresco-developer-series-tutorials/actions/tutorial/tutorial.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 22:29:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-workflow-with-a-class-java/m-p/284889#M238019</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-04-08T22:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: start workflow with a class java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-with-a-class-java/m-p/284890#M238020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your help &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 15:40:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-workflow-with-a-class-java/m-p/284890#M238020</guid>
      <dc:creator>sawa</dc:creator>
      <dc:date>2014-04-10T15:40:46Z</dc:date>
    </item>
  </channel>
</rss>

