<?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 Where do I have to define connectors in Alfresco? Can I use them from a “.bpmn” file? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143935#M38218</link>
    <description>&lt;P&gt;Good afternoon! I am trying to communicate from Alfresco to a RESTful ws from a workflow. Somebody told me that it will be a good idea to use connector to acomplish that. I am creating a wf in ACS as a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;.bpmn&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file, so 3 questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In what file do I have to define the connector?, I want to do the same as this js script:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; url = &lt;SPAN class="hljs-string"&gt;"https://google.com"&lt;/SPAN&gt;;

&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; xhr = &lt;SPAN class="hljs-keyword"&gt;new&lt;/SPAN&gt; XMLHttpRequest();
xhr.open(&lt;SPAN class="hljs-string"&gt;"GET"&lt;/SPAN&gt;, url);

xhr.onreadystatechange = &lt;SPAN class="hljs-function"&gt;&lt;SPAN class="hljs-keyword"&gt;function&lt;/SPAN&gt; () &lt;/SPAN&gt;{
   &lt;SPAN class="hljs-keyword"&gt;if&lt;/SPAN&gt; (xhr.readyState === &lt;SPAN class="hljs-number"&gt;4&lt;/SPAN&gt;) {
      &lt;SPAN class="hljs-built_in"&gt;console&lt;/SPAN&gt;.log(xhr.status);
      &lt;SPAN class="hljs-built_in"&gt;console&lt;/SPAN&gt;.log(xhr.responseText);
   }};

xhr.send();&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Can I use the connector directly from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;.bpmn&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file? Could you give me an example on how to use it?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Could you give me an example to make a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;GET&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;POST&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;call?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2021 12:58:08 GMT</pubDate>
    <dc:creator>tlosada</dc:creator>
    <dc:date>2021-02-05T12:58:08Z</dc:date>
    <item>
      <title>Where do I have to define connectors in Alfresco? Can I use them from a “.bpmn” file?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143935#M38218</link>
      <description>&lt;P&gt;Good afternoon! I am trying to communicate from Alfresco to a RESTful ws from a workflow. Somebody told me that it will be a good idea to use connector to acomplish that. I am creating a wf in ACS as a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;.bpmn&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file, so 3 questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In what file do I have to define the connector?, I want to do the same as this js script:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; url = &lt;SPAN class="hljs-string"&gt;"https://google.com"&lt;/SPAN&gt;;

&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; xhr = &lt;SPAN class="hljs-keyword"&gt;new&lt;/SPAN&gt; XMLHttpRequest();
xhr.open(&lt;SPAN class="hljs-string"&gt;"GET"&lt;/SPAN&gt;, url);

xhr.onreadystatechange = &lt;SPAN class="hljs-function"&gt;&lt;SPAN class="hljs-keyword"&gt;function&lt;/SPAN&gt; () &lt;/SPAN&gt;{
   &lt;SPAN class="hljs-keyword"&gt;if&lt;/SPAN&gt; (xhr.readyState === &lt;SPAN class="hljs-number"&gt;4&lt;/SPAN&gt;) {
      &lt;SPAN class="hljs-built_in"&gt;console&lt;/SPAN&gt;.log(xhr.status);
      &lt;SPAN class="hljs-built_in"&gt;console&lt;/SPAN&gt;.log(xhr.responseText);
   }};

xhr.send();&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Can I use the connector directly from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;.bpmn&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file? Could you give me an example on how to use it?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Could you give me an example to make a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;GET&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;POST&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;call?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 12:58:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143935#M38218</guid>
      <dc:creator>tlosada</dc:creator>
      <dc:date>2021-02-05T12:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I have to define connectors in Alfresco? Can I use them from a “.bpmn” file?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143936#M38219</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/84553"&gt;@tlosada&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is this &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/v1-rest-api-10-things-you-should-know/ba-p/287692" target="_self" rel="nofollow noopener noreferrer"&gt;Alfresco API tutorial&lt;/A&gt;, with plenty of example, of using the APIs.&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 13:26:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143936#M38219</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-02-05T13:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I have to define connectors in Alfresco? Can I use them from a “.bpmn” file?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143937#M38220</link>
      <description>&lt;P&gt;Thanks for the quick response, but I need specifically to trigger this API call from a workflow and there is nothing about that in the tutorial. Could you please answer my 3 questions? Thank you very much and best regards!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 14:24:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143937#M38220</guid>
      <dc:creator>tlosada</dc:creator>
      <dc:date>2021-02-05T14:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I have to define connectors in Alfresco? Can I use them from a “.bpmn” file?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143938#M38221</link>
      <description>&lt;P&gt;Cross-posted at &lt;A href="https://stackoverflow.com/questions/66063678/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them-from-a-bpmn" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/66063678/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them-from-a-bpmn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 23:28:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143938#M38221</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2021-02-06T23:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I have to define connectors in Alfresco? Can I use them from a “.bpmn” file?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143939#M38222</link>
      <description>&lt;P&gt;Thank you very much and excuse me for all of my questions. I am new to Alfresco and not a developer jeje.&lt;/P&gt;&lt;P&gt;This is the answer I wanted! More on this video:&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="video-embed-center video-embed"&gt;&lt;IFRAME class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fphju1Lru7kI%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dphju1Lru7kI&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fphju1Lru7kI%2Fhqdefault.jpg&amp;amp;key=4d41183506e742d98595f664850327e2&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="112" scrolling="no" title="Alfresco Summit 2013: Power Up your Activiti Workflow with Java Delegates" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 13:35:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/where-do-i-have-to-define-connectors-in-alfresco-can-i-use-them/m-p/143939#M38222</guid>
      <dc:creator>tlosada</dc:creator>
      <dc:date>2021-02-08T13:35:22Z</dc:date>
    </item>
  </channel>
</rss>

