<?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: Using webhooks to start a process in Process Services in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29156#M12410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zayed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to invoke an APS process via REST API from an external webhook.&amp;nbsp; I have an example of an APS process being invoked from a Jira webhook.&amp;nbsp; &amp;nbsp;Sample code here :&lt;A class="link-titled" href="https://github.com/benro/DEVCON2018" title="https://github.com/benro/DEVCON2018" rel="nofollow noopener noreferrer"&gt;GitHub - benro/DEVCON2018: Alfresco Devcon 2018 - APS+Serverless+Webhooks Sample using Jira and AWS Lambda&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a deep dive here:&amp;nbsp;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=wsM6ORTgC28" title="https://www.youtube.com/watch?v=wsM6ORTgC28" rel="nofollow noopener noreferrer"&gt;Alfresco DevCon 2018: APS + Serverless + Webhooks - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Mar 2019 14:25:08 GMT</pubDate>
    <dc:creator>benro</dc:creator>
    <dc:date>2019-03-21T14:25:08Z</dc:date>
    <item>
      <title>Using webhooks to start a process in Process Services</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29155#M12409</link>
      <description>I was wondering if there is a way of using a webhook to start a process in Process Services from an external app/system? I have a very simple process that starts, sends an email to alert me that it has started, and then ends. What I was hoping to achieve was the ability to start this process from an</description>
      <pubDate>Wed, 20 Mar 2019 14:05:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29155#M12409</guid>
      <dc:creator>zayed</dc:creator>
      <dc:date>2019-03-20T14:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using webhooks to start a process in Process Services</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29156#M12410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zayed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to invoke an APS process via REST API from an external webhook.&amp;nbsp; I have an example of an APS process being invoked from a Jira webhook.&amp;nbsp; &amp;nbsp;Sample code here :&lt;A class="link-titled" href="https://github.com/benro/DEVCON2018" title="https://github.com/benro/DEVCON2018" rel="nofollow noopener noreferrer"&gt;GitHub - benro/DEVCON2018: Alfresco Devcon 2018 - APS+Serverless+Webhooks Sample using Jira and AWS Lambda&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a deep dive here:&amp;nbsp;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=wsM6ORTgC28" title="https://www.youtube.com/watch?v=wsM6ORTgC28" rel="nofollow noopener noreferrer"&gt;Alfresco DevCon 2018: APS + Serverless + Webhooks - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 14:25:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29156#M12410</guid>
      <dc:creator>benro</dc:creator>
      <dc:date>2019-03-21T14:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using webhooks to start a process in Process Services</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29157#M12411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can achieve this by using Alfresco proces services public rest apis.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/process-services1.9/topics/start_process_instance.html" title="https://docs.alfresco.com/process-services1.9/topics/start_process_instance.html" rel="nofollow noopener noreferrer"&gt;Start Process Instance | Alfresco Documentation&lt;/A&gt; (Start process instance from your api).&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/process-services1.9/topics/rest_api_explorer.html" title="http://docs.alfresco.com/process-services1.9/topics/rest_api_explorer.html" rel="nofollow noopener noreferrer"&gt;Using the REST API Explorer | Alfresco Documentation&lt;/A&gt;(List of public apis in swaggere).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;for your solution what you can call&lt;/P&gt;&lt;PRE style="margin: 5px 0px 0px; padding: 10px; border: 1px solid #e5e0c6; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-weight: 400; font-stretch: inherit; font-size: 0.9em; line-height: inherit; font-family: 'Anonymous Pro', Menlo, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', monospace; vertical-align: baseline; background-color: #fcf6db; max-height: 400px; overflow-y: auto; color: #000000; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;PRE&gt;&lt;A href="http://{yourdomain" rel="nofollow noopener noreferrer"&gt;http://{yourdomain)&lt;/A&gt;/activiti-app/api/enterprise/process-instances&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;this api will start the process instance. you may need to pass the variables required by the start form if configured. This APIs&amp;nbsp; Reponse will give you Process instance id.using this process instance id you can invoke next task of the process.&lt;/P&gt;&lt;PRE style="margin: 5px 0px 0px; padding: 10px; border: 1px solid #e5e0c6; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-weight: 400; font-stretch: inherit; font-size: 0.9em; line-height: inherit; font-family: 'Anonymous Pro', Menlo, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', monospace; vertical-align: baseline; background-color: #fcf6db; max-height: 400px; overflow-y: auto; color: #000000; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;http://{yourdomain)/activiti-app/api/enterprise/tasks/query&lt;/PRE&gt;&lt;P&gt;Where this task can be again REST task which can trigger your custom API. I hope i this way it will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 04:21:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29157#M12411</guid>
      <dc:creator>mdtabrezmca</dc:creator>
      <dc:date>2019-03-22T04:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using webhooks to start a process in Process Services</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29158#M12412</link>
      <description>&lt;P&gt;I think APA is the answer here going forward.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/process-automation/latest/model/triggers/#webhooks" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/process-automation/latest/model/triggers/#webhooks&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2022 00:55:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-webhooks-to-start-a-process-in-process-services/m-p/29158#M12412</guid>
      <dc:creator>haldinger</dc:creator>
      <dc:date>2022-06-25T00:55:31Z</dc:date>
    </item>
  </channel>
</rss>

