<?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 Re: Which 3.4 REST method to create workflow and/or task ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256919#M210049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're right, there is a lack of a way to start a workflow via the workflow REST API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The REST API wiki page Mark pointed to you to is the design for the workflow REST API, however, in 3.4 we only implemented the read-only APIs, with the exception of the PUT /api/task-instances/{task-id} (although I just noticed the wiki page incorrectly says this is not implemented, i have fixed that). Share uses this API to re-assign a task, you simply call the API and set the "cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner" property to the username of the new assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Mike also pointed out to start a workflow we use the Form Service, the intention in the future is to use &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Workflow_REST_API#Post_Workflow_Instance" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Workflow_REST_API#Post_Workflow_Instance&lt;/A&gt;&lt;SPAN&gt; to start a workflow but as indicated it's not implemented yet. For the time being you can still use the Form Service to start a workflow from Ruby on Rails, it's just a POST to /api/workflow/{workflow-def-name}/formprocessor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The POST /alfresco/service/api/workflow/task/end/{taskId} API you mention will also eventually be replaced with &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Workflow_REST_API#Post_Task_Instance" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Workflow_REST_API#Post_Task_Instance&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this all helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Nov 2010 10:42:26 GMT</pubDate>
    <dc:creator>gavinc</dc:creator>
    <dc:date>2010-11-30T10:42:26Z</dc:date>
    <item>
      <title>Which 3.4 REST method to create workflow and/or task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256915#M210045</link>
      <description>We are considering whether to move to Alfresco 3.4 to take advantage of the improved workflow API.&amp;nbsp; We're not using Share,&amp;nbsp; instead using a client talking to Alfresco using the REST interface.&amp;nbsp;&amp;nbsp; I know that Workflow is work in progress in 3.4&amp;nbsp; but oddly I cannot find a method to assign a task or cre</description>
      <pubDate>Tue, 16 Nov 2010 12:16:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256915#M210045</guid>
      <dc:creator>groberts</dc:creator>
      <dc:date>2010-11-16T12:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Which 3.4 REST method to create workflow and/or task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256916#M210046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does this page help ?&amp;nbsp;&amp;nbsp; Although once web scripts are developed you should use the on-line index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Workflow_REST_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Workflow_REST_API&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 20:57:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256916#M210046</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-11-17T20:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Which 3.4 REST method to create workflow and/or task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256917#M210047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to clarify: all workflow APIs are via the Forms Service in v3.4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 21:05:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256917#M210047</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-11-17T21:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Which 3.4 REST method to create workflow and/or task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256918#M210048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for taking the time to reply.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Forms Service is new to me.&amp;nbsp; I can see the point of it but its not very RESTful in that the resources, ie spaces, files, tasks are embellished with GUI information.&amp;nbsp;&amp;nbsp; The 'view' of these resources should be the concern of the client code.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My application is completely outside Alfresco and Share,&amp;nbsp; its written in Ruby on Rails and all I want is CRUD access to the building blocks, yet I can't see how to start a workflow or task in the 3.4 Web Script API without resorting to old slingshot services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I should read the documentation some more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While I am on my soap box,&amp;nbsp; CMIS is like an old Remote Procedure Call service, but the complicated arguments are wrapped up in hundreds of lines of XML inside the envelope.&amp;nbsp; Its promoted as REST but is tricky to compose and parse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this does not sound ungrateful,&amp;nbsp; I don't mean it to be !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best wishes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 14:39:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256918#M210048</guid>
      <dc:creator>groberts</dc:creator>
      <dc:date>2010-11-24T14:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Which 3.4 REST method to create workflow and/or task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256919#M210049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're right, there is a lack of a way to start a workflow via the workflow REST API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The REST API wiki page Mark pointed to you to is the design for the workflow REST API, however, in 3.4 we only implemented the read-only APIs, with the exception of the PUT /api/task-instances/{task-id} (although I just noticed the wiki page incorrectly says this is not implemented, i have fixed that). Share uses this API to re-assign a task, you simply call the API and set the "cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner" property to the username of the new assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Mike also pointed out to start a workflow we use the Form Service, the intention in the future is to use &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Workflow_REST_API#Post_Workflow_Instance" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Workflow_REST_API#Post_Workflow_Instance&lt;/A&gt;&lt;SPAN&gt; to start a workflow but as indicated it's not implemented yet. For the time being you can still use the Form Service to start a workflow from Ruby on Rails, it's just a POST to /api/workflow/{workflow-def-name}/formprocessor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The POST /alfresco/service/api/workflow/task/end/{taskId} API you mention will also eventually be replaced with &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Workflow_REST_API#Post_Task_Instance" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Workflow_REST_API#Post_Task_Instance&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this all helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 10:42:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256919#M210049</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2010-11-30T10:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Which 3.4 REST method to create workflow and/or task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256920#M210050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;in 3.4 we only implemented the read-only APIs… …it's not implemented yet.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a timeline for this to be implemented? we are willing to use the existing alfresco API trought REST, that is, using all the alfresco functionality trough webscripts-"javascript" api, and not much "java"-"soap" api, are there actually plans to complete this? since the rest wiki isn't that complete yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have one question, I may be completely off here, since i don't know much about it, is the Surf platform a development environment where one could "write code" for webscript-based applications on top alfresco, where one could use the rest api as you would use a java api in say, eclipse, to do things such as, tap ctrl+tab to see what methods are avavilable on certain "rest service" to be used in a .js hehe. that'd be great. &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 19:27:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256920#M210050</guid>
      <dc:creator>flopez</dc:creator>
      <dc:date>2010-12-16T19:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Which 3.4 REST method to create workflow and/or task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256921#M210051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there a timeline for this to be implemented?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately not, the intention was to implement it in the next release, but the the list of features for the next release is still being discussed and has no definite timeline, it's currently due summer 2011, but that's subject to change too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Surf is a web framework that builds on Spring MVC and integrates web scripts so yes, you can use it to build webscript-based applications but it's not a development environment. There is however, a project part of Surf that provides some developer tools, one of which is some very basic code assistance for writing FreeMarker templates i.e. shows root model objects available.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 12:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256921#M210051</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2010-12-17T12:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Which 3.4 REST method to create workflow and/or task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256922#M210052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can someone help me in giving a solution to my problem below?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; my problem is that i need to create a workflow in alfresco share from outside alfresco. That is i have to create a workflow from outside alfresco share(from drupal) by some means, like calling a web script or any other means. If i create a workflow in drupal that should be reflected in alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need an urgent help on this along with the piece of code if possible. Can anyone please help me on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If not an exact solution at least can someone let me know how to create a workflow in alfresco share from outside alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 15:56:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-3-4-rest-method-to-create-workflow-and-or-task/m-p/256922#M210052</guid>
      <dc:creator>rajarshi</dc:creator>
      <dc:date>2012-05-02T15:56:50Z</dc:date>
    </item>
  </channel>
</rss>

