<?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>Process Activity Breaking</title><link>https://community.appian.com/discussions/f/process/39965/process-activity-breaking</link><description>Hi Everyone 
 I have one subprocess process model which is having 10 nodes which includes 2 xor gateways ,4 sync record smart service and 4 query database smart service. Complete process is activity chained in parent process we have one ui on click of</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Process Activity Breaking</title><link>https://community.appian.com/thread/152600?ContentTypeID=1</link><pubDate>Thu, 27 Nov 2025 12:38:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8e95ce3-7b84-461e-885e-b7dd8a2b1b89</guid><dc:creator>divyak2994</dc:creator><description>&lt;p&gt;&lt;span&gt;Now&amp;nbsp; we replaced with subrpeocess which is having all sync records to start process its working fine now.Is it suggestable approach.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Activity Breaking</title><link>https://community.appian.com/thread/152585?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2025 14:33:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1c4df769-8d2f-4113-b68d-a4bd35154f4e</guid><dc:creator>divyak2994</dc:creator><description>&lt;p&gt;We are executing few sp&amp;#39; s from backend those are inserting few tables those records we needs to sync. For that we need identifier from&amp;nbsp; the table to sync the corresponding record sync from record smart service . That&amp;#39;s why we are&amp;nbsp; querying the id by using query smart smart service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Activity Breaking</title><link>https://community.appian.com/thread/152576?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 14:34:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a4eddb82-7396-4695-9e38-61dca9efd683</guid><dc:creator>Jesse Knight</dc:creator><description>&lt;p&gt;Is there any reason you&amp;#39;re using the Query Database smart service over the others available?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Write Records will write and automatically sync your database row. It&amp;#39;s a trivial thing to convert a map / CDT to the equivalent record.&lt;/li&gt;
&lt;li&gt;Database operations that contain any sort of complexity in a large database will likely timeout at 10 seconds in the&amp;nbsp;&lt;span&gt;Query Database smart service&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The Execute Stored Procedure smart service is far easier to configure, do advanced things with, and maintain&lt;/li&gt;
&lt;li&gt;Any database functions that contain business logic should likely be refactored into Appian and applied before writing the data
&lt;ul&gt;
&lt;li&gt;Unless they are explicitly for large scale ETL purposes&lt;/li&gt;
&lt;li&gt;Yet large scale ETL processes in the database are very likely to hit the 10 second timeout&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Activity Breaking</title><link>https://community.appian.com/thread/152575?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 14:30:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a84a5db-1e8a-4fce-9b76-c75bc9faa6d4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You could probably increase the &amp;quot;chained efficiency&amp;quot; and thus decrease the user waiting by doing something more efficient with your multiple Sync Record smart services.&amp;nbsp; And why are you using &amp;quot;Query Database&amp;quot; at all?&amp;nbsp; I recommend against ever using that unless there&amp;#39;s a critical need for something *only* it can do, which is very rare in my experience.&lt;/p&gt;
&lt;p&gt;The Sync Record smart services, if they aren&amp;#39;t **directly** needed for the next user-facing task, could be run in an asynchronous-style side process flow that will run simultaneously to the user&amp;#39;s new task.&amp;nbsp; This of course somewhat depends on what you&amp;#39;re doing/showing/querying on your next user task, which you have not specified.&lt;/p&gt;
&lt;p&gt;Can you post a screenshot of your process flow so far, or at least a general outline of it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Activity Breaking</title><link>https://community.appian.com/thread/152570?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 12:22:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13aa5094-62d2-4d2e-b0a0-12fe797182c6</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;AFAIK, Multiple activity-chained sync record smart services cause record locking conflicts and execution delays. Removing XOR gateways reduced complexity and execution time, preventing lock conflict and allowing the process to complete successfully.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>