<?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>Take the description of a group within another group</title><link>https://community.appian.com/discussions/f/general/14714/take-the-description-of-a-group-within-another-group</link><description>Hello 
 
 
 
 
 Within a project of my own, I created the group &amp;quot;AutodealersOffice&amp;quot;.
Within this group I have two groups: 
AutodealersOffice
Name Description
Office21 Office21
Office45 Office45 
Inside Office21 is the name of my user and inside Office45</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Take the description of a group within another group</title><link>https://community.appian.com/thread/65931?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 13:34:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:693adb54-ddee-41ff-9131-9a1149c8f379</guid><dc:creator>Alastr</dc:creator><description>&lt;pre class="tw-data-text tw-ta tw-text-medium" dir="ltr"&gt;&lt;span lang="en"&gt;It does not work for me:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;a!save(ri!new.autodealers,rule!getOffice(group(togroup(ri!new.autodealers),&amp;quot;description&amp;quot;)))&lt;/em&gt;&lt;br /&gt;that is, I want to send, save in my bb.dd, Office21 and not [Group: 66]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="tw-data-text tw-ta tw-text-small" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;This is the action of saving when you press the send button&lt;br /&gt; &lt;br /&gt;&lt;em&gt;a!buttonWidget(&lt;/em&gt;&lt;br /&gt;&lt;em&gt; label: &amp;quot;Send&amp;quot;,&lt;/em&gt;&lt;br /&gt;&lt;em&gt; value: true,&lt;/em&gt;&lt;br /&gt;&lt;em&gt; saveInto: {&lt;/em&gt;&lt;br /&gt;&lt;em&gt; a!save(ri!new.solicId, local!caseRandom),&lt;/em&gt;&lt;br /&gt;&lt;em&gt; a!save(ri!new.applicant,loggedInUser()),&lt;/em&gt;&lt;br /&gt;&lt;em&gt; a!save(ri!new.autodealers,rule!getOffice()) &lt;/em&gt;&lt;br /&gt;&lt;em&gt; },&lt;/em&gt;&lt;br /&gt;&lt;em&gt; submit: true,&lt;/em&gt;&lt;br /&gt;&lt;em&gt; style: &amp;quot;PRIMARY&amp;quot;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; )&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="tw-data-text tw-ta tw-text-medium" dir="ltr"&gt;&lt;span lang="en"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="tw-data-text tw-ta tw-text-medium" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Take the description of a group within another group</title><link>https://community.appian.com/thread/65929?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 12:32:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6520f09-7448-45bf-ba64-f8af418a6f36</guid><dc:creator>Marcel Paradies</dc:creator><description>&lt;p&gt;Let&amp;#39;s widen the scope a bit. You are saying &amp;quot;it is wrong&amp;quot; - what exactly does not work? What are your inputs and expected outputs?&lt;/p&gt;
&lt;p&gt;Currently, after reading your expression again, I also notice:&lt;/p&gt;
&lt;p&gt;- You are attempting to save an input into itself, which possibly might lead to problems if not for the fact that..&lt;/p&gt;
&lt;p&gt;- The a!save is never executed because your component is readonly, so the user never interacts with it.&lt;/p&gt;
&lt;p&gt;Since you say you want to save something on a button press, what&amp;#39;s the save action in your send button?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Take the description of a group within another group</title><link>https://community.appian.com/thread/65928?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 12:20:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:61f72e90-37af-483b-9a69-413d6c5b3e1b</guid><dc:creator>Alastr</dc:creator><description>&lt;pre class="tw-data-text tw-ta tw-text-small" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;I do not finish understanding what you want to explain to me. Could you give me an example?&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Take the description of a group within another group</title><link>https://community.appian.com/thread/65927?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 12:17:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:448e67ef-013d-4a53-aeca-17db51298290</guid><dc:creator>Marcel Paradies</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;first, your a!save is not particularly readable. I recommend passing parameters explicitly and use newlines now and then.&lt;/p&gt;
&lt;p&gt;As to the problem at hand, group() takes groupId as number and property as text. What you are doing in your expression is converting that input (66?) to [Group: 66], instead of a number. group(66,&amp;quot;description&amp;quot;), then, should help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>