<?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>Try to use rf!data to show and hide visibilities of related action. rf!data</title><link>https://community.appian.com/discussions/f/data/7956/try-to-use-rf-data-to-show-and-hide-visibilities-of-related-action-rf-data</link><description>Try to use rf!data to show and hide visibilities of related action. rf!data is displayed well in record list grid view...However, same check not working in related action visibility field. check is simple : rf!status.code=&amp;quot;PEND&amp;quot; , rf!status.code is displaying</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33296?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2016 10:01:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a14da162-52af-493b-b957-554eca5d2565</guid><dc:creator>Sally Mason</dc:creator><description>Ah, good to know, thanks for the update!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33295?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2016 09:58:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:73a9d428-a3a2-4137-a390-08da61db30af</guid><dc:creator>sushilk872</dc:creator><description>Issue has been fixed using rsp query in source expression.   Use given method to get rp!id, check rp!idvalue, if value exist then call webservice  by passing value. else call all.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33152?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2016 08:01:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a02f3ea-3ecf-4dc6-a141-12dee5aef5fa</guid><dc:creator>Eduardo Fuentes</dc:creator><description>The problem is that your record is service backed and is returning more than 1 item. You can confirm this by editing your rule that generates the record title, which uses the same expression you use to retrieve the record from your web service, and print:&lt;br /&gt;&lt;br /&gt;local!data.status&lt;br /&gt;&lt;br /&gt;You&amp;#39;ll see that the web service is returning something of type&lt;br /&gt;&lt;br /&gt;PEND; PEND; PEND; PEND; PEND; PEND; PEND; GRAN; PEND; GRAN&lt;br /&gt;&lt;br /&gt;since Appian can only use rf! to map to a single record, it is picking the first result your expression is returning thus resulting in the evaluation of&lt;br /&gt;&lt;br /&gt;rf!status.code=&amp;quot;PEND&amp;quot;&lt;br /&gt;&lt;br /&gt;to be true.&lt;br /&gt;&lt;br /&gt;You need to re-design your expression that defines this service backed record to only return one result. Maybe doing a lookup the same way you&amp;#39;re doing it to find the right record title.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33052?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 10:24:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0c3c41aa-da66-40e5-a6d1-5a8f5d789732</guid><dc:creator>Sally Mason</dc:creator><description>Hi Sushil, &lt;br /&gt;&lt;br /&gt;Please refer to the answer given in your support case - if you find that works, please share the answer here with everyone.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33048?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 09:31:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:39f53de8-f846-4caf-9124-871ff98f718e</guid><dc:creator>sushilk872</dc:creator><description>@sikhivahan... nops no success, some how value is not retaining till related action window.  If i try to access other value  whch are not in CDT,they are available  what not those which are in CDT , i tried with productType.cpde&lt;&gt;RPP. no success.&lt;br /&gt;&lt;br /&gt;So seem in related action , i am not able to access nested CDT..&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33046?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 08:09:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67ff3291-f10a-4e71-a824-84e47ed24572</guid><dc:creator>sikhivahans</dc:creator><description>@sushilk As per my observation, 'status' and the 'code' inside the status are single, and so there shouldn't be any problem in accessing or utilising the status.code. Is there a chance for existence of null values in 'status' or 'status.code' fields? If so, can you rewrite the visibility expression as follows and test it again?&lt;br /&gt;&lt;br /&gt;=fn!if(&lt;br /&gt;\trule!APN_isEmpty(rf!status),&lt;br /&gt;\tfn!false,&lt;br /&gt;\tfn!if(&lt;br /&gt;\          trule!APN_isBlank(rf!status.code),&lt;br /&gt;\          tfn!false(),&lt;br /&gt;\          tfn!and(rf!status.code="PEND")&lt;br /&gt;\t)&lt;br /&gt;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33044?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 07:04:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:570cdad0-9a64-49a0-960f-964a42e5ded7</guid><dc:creator>sushilk872</dc:creator><description>Attached  is CDT  and Product record&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/16/ProductCdt.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/16/ProductCdt.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/16/Product-Record.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/16/Product-Record.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33043?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 06:44:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3385befa-db48-4b10-aa45-9042d14c16d0</guid><dc:creator>sikhivahans</dc:creator><description>@sushilk Would it be possible to attach the CDT's snapshot or atleast know us the details such as data type and multiplicity of 'status' and 'code'? Then the practitioners can comment on its availability in the areas such as Record Filters, Visibility expressions etc.&lt;br /&gt;&lt;br /&gt;If you are expecting multiplicity in the values(be it a local variable or record field or result of expression/query) you are making use of in the checks that drives the visibility, I would suggest applying casting or a similar logic(such as fn!and(),fn!or() etc) over the resultant value.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33042?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 06:19:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cba245a1-0bb9-4805-9630-52eaaea8b4ed</guid><dc:creator>sushilk872</dc:creator><description>@sally  from where rp values come in record ?, currently its ID and Type coming to me ...&lt;br /&gt;@sikhivahans, seem rf!status.code value is not available,   or it is comparing first record only.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33041?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 05:55:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86488a35-4237-4f67-8661-6fb693272c58</guid><dc:creator>sikhivahans</dc:creator><description>@sushilk Hi, would you please be able to try the below expression and do let us know if it works?&lt;br /&gt;&lt;br /&gt;fn!cast(fn!typeof(fn!true()),rf!status.code=&amp;quot;PEND&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Try to use rf!data to show and hide visibilities of related action.&lt;br /&gt;rf!data</title><link>https://community.appian.com/thread/33040?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 05:45:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad31e83c-eb7d-4a41-b9de-d42b3e8460f5</guid><dc:creator>Sally Mason</dc:creator><description>Hi Sushil, I would recommend trying rp!status.code=&amp;quot;PEND&amp;quot; if possible. Let us know if that resolves your issue for related action?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>