<?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 initiation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workflow-initiation/m-p/249998#M203128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi peter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To achieve this you have to create a script which will initiate the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And then on the space you can create a rule defining whenever any document come inside the space execute your created script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which in turn initiate the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Actions_and_Rules" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Actions_and_Rules&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/WorkflowAdministration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/WorkflowAdministration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script for workflow initiation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var workflow = actions.create("start-workflow");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters.workflowName = "jbpm$wf:review";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters["bpm:assignee"] = person;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.execute(document);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2012 11:14:13 GMT</pubDate>
    <dc:creator>mitpatoliya</dc:creator>
    <dc:date>2012-06-01T11:14:13Z</dc:date>
    <item>
      <title>Workflow initiation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-initiation/m-p/249997#M203127</link>
      <description>Hi,&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to Alfresco ( &amp;lt; 2 weeks ) and am hoping I can get some tips. I want to initiate a workflow on creation of a document - i.e. the workflow selection window will be bypassed - instead the workflow associated with the item ( in our case a custom data list ) will be launched in a start</description>
      <pubDate>Fri, 01 Jun 2012 10:05:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-initiation/m-p/249997#M203127</guid>
      <dc:creator>peadair</dc:creator>
      <dc:date>2012-06-01T10:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow initiation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-initiation/m-p/249998#M203128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi peter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To achieve this you have to create a script which will initiate the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And then on the space you can create a rule defining whenever any document come inside the space execute your created script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which in turn initiate the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Actions_and_Rules" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Actions_and_Rules&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/WorkflowAdministration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/WorkflowAdministration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script for workflow initiation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var workflow = actions.create("start-workflow");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters.workflowName = "jbpm$wf:review";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters["bpm:assignee"] = person;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.execute(document);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 11:14:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-initiation/m-p/249998#M203128</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-06-01T11:14:13Z</dc:date>
    </item>
  </channel>
</rss>

