<?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: BP SQL VBO Timeout in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93732#M43217</link>
    <description>&lt;P&gt;Hmm strange. Are you sure the flow is passing through one of the Set Connection calcs and both will set the timeout value?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24526.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24656i85BC61D864BF863D/image-size/large?v=v2&amp;amp;px=999" role="button" title="24526.png" alt="24526.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 04 Apr 2023 09:14:00 GMT</pubDate>
    <dc:creator>John__Carter</dc:creator>
    <dc:date>2023-04-04T09:14:00Z</dc:date>
    <item>
      <title>BP SQL VBO Timeout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93729#M43214</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I am attempting to run a delete SQL query on a DB in Blue Prism. I have my flow built, but I am getting:&lt;/P&gt;
&lt;P&gt;'Execution Timeout Expired. &amp;nbsp;The timeout period elapsed prior to completion of the operation or the server is not responding. Operation cancelled by user.&amp;nbsp;The statement has been terminated.'&lt;BR /&gt;&lt;BR /&gt;I have found the following support article and modified the Open code stage in the SQL VBO object with the supplied code, but still get timeouts after 30 seconds:&lt;/P&gt;
&lt;P&gt;&lt;A data-url="https://portal.blueprism.com/customer-support/support-center" class="embedly-content" href="https://portal.blueprism.com/customer-support/support-center" target="_blank" rel="noopener"&gt;Support Center | Blue Prism Portal&lt;/A&gt;&lt;/P&gt;
&lt;TABLE id="mce_1" contenteditable="false" width="500" height="400" cellpadding="10" style="border: 1px solid #ebebeb; border-left: 8px solid #ebebeb;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="2" style="border: none;"&gt;Blueprism&lt;/TD&gt;
&lt;TD align="right" style="border: none;text-align:right;"&gt;&lt;SPAN class="remove-embedded-content" style="cursor: pointer;"&gt;remove preview&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="3" style="border: none;"&gt;
&lt;TABLE style="border: none;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;&lt;A href="https://portal.blueprism.com/customer-support/support-center" target="_blank" style="text-decoration:none;" rel="noopener"&gt;&lt;IMG src="https://portal.blueprism.com/modules/custom/blue_prism_blocks/images/Gartner-Peer-Insights-Customers-Choice-badge-color-2020.png" width="200" height="160" /&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD style="border: none;"&gt;
&lt;TABLE style="border: none;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;Support Center | Blue Prism Portal&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;©2023 Blue Prism Limited. "Blue Prism", the "Blue Prism" logo and Prism device are either trademarks or registered trademarks of Blue Prism Limited and its affiliates. All Rights Reserved.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;&lt;A target="_blank" href="https://portal.blueprism.com/customer-support/support-center" style="text-decoration:none;color:cadetblue" rel="noopener"&gt; View this on Blueprism &amp;gt;&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;The database being connected to is an Azure hosted SQL DB, could this be part of the issue?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Craig Taylor&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Apr 2023 14:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93729#M43214</guid>
      <dc:creator>CraigTaylor</dc:creator>
      <dc:date>2023-04-03T14:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: BP SQL VBO Timeout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93730#M43215</link>
      <description>&lt;P&gt;Can't see the link Craig but I'm guessing it relates to specifying the timeout value. You can set this as part of the connection string, for example:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24522.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24654i50AD1E426A35002E/image-size/large?v=v2&amp;amp;px=999" role="button" title="24522.png" alt="24522.png" /&gt;&lt;/span&gt;&lt;A href="https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlconnection.connectionstring?view=dotnet-plat-ext-7.0" target="test_blank"&gt;https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlconnection.connectionstring?view=dotnet-plat-ext-7.0&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Apr 2023 08:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93730#M43215</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2023-04-04T08:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: BP SQL VBO Timeout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93731#M43216</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Looks like the forum consumed the link!&lt;/P&gt;
&lt;P&gt;Tried your suggestion but still getting the 30 second timeout unfortunately.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Craig Taylor&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Apr 2023 08:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93731#M43216</guid>
      <dc:creator>CraigTaylor</dc:creator>
      <dc:date>2023-04-04T08:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: BP SQL VBO Timeout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93732#M43217</link>
      <description>&lt;P&gt;Hmm strange. Are you sure the flow is passing through one of the Set Connection calcs and both will set the timeout value?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24526.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24656i85BC61D864BF863D/image-size/large?v=v2&amp;amp;px=999" role="button" title="24526.png" alt="24526.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Apr 2023 09:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93732#M43217</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2023-04-04T09:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: BP SQL VBO Timeout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93733#M43218</link>
      <description>&lt;P&gt;Yes, stepping through the process I can see it pass through the node with the Connection Timeout extra string above.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am beginning to think it's perhaps something to do with the DB being Azure hosted and there is a setting overruling it there. I'll speak to our Azure admin to do some digging that side!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Craig Taylor&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Apr 2023 09:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93733#M43218</guid>
      <dc:creator>CraigTaylor</dc:creator>
      <dc:date>2023-04-04T09:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: BP SQL VBO Timeout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93734#M43219</link>
      <description>&lt;P&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="fe89febe-5f29-486e-b3ac-715de9a5ae3c" data-tag-text="Craig Taylor"&gt;@Craig Taylor&lt;BR /&gt;&lt;BR /&gt;I can't get anything from the link either but I think what you are experiencing is a command timeout. The timeout setting in the provider string handles timeouts when trying to connect to a SQL server. The command timeout is a little bit more involved to handle. You have to modify the code to include the following line in the "Using cmd As New SqlCommand()" block:&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;cmd.CommandTimeout = Convert.ToInt32(timeout)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;In this case, we created a "Timeout" parameter for the action that we can set to any value but you could hardcode a value (shameful) if you want.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Micheal Charron&lt;BR /&gt;Senior Manager&lt;BR /&gt;RBC&lt;BR /&gt;America/Toronto&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BP-SQL-VBO-Timeout/m-p/93734#M43219</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2023-04-04T12:24:00Z</dc:date>
    </item>
  </channel>
</rss>

