<?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: Starting a Workflow using automation API does not return workflowInstanceId context variable in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/starting-a-workflow-using-automation-api-does-not-return/m-p/317751#M4752</link>
    <description>&lt;P&gt;Hi,
Starting a workflow through Automation is well explained in this link
&lt;A href="https://doc.nuxeo.com/display/NXDOC/Workflow+APIs"&gt;https://doc.nuxeo.com/display/NXDOC/Workflow+APIs&lt;/A&gt; . Please refer and revert for clarifications. Its working for me.
Happy Development &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2016 12:02:35 GMT</pubDate>
    <dc:creator>Pradeep_Bhat</dc:creator>
    <dc:date>2016-02-15T12:02:35Z</dc:date>
    <item>
      <title>Starting a Workflow using automation API does not return workflowInstanceId context variable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/starting-a-workflow-using-automation-api-does-not-return/m-p/317750#M4751</link>
      <description>&lt;P&gt;I was able to start a workflow using Automation url in a REST client and got a response. However I don't get the workflowInstanceId in the context variable. Why am I not getting the instance id in the response. If I don't have the instance id, how can I then subsequently cancel or suspend a workflow?&lt;/P&gt;
&lt;P&gt;This is the request and response I put in -
POST &lt;A href="http://host:8080/vdms/site/automation/Context.StartWorkflow" target="test_blank"&gt;http://host:8080/vdms/site/automation/Context.StartWorkflow&lt;/A&gt;
Content-Type: application/json+nxrequest; charset=UTF-8
{"input":"doc:/CustomerB/workspaces/Assets/Sintel_poster.jpg","params":{"id":"TestWF"},"context":{}}&lt;/P&gt;
&lt;P&gt;Output I received:
{"entity-type":"document","repository":"default","uid":"01f617fc-703b-455b-8613-273b805e7069","path":"/CustomerB/workspaces/Assets/Sintel_poster.jpg","type":"Picture","state":"project","versionLabel":"0.0","isCheckedOut":true,"title":"Sintel_poster.jpg","lastModified":"2014-03-31T17:40:52.00Z","facets":["Picture","Commentable","Asset","MultiviewPicture","Versionable","Publishable","HasRelatedText"],"changeToken":"1396287652000","contextParameters":{}}&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2014 22:45:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/starting-a-workflow-using-automation-api-does-not-return/m-p/317750#M4751</guid>
      <dc:creator>punita_</dc:creator>
      <dc:date>2014-04-07T22:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a Workflow using automation API does not return workflowInstanceId context variable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/starting-a-workflow-using-automation-api-does-not-return/m-p/317751#M4752</link>
      <description>&lt;P&gt;Hi,
Starting a workflow through Automation is well explained in this link
&lt;A href="https://doc.nuxeo.com/display/NXDOC/Workflow+APIs"&gt;https://doc.nuxeo.com/display/NXDOC/Workflow+APIs&lt;/A&gt; . Please refer and revert for clarifications. Its working for me.
Happy Development &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 12:02:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/starting-a-workflow-using-automation-api-does-not-return/m-p/317751#M4752</guid>
      <dc:creator>Pradeep_Bhat</dc:creator>
      <dc:date>2016-02-15T12:02:35Z</dc:date>
    </item>
  </channel>
</rss>

