<?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 Start workflow without document in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235484#M188614</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;I start a workflow reading some properties from a http-request. But the workflow seems to require a document when i start it. Is there a way of starting the workflow without the document. There are no reason for my workflow to carry a document, it will only confuse my users. Now I use a hardcoded document but it feels like a really ugly solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var document = search.findNode("workspace://SpacesStore/ad5dff9b-e902-40a5-9dd5-052cffda348e");&lt;BR /&gt;var workflow = actions.create("start-workflow");&lt;BR /&gt;workflow.parameters.workflowName = "jbpm$jkptkwf:Demolition";&lt;BR /&gt;workflow.parameters["bpm:assignee"] = person;&lt;BR /&gt;workflow.parameters["jkptkwf:buildingName"] = "Webscripthuset";&lt;BR /&gt;workflow.parameters["bpm:workflowDescription"] = "Testar att start ett workflow via webscript";&lt;BR /&gt;workflow.execute(document);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to start the workflow without the document?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roland&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2010 16:39:15 GMT</pubDate>
    <dc:creator>buurd</dc:creator>
    <dc:date>2010-01-27T16:39:15Z</dc:date>
    <item>
      <title>Start workflow without document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235484#M188614</link>
      <description>Hi!I start a workflow reading some properties from a http-request. But the workflow seems to require a document when i start it. Is there a way of starting the workflow without the document. There are no reason for my workflow to carry a document, it will only confuse my users. Now I use a hardcoded</description>
      <pubDate>Wed, 27 Jan 2010 16:39:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235484#M188614</guid>
      <dc:creator>buurd</dc:creator>
      <dc:date>2010-01-27T16:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Start workflow without document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235485#M188615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What's the use case? Why do you need to kick off a workflow when its not needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 19:53:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235485#M188615</guid>
      <dc:creator>eruditionist</dc:creator>
      <dc:date>2010-01-28T19:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Start workflow without document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235486#M188616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The workflow is needed, but not the document. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The usecase is a basic checklist where we only use the workflow(model) and web-custom-config. We use a webscript to generate a report about the workflow-status. We don't store a separate document and don't need to attach a document when starting the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roland&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 07:44:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235486#M188616</guid>
      <dc:creator>buurd</dc:creator>
      <dc:date>2010-01-29T07:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Start workflow without document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235487#M188617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Roland,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have you managed to find a solution? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Younis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 13:41:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-workflow-without-document/m-p/235487#M188617</guid>
      <dc:creator>younis15</dc:creator>
      <dc:date>2011-04-20T13:41:07Z</dc:date>
    </item>
  </channel>
</rss>

