<?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>Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/discussions/f/data/34589/syncing-third-party-updates-to-a-series-of-database-tables</link><description>We have a series of Records configured in one large relationship structure (50 + record types). A third party process retrieves data from a SOAP webservice, extracts pertinent data and using a series of stored procedures inserts that into the database</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132716?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 17:12:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7482121-4381-40bc-8873-61fccaae1ead</guid><dc:creator>Richard Nolan</dc:creator><description>&lt;p&gt;I see two streams of relatively tedious work:&lt;br /&gt;1) Identifying the changes.&lt;/p&gt;
&lt;p&gt;2) Synching the changes.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think there are ways to short-path the first one, either through a tracking table updated by the stored procedures, or a view that is aware of Appian&amp;#39;s last poll and shows the keys that have been added since last poll.&lt;br /&gt;&lt;br /&gt;Part two is where I think Appian could provide a lift.&lt;br /&gt;&lt;br /&gt;From our perspective, there are only a peak of 120 updates a month,&amp;nbsp; but the data model is terribly distributed.&amp;nbsp; Even having something that synchs the records based on the top-level parent, and transcends the relationships to synch children or reference tables.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132714?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 17:09:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81e14f54-de9b-4a39-9e15-854ffb2d8f2e</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;It&amp;#39;s a great idea. I&amp;#39;ll draft up a product enhancement suggestion as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132713?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 17:08:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5797ef12-06c0-4fb2-952d-0238fac626b1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You already run a stored procedure that could keep track of all the updates. Why not write these to a separate table. Then a scheduled process in Appian could manage these update by syncing the modified records.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132712?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 17:07:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fef12654-8288-4a91-8be9-f87d891d8e93</guid><dc:creator>Richard Nolan</dc:creator><description>&lt;p&gt;I&amp;#39;m going to submit a product enhancement on this issue, as it seems like it should be on their queue if the focus on Synched Records continues to be a significant component of their low-code framework.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132708?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 17:01:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:958d4d02-6e2b-4ace-af65-503901b15150</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Yeah that would be really nice. If Appian releases that feature. Try this workaround if possible&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To identify unsynced records in an record, you could create a rule that compares the completion time of the previous poll with the timestamps of records in each table. This rule would recognize the discrepancy between synced and unsynced values in the underlying tables. You could automate this process to run periodically or trigger it manually as needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132704?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 16:26:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:943d5b39-c54e-44c2-a68b-ac9e6bbd4a0a</guid><dc:creator>Richard Nolan</dc:creator><description>&lt;p&gt;That was my initial feeling to, however at 50+ tables, and record sync not descending the relationship structure,&amp;nbsp; that&amp;#39;s a lot of asynchronous triggers to the Appian Sync Smart Service.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Given the table is partially synchronized before the polling tool examines the table, I also need some way of identifying the &amp;quot;un-synched&amp;quot; records.&amp;nbsp; Probably by tracking the previous poll&amp;#39;s completion time and looking at the timestamp of the records in each table.&lt;/p&gt;
&lt;p&gt;It would be really nice if there was a service that recognized the discrepancy between synched records and un-synched values in the underlying tables.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132703?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 16:20:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3c0a403-f799-4c7d-837f-5d094d99f94b</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;For me it looks good.&lt;/p&gt;
&lt;p&gt;I implemented similar solutions few days back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132701?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 16:15:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8059f35a-2114-4fb0-ad7d-86448a30c1be</guid><dc:creator>Richard Nolan</dc:creator><description>&lt;p&gt;My Record Types are based on those same tables, so I see my worst case scenario as:&lt;br /&gt;&lt;br /&gt;1) Schedule a process that periodically uses a!queryEntity against the tables (requires CDT configuration?). Say I get these results:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Table 1: PK Values {100,101,102}&lt;/li&gt;
&lt;li&gt;Table 2: PK Values {1000,1001, 1002}&lt;/li&gt;
&lt;li&gt;Table 3: PK Values {2000,2001,2002}&lt;/li&gt;
&lt;li&gt;Table N: PK Values {10000,10001,10002}&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;2) Trigger a series of Synchronize Record Smart Services where the configuration looks like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;recordType!Table&amp;nbsp;1:&lt;span&gt;{100,101,102},&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;recordType!Table&lt;span&gt;&amp;nbsp;2:&amp;nbsp;{1000,1001, 1002},&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;recordType!Table&lt;span&gt;&amp;nbsp;3:&lt;/span&gt;&lt;span&gt;{2000,2001,2002},&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;recordType!Table&lt;span&gt;&amp;nbsp;N:{10000,10001,10002},&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Is there a better way?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syncing Third Party Updates to a series of Database  Tables</title><link>https://community.appian.com/thread/132700?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 16:07:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2a805a85-ddda-41ce-9d6a-888e03c5331b</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;You can automate the process by setting up periodic database queries to retrieve new entries, mapping the data to your record types, and then using Appian&amp;#39;s record sync functionality to seamlessly integrate the new entries without manual examination or sync operations for each record type.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Refer for sync records&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.1/Sync_Records_Smart_Service.html#:~:text=The%20Sync%20Records%20smart%20service,first%20configure%20a%20sync%20expression"&gt;https://docs.appian.com/suite/help/24.1/Sync_Records_Smart_Service.html#:~:text=The%20Sync%20Records%20smart%20service,first%20configure%20a%20sync%20expression&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>