<?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: How to call Assign-workflow webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234040#M187170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thats a useful warning Mike.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could not tell from the service index that this Web Script was likely to change.&amp;nbsp;&amp;nbsp; It would be worth including a caveat in slingshot scripts to warn others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't see any other Web Scripts in the index that can start a simple workflow.&amp;nbsp; I need to let users of our client application assign tasks to other users,&amp;nbsp; just really to sign off documents as happens in the JSF application.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This must be a common use case so I expect its been done several times,&amp;nbsp; I just can't see the right script.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched Jeff Pott's Alfresco Developer Guide book for a web script to assign basic workflow to people via a REST service but didn't find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Sep 2010 20:21:20 GMT</pubDate>
    <dc:creator>groberts</dc:creator>
    <dc:date>2010-09-19T20:21:20Z</dc:date>
    <item>
      <title>How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234035#M187165</link>
      <description>Hi,I am trying to&amp;nbsp; start advanced workflow using assign-workflow webscript (POST /alfresco/service/slingshot/doclib/action/assign-workflow). However I don't know how to pass parameters to this script. I understand that it is a POST method (not GET). Studying code for script I found that I need ID of</description>
      <pubDate>Fri, 30 Jul 2010 09:08:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234035#M187165</guid>
      <dc:creator>dsnkostic</dc:creator>
      <dc:date>2010-07-30T09:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234036#M187166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Most of Alfresco's REST APIs require a JSON data structure in the request body. Use something like Firebug for Firefox to see the format.&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>Fri, 30 Jul 2010 09:20:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234036#M187166</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-07-30T09:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234037#M187167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you find the right syntax ?&amp;nbsp; I have *exactly* the same question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I am going to have to build the json by trial and error by referrng to the implementing web script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It kind of defeats the purpose of an interface if you have to look behind it to find out how to use it.&amp;nbsp; I can see the required parameters but will have to guess at the format until it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One tip, sorry if its obvious,&amp;nbsp; is to use Firefox Restclient to understand how to call the service before coding it in your client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great to see example json arguments with the other info about each call. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This would help people save time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 16:38:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234037#M187167</guid>
      <dc:creator>groberts</dc:creator>
      <dc:date>2010-09-17T16:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234038#M187168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(I can't use Alfresco web client to see the json because it calls the script from within the Java Server Faces thing)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 16:41:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234038#M187168</guid>
      <dc:creator>groberts</dc:creator>
      <dc:date>2010-09-17T16:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234039#M187169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please note the /slingshot REST APIs are deliberately not documented, as they are not maintained so as to guarantee backward compatibility between versions. They are there purely to support that version of the Share client and are prone to change both parameters and output depending on Share's current requirements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The /api namespaced webscripts are documented on the wiki.&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>Fri, 17 Sep 2010 22:35:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234039#M187169</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-09-17T22:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234040#M187170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thats a useful warning Mike.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could not tell from the service index that this Web Script was likely to change.&amp;nbsp;&amp;nbsp; It would be worth including a caveat in slingshot scripts to warn others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't see any other Web Scripts in the index that can start a simple workflow.&amp;nbsp; I need to let users of our client application assign tasks to other users,&amp;nbsp; just really to sign off documents as happens in the JSF application.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This must be a common use case so I expect its been done several times,&amp;nbsp; I just can't see the right script.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched Jeff Pott's Alfresco Developer Guide book for a web script to assign basic workflow to people via a REST service but didn't find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Sep 2010 20:21:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234040#M187170</guid>
      <dc:creator>groberts</dc:creator>
      <dc:date>2010-09-19T20:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234041#M187171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case anybody else wants to know how to call the script mentioned above, this is what the JSON sent by share looks like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"date":"","description":"Test","nodeRefs":["workspace://SpacesStore/f6247846-cb02-41f9-820c-089289051dd2"],"people":["admin"],"type":"wf:review"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But as Mike says it is not likely to keep working in future releases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 10:36:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234041#M187171</guid>
      <dc:creator>groberts</dc:creator>
      <dc:date>2010-09-20T10:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234042#M187172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Indeed, I've removed that webscript (along with the create folder one) in 3.4. Share now supports both functions: Start Workflow and Create Folder via the Forms Service.&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>Mon, 20 Sep 2010 10:47:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234042#M187172</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-09-20T10:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Assign-workflow webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234043#M187173</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;Just to put things in context,&amp;nbsp; I'm using Ruby on Rails and EXT JS to write our client.&amp;nbsp;&amp;nbsp; We've not got a lot of resource (who has) and so I jump at any chance to use existing components.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your continued work !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 23:26:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-assign-workflow-webscript/m-p/234043#M187173</guid>
      <dc:creator>groberts</dc:creator>
      <dc:date>2010-09-20T23:26:36Z</dc:date>
    </item>
  </channel>
</rss>

