<?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>How to implement transactions in appian</title><link>https://community.appian.com/discussions/f/process/39396/how-to-implement-transactions-in-appian</link><description>I have a process like this. I want to use transaction constraints on three write record nodes. Is there some easy way I can implement my require. 
 
 
 another question is what the functional of sync records. 
 I have read this document. https://docs</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149807?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2025 02:22:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4fcd4c3b-cecc-40d7-8272-79985832f013</guid><dc:creator>Peon</dc:creator><description>&lt;p&gt;I have tried it, it really useful. A tips for others, if the `&lt;span&gt;Records Inputs`&lt;/span&gt; you&amp;nbsp;passed&amp;nbsp;contain null, it will error.&amp;nbsp; It&amp;#39;s better to use reject to filter.&lt;br /&gt;&lt;pre class="ui-code" data-mode="java"&gt;={ reject(
  a!isNullOrEmpty,
  {
    pv!list1,
    pv!list2,
    pv!list3,
  }
)}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149600?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 05:29:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8ffe157-61d3-4291-8416-ce0589a11b72</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Let me know if that works for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149599?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 05:28:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a74b89e-92e5-4f5f-a933-89775c7787eb</guid><dc:creator>Peon</dc:creator><description>&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149598?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 05:22:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d050173-e609-40d9-aa74-40344c44dd75</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Check release notes for 25.1&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/25.1/Appian_Release_Notes.html#write-to-multiple-record-types-at-once"&gt;https://docs.appian.com/suite/help/25.1/Appian_Release_Notes.html#write-to-multiple-record-types-at-once&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1751606598435v1.png" /&gt;&lt;br /&gt;&lt;/a&gt;I tried writing multiple records of different type in single write record smart service.&lt;br /&gt;For obvious reason write event will not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149597?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 04:58:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3889cb20-7180-470b-89b9-b0b070f0aaf7</guid><dc:creator>Peon</dc:creator><description>&lt;p&gt;Can you give me a snapshot about this function? I am not find this function in my process model, I use the 25.2 version&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149594?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 04:32:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:048baa15-05d7-4de9-9666-d10fe60d23c4</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;If you are using the latest version of Appian, you can write to different types of record types&amp;mdash;within the same schema&amp;mdash;using a single Write Records smart service, by passing each as a separate pv! of type Record.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149591?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 02:51:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:94e320d3-7c1d-47ae-ab17-b3a2d67c7ea2</guid><dc:creator>Peon</dc:creator><description>&lt;p&gt;Thanks, but my data is not the same type, so I use separate Write Records nodes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149587?ContentTypeID=1</link><pubDate>Thu, 03 Jul 2025 14:44:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8f681988-f3c8-4760-9485-ce06b57c0cab</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;span data-teams="true"&gt;Constraints :- Instead of using three separate Write Records nodes, configure all three records in a single Write Records node. This automatically creates one transaction, ensuring that if any write fails, all operations roll back while maintaining all record and database relations.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;To understand sync record smart service first understand basics of sync record:-&lt;br /&gt;Sync Records synchronizes data from your database into Appian&amp;rsquo;s record cache.&lt;br /&gt;What is Sync? --&amp;gt; Appian maintains a cache layer of your database data. Instead of querying the database every time, Appian retrieves data from this cache. Much faster data retrieval and better performance&lt;br /&gt;Database &amp;larr; stores your actual data&lt;br /&gt;Sync Records &amp;larr; copies/updates data from database to Appian cache&lt;br /&gt;Appian Cache &amp;larr; fast, in-memory storage for quick access&lt;br /&gt;Record View/Queries &amp;larr; read from cache instead of database.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;When you make database changes (especially outside Appian or bulk operations), you use Sync Records to update Appian&amp;rsquo;s cache with the latest database information like executing database insert script directly in database.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement transactions in appian</title><link>https://community.appian.com/thread/149583?ContentTypeID=1</link><pubDate>Thu, 03 Jul 2025 13:56:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f68bad71-6cbd-4d96-833d-cc77b7c6fe70</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;For transaction constraints, its good to define the relationships between tables efficiently in database as well as during record type relationship configuration. You can allow the related records to be added/updated / deleted with the base records using single Write records node. You won&amp;#39;t need three nodes and Appian will commit the transaction only if all the operations are performed without any errors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suggest to go through the below documents thoroughly to understand this :&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/25.2/Write_Records_Smart_Service.html"&gt;docs.appian.com/.../Write_Records_Smart_Service.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/25.2/record-type-relationships.html#allow-writes-and-deletes"&gt;https://docs.appian.com/suite/help/25.2/record-type-relationships.html#allow-writes-and-deletes&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyway if you want the transaction to be applied via code and logic let me know and I can share a workaround for that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For sync records smart service - there are use cases when we want to sync the record deliberately to refresh data. E.g. some data manipulation is done via&amp;nbsp; a store procedure call in process model and then you need to re-sync record data. Some other example use cases are mentioned here&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/25.2/Sync_Records_Smart_Service.html#examples"&gt;https://docs.appian.com/suite/help/25.2/Sync_Records_Smart_Service.html#examples&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>