<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server Explicit Transaction Rollback</title><link>https://community.appian.com/discussions/f/general/25253/sql-server-explicit-transaction-rollback</link><description>Reading through the Query Database Smart Service documentation, it appears that an explicit transaction wraps every execution: 
 https://docs.appian.com/suite/help/22.2/Query_Database_Smart_Service.html#:~:text=Activity%20execution,by%20the%20node 
 Is</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: SQL Server Explicit Transaction Rollback</title><link>https://community.appian.com/thread/98120?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 13:58:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6a9f2bf8-af64-4a74-90e2-47f3b84b2d35</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You mean stored procedures? I try avoid them at almost all cost.&lt;/p&gt;
&lt;p&gt;Bad parameters? Could you add a validation in Appian? Did you know that you can make a process halt by exception using the error() function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SQL Server Explicit Transaction Rollback</title><link>https://community.appian.com/thread/98119?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 13:55:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c4175ccb-832e-4272-9227-8ea578ebf80b</guid><dc:creator>eric.rubeck</dc:creator><description>&lt;p&gt;If our procedures have errors due to bad parameters, etc, we&amp;#39;re&amp;nbsp;attempting to log the failure.&amp;nbsp; This helps with investigation and trending, and allows us to event those errors to a PowerBI reporting/alerting solution.&lt;/p&gt;
&lt;p&gt;Your response&amp;nbsp;tells me enough, likely I will just need to change my approach and complete successfully but indicate failure instead of allowing the procedures to fail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SQL Server Explicit Transaction Rollback</title><link>https://community.appian.com/thread/98118?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 13:40:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18c7f053-a60c-4f03-95c8-a0db94093180</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;At which level do you want to log and about what kind of status do you mean? I think this approach might be worth being adapted to the way how Appian works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SQL Server Explicit Transaction Rollback</title><link>https://community.appian.com/thread/98117?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 13:29:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a93736-73ad-4629-a051-9db6e45cffac</guid><dc:creator>eric.rubeck</dc:creator><description>&lt;p&gt;We&amp;#39;re building enterprise-level logging and status reporting that will cover more apps than just what we have in the Appian environment, so the plan is to centralize our logging into SQL Server.&lt;/p&gt;
&lt;p&gt;We are using our own SQL Server instance as our data source, not&amp;nbsp;the provided MariaDB instance.&amp;nbsp; So the use case is simply to be able to leverage writes to a logging table without another round-trip to the DB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SQL Server Explicit Transaction Rollback</title><link>https://community.appian.com/thread/98063?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 06:08:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1f3e5a2-b8fe-41af-858b-55a322e3b932</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Can you explain your use case a bit? What do you want to achieve?&lt;/p&gt;
&lt;p&gt;In general, I consider the Appian process model to define&amp;nbsp;the &amp;quot;transaction&amp;quot;, but not the DB. From an Appian perspective, the DB is just a dumb data storage. Thinking of it like this works for me very successfully for the last 12 years.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>