<?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 Synthetic Clickpath: Bypass an event in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245685#M2452</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can synthetic monitor bypass an event?&lt;/P&gt;&lt;P&gt;Example - I've a monitor with 14 events (page by page recorded) now I want a page not to be monitored. Say page 10.&lt;/P&gt;&lt;P&gt;From page 9 synthetic will jump to page 11 as on the page 10 we've added reCAPTCHA validation, where synthetic bot won't be able to make &amp;amp; will lead to failure. Creating a false positive problem. Whereas the LIVE site would be fine.&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 09:21:28 GMT</pubDate>
    <dc:creator>munawarhossain1</dc:creator>
    <dc:date>2024-05-15T09:21:28Z</dc:date>
    <item>
      <title>Synthetic Clickpath: Bypass an event</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245685#M2452</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can synthetic monitor bypass an event?&lt;/P&gt;&lt;P&gt;Example - I've a monitor with 14 events (page by page recorded) now I want a page not to be monitored. Say page 10.&lt;/P&gt;&lt;P&gt;From page 9 synthetic will jump to page 11 as on the page 10 we've added reCAPTCHA validation, where synthetic bot won't be able to make &amp;amp; will lead to failure. Creating a false positive problem. Whereas the LIVE site would be fine.&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 09:21:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245685#M2452</guid>
      <dc:creator>munawarhossain1</dc:creator>
      <dc:date>2024-05-15T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Clickpath: Bypass an event</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245686#M2453</link>
      <description>&lt;P&gt;If it's an event that you will never use, I would just delete it. Otherwise you can add a Javascript event in to check if the event is needed and if it's not skip it using on of the skip clickpath events options documented &lt;A href="https://docs.dynatrace.com/docs/platform-modules/digital-experience/synthetic-monitoring/browser-monitors/browser-clickpath-events#javascript-event-api" target="_self"&gt;here&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Skip clickpath events&lt;/P&gt;
&lt;P class="_26r6p50 _1s2qzuv0 _1s2qzuv2 _1s2qzuv3 _1s2qzuvb sc-3b06fd1c-0 ivrEIu"&gt;These methods skip events after completion of the current event.&lt;/P&gt;
&lt;DIV class="sc-6646062a-0 ivCgmd"&gt;
&lt;UL class="cz1bfz0 _1wzzxod0 list"&gt;
&lt;LI class="_1wzzxod1"&gt;&lt;CODE class="_9aqpro0"&gt;api.skipNextSyntheticEvent()&lt;/CODE&gt;—Skips execution of the next event.&lt;/LI&gt;
&lt;LI class="_1wzzxod1"&gt;&lt;CODE class="_9aqpro0"&gt;api.skipNextSyntheticEvents(n)&lt;/CODE&gt;—Skips execution of the next&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="_9aqpro0"&gt;n&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;consecutive events.&lt;/LI&gt;
&lt;LI class="_1wzzxod1"&gt;&lt;CODE class="_9aqpro0"&gt;api.skipSyntheticEvent(eventIndex)&lt;/CODE&gt;—Skips execution of the event with the index&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="_9aqpro0"&gt;eventIndex&lt;/CODE&gt;. Event index numbers start at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="_9aqpro0"&gt;1&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and match the event numbers displayed in the web UI.&lt;/LI&gt;
&lt;LI class="_1wzzxod1"&gt;&lt;CODE class="_9aqpro0"&gt;api.skipSyntheticEvents(eventIndexes)&lt;/CODE&gt;—Skips execution of multiple events; the array&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="_9aqpro0"&gt;eventIndexes&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;specifies the indexes of events to skip, for example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="_9aqpro0"&gt;api.skipSyntheticEvents([8, 9])&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 May 2024 09:25:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245686#M2453</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2024-05-15T09:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Clickpath: Bypass an event</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245689#M2454</link>
      <description>&lt;P&gt;Thanks Hannah&lt;/P&gt;&lt;P&gt;As per my example, if the event in b/w the sequence is deleted. It will mark&amp;nbsp;my journey as failed.&lt;/P&gt;&lt;P&gt;Secondly - where to enter this&amp;nbsp;&lt;SPAN&gt;api.skipNextSyntheticEvent()? is it in the script?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 09:56:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245689#M2454</guid>
      <dc:creator>munawarhossain1</dc:creator>
      <dc:date>2024-05-15T09:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Clickpath: Bypass an event</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245694#M2455</link>
      <description>&lt;P&gt;I'm not sure I understand. Do you need the event to be executed or skipped?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 09:45:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245694#M2455</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2024-05-15T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Clickpath: Bypass an event</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245697#M2456</link>
      <description>&lt;P&gt;Skipped&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 09:50:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245697#M2456</guid>
      <dc:creator>munawarhossain1</dc:creator>
      <dc:date>2024-05-15T09:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Clickpath: Bypass an event</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245703#M2457</link>
      <description>&lt;P&gt;So, if you always want to skip it, I would just delete the event. Otherwise you are adding an extra event in just to say 'skip the next event'.&amp;nbsp;&lt;BR /&gt;If you might need the event to be executed in only certain circumstances then you can add a JavaScript event before the one you want to skip which can test whether it should be skipped or not&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;// Choose whether to skip next event
var element = document.getElementById("CSS ID of the relevant element");

// Check to see if the element exists
if (element === null) {
    // Element not found so skip the next event
    api.skipNextSyntheticEvent();
} else {
    // Element found, continue to execute next event
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 10:06:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Clickpath-Bypass-an-event/m-p/245703#M2457</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2024-05-15T10:06:44Z</dc:date>
    </item>
  </channel>
</rss>

