<?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: Problems debugging WebEx connect flows in Webex Connect</title>
    <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4936878#M191</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1609857"&gt;@dorel-barbu&lt;/a&gt;&amp;nbsp;- Were you able to publish the flow successfully? It sounds like your flow isn't getting triggered at all due to which there aren't any debug logs in the console.&lt;/P&gt;
&lt;P&gt;If you're using an inbound webhook to trigger the flow, a simple Start Node configuration could look like below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConnectTanuj_0-1696908988322.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199271i462BDB020EF91443/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ConnectTanuj_0-1696908988322.png" alt="ConnectTanuj_0-1696908988322.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To trigger the flow you would need to use the Webhook URL that's gets generated in your local system.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please can you share more info about your configurations and the response you are getting on invoking the Webhook/Custom Event API to help further investigate the issue you're facing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 03:38:58 GMT</pubDate>
    <dc:creator>Connect - Tanuj</dc:creator>
    <dc:date>2023-10-10T03:38:58Z</dc:date>
    <item>
      <title>Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4936603#M190</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have been trying to build a simple flow that sends an SMS to a particular phone number after a custom event has been posted via the API. Upon using Postman to send the request I am getting back a response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "notifyurl": "",
    "events": [
        {
            "evtid": 6751,
            "correlationid": "ABC123",
            "parameters": {
                   "message": "hello world"
            }
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am not able to view any debug logs in the flow sections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen the following message but I am not sure what it means.&amp;nbsp;&lt;STRONG&gt;To generate logs, invoke this flow by attaching it to the rule in this session.&amp;nbsp;&lt;/STRONG&gt;- How is this achieved exactly?&lt;/P&gt;&lt;P&gt;Also, I tried to navigate to the debug console and search the logs by transaction id, or by anything that was available and I am not getting back anything.&lt;/P&gt;&lt;P&gt;Can somebody assist me in resolving this issue, please?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:11:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4936603#M190</guid>
      <dc:creator>dorel-barbu</dc:creator>
      <dc:date>2023-10-09T13:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4936878#M191</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1609857"&gt;@dorel-barbu&lt;/a&gt;&amp;nbsp;- Were you able to publish the flow successfully? It sounds like your flow isn't getting triggered at all due to which there aren't any debug logs in the console.&lt;/P&gt;
&lt;P&gt;If you're using an inbound webhook to trigger the flow, a simple Start Node configuration could look like below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConnectTanuj_0-1696908988322.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199271i462BDB020EF91443/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ConnectTanuj_0-1696908988322.png" alt="ConnectTanuj_0-1696908988322.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To trigger the flow you would need to use the Webhook URL that's gets generated in your local system.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please can you share more info about your configurations and the response you are getting on invoking the Webhook/Custom Event API to help further investigate the issue you're facing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 03:38:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4936878#M191</guid>
      <dc:creator>Connect - Tanuj</dc:creator>
      <dc:date>2023-10-10T03:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4937003#M192</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1255612"&gt;@Connect - Tanuj&lt;/a&gt;&amp;nbsp;, thanks for getting back to me!&lt;BR /&gt;&lt;BR /&gt;I have configured the flow to be triggered upon sending a custom event. Here's how it looks like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dorelbarbu_0-1696925594792.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199300i54F14869AA8AB99B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dorelbarbu_0-1696925594792.png" alt="dorelbarbu_0-1696925594792.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dorelbarbu_1-1696925623634.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199301i144475F3200F86F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dorelbarbu_1-1696925623634.png" alt="dorelbarbu_1-1696925623634.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I have called thee following API&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://api-sandbox.imiconnect.io/resources/v1/events/externalevent/&lt;/LI-CODE&gt;&lt;P&gt;WIth the following payload:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "notifyurl": "",
    "events": [
        {
            "evtid": 6751,
            "correlationid": "ABC123",
            "parameters": {
                   "message": "hello world"
            }
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;I have received the following response:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "response": [
        {
            "code": "1002",
            "description": "Queued",
            "transid": "6acf9f90-c6b0-434e-a704-16b19921360c",
            "correlationid": "ABC123"
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;1. Have I configured something incorrectly here? I was expecting the flow to be triggered after the custom event was received&lt;/P&gt;&lt;P&gt;2. Do I need to trigger it using an inbound webhook?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 08:16:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4937003#M192</guid>
      <dc:creator>dorel-barbu</dc:creator>
      <dc:date>2023-10-10T08:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4937384#M193</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1609857"&gt;@dorel-barbu&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I have working exactly what you have with a custom event also, I didn't go the route of inbound webhooks as &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1255612"&gt;@Connect - Tanuj&lt;/a&gt; suggested, I can't recall why, but it must have been due to some flexibility I found on it vs inbound weebhooks.&lt;BR /&gt;&lt;BR /&gt;As &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1255612"&gt;@Connect - Tanuj&lt;/a&gt;&amp;nbsp; said, can you please send the complete screenshot configuration&amp;nbsp;of the Custom Event (Assets&amp;gt; Integrations &amp;gt; Click Manage in the TestEvent) and the Event Node in the flow, the previous screenshots weren't showing all of the text in the Event Node. &lt;BR /&gt;&lt;BR /&gt;Since we don't have screenshots of the Flow, make sure it is enabled:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mparrafusionet_4-1696962319766.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199327i22D5DA004C38BF3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mparrafusionet_4-1696962319766.png" alt="mparrafusionet_4-1696962319766.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Since Webex Connect is responding with a 200OK with that response, at least we know it made it there, to peek a bit more under the hood, use the transaction id you got as a response and go to:&lt;BR /&gt;&lt;BR /&gt;Debug &amp;gt; Debug &amp;gt; Query by Transaction ID:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mparrafusionet_0-1696960853815.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199322iF0A78D21CA97C87D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mparrafusionet_0-1696960853815.png" alt="mparrafusionet_0-1696960853815.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here, paste the transaction ID you got from the WebexConnect Cloud (below) and see what you get:&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-javascript"&gt;&lt;CODE&gt;6acf9f90-c6b0-434e-a704-16b19921360c&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mparrafusionet_1-1696960899047.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199323iC8081DEA602BB283/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mparrafusionet_1-1696960899047.png" alt="mparrafusionet_1-1696960899047.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mparrafusionet_3-1696961294251.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199325i72E2E24628384E4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mparrafusionet_3-1696961294251.png" alt="mparrafusionet_3-1696961294251.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This should give you the full visibility to tell if the Flow you is really getting invoked, You can tell that there are "Rules"&amp;nbsp; I can't see on my sandbox tenant, which that really trigger the custom event, hopefully this will help you.&lt;BR /&gt;&lt;BR /&gt;If all looks good even in the log (right flow, right custom event ID - 6751), create a new custom event, a new flow and try again ( the software equivalent of reboot on hardware).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 18:26:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4937384#M193</guid>
      <dc:creator>mparra.fusionet</dc:creator>
      <dc:date>2023-10-10T18:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4937979#M195</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/52721"&gt;@mparra.fusionet&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for getting back to me!&lt;/P&gt;&lt;P&gt;So, taking the transaction id and putting it into the debug console, doesn't yield any results.&lt;/P&gt;&lt;P&gt;Here is a screenshot of the flow, I can see that the number of executions is 0, which is a bit weird:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dorelbarbu_0-1697021334544.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199372iB6266DCF1870ABD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dorelbarbu_0-1697021334544.png" alt="dorelbarbu_0-1697021334544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this is a screenshot from the event configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dorelbarbu_1-1697021409474.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/199373i7DF14252D17E412D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dorelbarbu_1-1697021409474.png" alt="dorelbarbu_1-1697021409474.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have recreated the flow triggered by a custom event multiple times, with no success.&lt;/P&gt;&lt;P&gt;However, it seems that I am able to trigger a flow using a webhook.&lt;/P&gt;&lt;P&gt;Let me know if you have other suggestions!&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Dorel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 10:50:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4937979#M195</guid>
      <dc:creator>dorel-barbu</dc:creator>
      <dc:date>2023-10-11T10:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4941523#M196</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1609857"&gt;@dorel-barbu&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Thank you for the screenshots, in my eyes your configuration and even the response you get from Webex Connect is good, it looks like a software issue where you can't really do much but opening an support case, specially because your debug console doesn't show anything and webhooks work. &lt;BR /&gt;&lt;BR /&gt;Since I can tell that you are using - just like I am - the sandbox I don't think there is any support besides this forum, let me turn it to the only Cisco person I know:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1255612"&gt;@Connect - Tanuj&lt;/a&gt;&amp;nbsp; is there any way to have &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1609857"&gt;@dorel-barbu&lt;/a&gt;'s issue looked at under the hood? We have the transaction ID and I am sure that dorel can give you his tenant username privately over community messages,&amp;nbsp; in short it seems that the Webex connect Cloud does respond perfectly but Webex Connect is not processing the request.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 05:03:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4941523#M196</guid>
      <dc:creator>mparra.fusionet</dc:creator>
      <dc:date>2023-10-17T05:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4942563#M197</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/52721"&gt;@mparra.fusionet&lt;/a&gt;&amp;nbsp;- This has been raised to the backend team. Will get back as soon as we have an update.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 22:33:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4942563#M197</guid>
      <dc:creator>Connect - Tanuj</dc:creator>
      <dc:date>2023-10-17T22:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4942838#M198</link>
      <description>Amazing, thank you very much for checking this!&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2023 10:17:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4942838#M198</guid>
      <dc:creator>dorel-barbu</dc:creator>
      <dc:date>2023-10-18T10:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging WebEx connect flows</title>
      <link>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4949797#M199</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1609857"&gt;@dorel-barbu&lt;/a&gt;&amp;nbsp;- A one-off backend issue caused the problem that you faced. It was limited to that specific flow and it's been addressed now. Please try to invoke the flow now using Custom Event API. It should work. Let us know if you face any issue.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 14:47:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-connect/problems-debugging-webex-connect-flows/m-p/4949797#M199</guid>
      <dc:creator>Connect - Tanuj</dc:creator>
      <dc:date>2023-10-27T14:47:16Z</dc:date>
    </item>
  </channel>
</rss>

