<?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>Is there any easy way to convert this low code to security expression?</title><link>https://community.appian.com/discussions/f/general/38885/is-there-any-easy-way-to-convert-this-low-code-to-security-expression</link><description>The following: 
 
 
 IMHO, the low code security row should be dynamically converted to a security expression whenever I switch to it and vice-versa. 
 It would save a lot of time. 
 
 By the way, is it really possible to apply such a security rule into</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there any easy way to convert this low code to security expression?</title><link>https://community.appian.com/thread/147083?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 13:06:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f1f2464-0e38-4acc-a5bd-810079fca9b1</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="293911" url="~/discussions/f/general/38885/is-there-any-easy-way-to-convert-this-low-code-to-security-expression"]IMHO, the low code security row should be dynamically converted to a security expression whenever I switch to it and vice-versa[/quote]
&lt;p&gt;That&amp;#39;s asking a lot.&amp;nbsp; Just for one example, what happens when the expression contains something unable to be expressed in the low-code version?&lt;/p&gt;
[quote userid="293911" url="~/discussions/f/general/38885/is-there-any-easy-way-to-convert-this-low-code-to-security-expression"]how could I convert this into a security expression?[/quote]
&lt;p&gt;The only way is manually - it&amp;#39;ll be cumbersome, but Vyshnavi already provided a good example of what the structure would look like.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any easy way to convert this low code to security expression?</title><link>https://community.appian.com/thread/147062?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 03:06:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b712a023-cd9e-48fe-bf15-322babaa0d38</guid><dc:creator>Vyshnavi Naripeddi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/silasf799172"&gt;Silas. B. Ferreira&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently its not possible to covert security rule to security expression.&lt;/p&gt;
&lt;p&gt;But you can write the same conditions in security expression using functions like {and,a!isusermemberofgroup,if}.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="markdown"&gt;if(
  and(
    a!isUserMemberOfGroup(
      username: loggedInUser(),
      groups: { cons!HDS_APPROVERS },
    ),
    rv!record[&amp;#39;recordType!HDS Request.isActive&amp;#39;]=true(),
    rv!record[&amp;#39;recordType!HDS Request.status&amp;#39;]=&amp;quot;Pending Approval&amp;quot;
  ),
  true(),
  false()
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>