<?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 how to run advanced workflow automatically??? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-run-advanced-workflow-automatically/m-p/232056#M185186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i am having a dynamic advanced workflow model now instead of starting manually i want to start that whn a document is inbound to the space. i read that it can be done by script running on inbound of the content so&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) i wrote the script as&lt;/SPAN&gt;&lt;BR /&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$global:documentReview";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters["bpm:workflowDescription"] = document.name;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters["bpm:assignee"] = person;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters["bpm:aproveDestination"] = "GlobalPlacement/Nurse"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.execute(document); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and in eclipse i store that under src\scripts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) in data dictionary under&amp;nbsp; scripts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; whn i try to run this script on run action i get null pointer exception in workspace//…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is there anybody who will tell how to do this ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 10:36:55 GMT</pubDate>
    <dc:creator>tejaswini</dc:creator>
    <dc:date>2010-03-25T10:36:55Z</dc:date>
    <item>
      <title>how to run advanced workflow automatically???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-run-advanced-workflow-automatically/m-p/232056#M185186</link>
      <description>i am having a dynamic advanced workflow model now instead of starting manually i want to start that whn a document is inbound to the space. i read that it can be done by script running on inbound of the content so1) i wrote the script asvar workflow = actions.create("start-workflow");workflow.parame</description>
      <pubDate>Thu, 25 Mar 2010 10:36:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-run-advanced-workflow-automatically/m-p/232056#M185186</guid>
      <dc:creator>tejaswini</dc:creator>
      <dc:date>2010-03-25T10:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to run advanced workflow automatically???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-run-advanced-workflow-automatically/m-p/232057#M185187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, Were you able to solve this ? If yes, please share the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 10:08:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-run-advanced-workflow-automatically/m-p/232057#M185187</guid>
      <dc:creator>paulclinton</dc:creator>
      <dc:date>2018-09-10T10:08:09Z</dc:date>
    </item>
  </channel>
</rss>

