<?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: Workflow JavaScript API Examples in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181946#M135076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is a great start.&amp;nbsp; And I can nearly use this as is.&amp;nbsp; The only catch I have is, our user will not be directly logged in because they are coming from a portal.&amp;nbsp; And when I looked at the code it is nearly magic because there is no JS file that backs it.&amp;nbsp; So it is unclear to me how the task lists gets populated on the backend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2008 19:18:09 GMT</pubDate>
    <dc:creator>rdifrango</dc:creator>
    <dc:date>2008-09-25T19:18:09Z</dc:date>
    <item>
      <title>Workflow JavaScript API Examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181944#M135074</link>
      <description>Are there any example of using the Workflow JavaScript API for things like:Getting a list of the tasks assigned to a particular userAllowing a particular user to submit their tasks via the standard WCM process.Approve/Reject actions?I am currently evaluating the 3.0 series so I was using the followi</description>
      <pubDate>Thu, 25 Sep 2008 18:02:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181944#M135074</guid>
      <dc:creator>rdifrango</dc:creator>
      <dc:date>2008-09-25T18:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow JavaScript API Examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181945#M135075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://forge.alfresco.com/projects/flexspaces/" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/projects/flexspaces/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; in the XML Data WebScripts&amp;nbsp; webscripts-only.zip download has some workflow/task javascript webscripts in integratedsemantics/tasks/*.*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;endTask (approve/reject), startWorkflow, taskAttachments, taskList (gets list of tasks for current user), taskTransitions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there are some wcm specific JavaScript webscripts in integratedsemantics/wcm/*.*, (for wcm/avm folderlist, tree, copy, move, list avm stores) and some of the other webscripts work in avm/wcm "mode" based on the arguments passed (upload, createspace, delete)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: More wcm apis need to be added to the alfresco Javascript api.&amp;nbsp; I did see something in the wiki where Peter Monks was working on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve Reiner &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.integratedsemantics.org" rel="nofollow noopener noreferrer"&gt;http://www.integratedsemantics.org&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.integratedsemantics.com" rel="nofollow noopener noreferrer"&gt;http://www.integratedsemantics.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 18:39:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181945#M135075</guid>
      <dc:creator>stevereiner</dc:creator>
      <dc:date>2008-09-25T18:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow JavaScript API Examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181946#M135076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is a great start.&amp;nbsp; And I can nearly use this as is.&amp;nbsp; The only catch I have is, our user will not be directly logged in because they are coming from a portal.&amp;nbsp; And when I looked at the code it is nearly magic because there is no JS file that backs it.&amp;nbsp; So it is unclear to me how the task lists gets populated on the backend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 19:18:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181946#M135076</guid>
      <dc:creator>rdifrango</dc:creator>
      <dc:date>2008-09-25T19:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow JavaScript API Examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181947#M135077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to give you a little more color, we already have an impersonate service that we use in all of our WebScripts.&amp;nbsp; So for all of the calls, we have an additional parameter of the user and the first thing [and last thing] we do is impersonate.&amp;nbsp; I looked over the template and it looks like you just do a &lt;/SPAN&gt;&lt;STRONG&gt;workflow.assignedTasks&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; I am presuming that when you login, the workflow object automatically gets all its tasks.&amp;nbsp; Now the question is, if I add a JS file that does the impersonate will the assigned tasks automatically appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 19:50:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181947#M135077</guid>
      <dc:creator>rdifrango</dc:creator>
      <dc:date>2008-09-25T19:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow JavaScript API Examples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181948#M135078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It got this working!&amp;nbsp; All my java script now does is the impersonation and deletegates to the templates and everything is present.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 15:42:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-api-examples/m-p/181948#M135078</guid>
      <dc:creator>rdifrango</dc:creator>
      <dc:date>2008-09-26T15:42:51Z</dc:date>
    </item>
  </channel>
</rss>

