<?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 Resume Execution using REST API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222973#M176103</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 have a service task with class referring to a Delegate that is extending TaskActivityBehavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Objective:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the process instance is started, the execution pauses at this Service task and want to resume only after a signal is received.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could resume the execution in Activiti Explorer using the REST call spec given at-&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/index.html#_execute_an_action_on_an_execution" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#_execute_an_action_on_an_execution&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PUT &lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-rest/service/runtime/executions/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-rest/service/runtime/executions/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Payload:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"action": "signal" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I don't see an equivalent REST API in Alfresco Activiti. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When tried the same call with PUT and the same payload, getting a "404 - Not Found"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PUT &lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-app/api/enterprise/executions/5001" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/api/enterprise/executions/5001&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Payload:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"action": "signal" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please let me know how to resume the execution the way we do in Activiti Open Source?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attaching the delegate class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Siva&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2015 15:38:33 GMT</pubDate>
    <dc:creator>skrish</dc:creator>
    <dc:date>2015-12-16T15:38:33Z</dc:date>
    <item>
      <title>Resume Execution using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222973#M176103</link>
      <description>Hi,I have a service task with class referring to a Delegate that is extending TaskActivityBehavior.Objective&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;nce the process instance is started, the execution pauses at this Service task and want to resume only after a signal is received.I could resume the execution in Activiti Explorer using the</description>
      <pubDate>Wed, 16 Dec 2015 15:38:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222973#M176103</guid>
      <dc:creator>skrish</dc:creator>
      <dc:date>2015-12-16T15:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Resume Execution using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222974#M176104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Siva,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You've got the correct Enterprise part of the URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://docs.alfresco.com/activiti/docs/dev-guide/1.4.0/#_activiti_engine_rest_api" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/activiti/docs/dev-guide/1.4.0/#_activiti_engine_rest_api&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But you've missed the 'runtime' part from the Engine API:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/index.html#_get_an_execution" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#_get_an_execution&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let us know if that isn't the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 15:28:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222974#M176104</guid>
      <dc:creator>paulhh1</dc:creator>
      <dc:date>2015-12-17T15:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Resume Execution using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222975#M176105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Paul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response. I tried with the below URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8081/activiti-app/api/enterprise/runtime/executions/7501" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/activiti-app/api/enterprise/runtime/executions/7501&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;7501&amp;nbsp; - Execution Id. (I have my tomcat configured to port 8081)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting a "404 Not Found" Response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Siva&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:30:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222975#M176105</guid>
      <dc:creator>skrish</dc:creator>
      <dc:date>2015-12-17T17:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Resume Execution using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222976#M176106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And this execution ID is returned if you get a list of executions (GET runtime/executions)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A tenant ID also needs to be passed as a parameter (default is 1), even in single tenant set ups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.alfresco.com/activiti/docs/dev-guide/1.4.0/#_activiti_engine_rest_api" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/activiti/docs/dev-guide/1.4.0/#_activiti_engine_rest_api&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 16:36:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222976#M176106</guid>
      <dc:creator>paulhh1</dc:creator>
      <dc:date>2015-12-21T16:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Resume Execution using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222977#M176107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And does the user have tenant admin or manager permission/capability?&amp;nbsp; Access to the core engine API is only allowed for users with those rights.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:30:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-execution-using-rest-api/m-p/222977#M176107</guid>
      <dc:creator>paulhh1</dc:creator>
      <dc:date>2015-12-21T17:30:20Z</dc:date>
    </item>
  </channel>
</rss>

