<?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 print the value of an id?</title><link>https://community.appian.com/discussions/f/appian-community-edition/29458/how-to-print-the-value-of-an-id</link><description>If I select 40 then how to print the value of of 40 by a code?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116788?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 18:42:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52224001-f839-45e6-a3cb-a5c58a0bc9cf</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I&amp;#39;m going to refer again to my &lt;a href="/discussions/f/appian-community-edition/29458/how-to-print-the-value-of-an-id/116777#116777"&gt;prior answer&lt;/a&gt; which is unchanged:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/67/pastedimage1690310373712v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And also, since you didn&amp;#39;t comment on this part, I reiterate again, you should try and consult with whoever originally wrote this code, and gain understanding of how the logic works.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/67/pastedimage1690310462334v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116787?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 18:17:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f35715a1-b2d9-4459-953c-50e82e598f49</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I think there is a general misconception. Earlier in this thread (&lt;a href="/discussions/f/appian-community-edition/29458/how-to-print-the-value-of-an-id/116738#116738"&gt;https://community.appian.com/discussions/f/appian-community-edition/29458/how-to-print-the-value-of-an-id/116738#116738&lt;/a&gt;) you can see how to evaluate a decision table. And that will generate the output you are looking for.&lt;/p&gt;
&lt;p&gt;This is how it is. I suggest to test that in a separate expression or interface to understand how this works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116785?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 17:52:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1986f74c-26bd-4de0-8ae2-3999b1bf35c7</guid><dc:creator>moulikadas</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/67/pastedimage1690307355516v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;this abouve code is for &amp;quot;total occurences&amp;quot; grid, but I can&amp;#39;t the output value printing in the &amp;quot;Recommended Corrective Action&amp;quot; in this grid. That part plz tell me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116784?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 17:50:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1c9b84a8-38c9-46f0-925f-e923068beff6</guid><dc:creator>moulikadas</dc:creator><description>&lt;p&gt;tooltip: rule!INO_determineAttendanceConsequence(attendancePoints: local!points) this code is for the input value showing in the grid. but same way I have to show the output value also. So how is it possible. that code plz tell me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116782?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 17:46:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ff9ddc5-9adc-4660-8e0f-4068853fd6d8</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="189470" url="~/discussions/f/appian-community-edition/29458/how-to-print-the-value-of-an-id/116778#116778"]so how to print this output column for below part?&amp;nbsp;[/quote]
&lt;p&gt;I feel like I already said all I can really say about this in my prior comment - to reiterate, you should check with whoever designed the logic determining when a certain tag would show up, and seek to understand why the tags aren&amp;#39;t showing up in this column, because the value you&amp;#39;re wanting to display is already set to show as the tag&amp;#39;s toolTip when the visibility conditions are met (and I can&amp;#39;t make any guesses as to why the column isn&amp;#39;t meeting the necessary conditions and is showing empty as per your screenshot).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116778?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 17:22:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6368ba4-d712-483c-8d37-578628e63508</guid><dc:creator>moulikadas</dc:creator><description>&lt;p&gt;so how to print this output column for below part?&lt;/p&gt;
&lt;p&gt;tooltip: rule!INO_determineAttendanceConsequence(attendancePoints: local!points)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116777?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 17:19:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d270ffb5-99e8-4114-aee6-e35ee66ab6f1</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="189470" url="~/discussions/f/appian-community-edition/29458/how-to-print-the-value-of-an-id/116776#116776"]Please help me how to write the code?[/quote]
&lt;p&gt;From the looks of the code you posted, when conditions are correct (which i can&amp;#39;t completely discern), that grid column should be displaying a Tag Item with the output value of the Decision contained in its Tooltip.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/67/pastedimage1690305484243v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Are you able to consult with whoever wrote the code in the above &lt;em&gt;a!gridColumn()&lt;/em&gt; and &lt;em&gt;a!tagField()&lt;/em&gt;?&amp;nbsp; It&amp;#39;s doing some complicated things including row-specific local variables which obviously originated elsewhere, and would be a bit complicated for us here on Community to try to test/debug, not being able to access your environment and so-forth.&amp;nbsp; So honestly I&amp;#39;d recommned seeking an explanation from whoever originally formulated this column.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116776?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 16:53:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ab73c586-1ab7-48fc-a481-8aff1edc9fe2</guid><dc:creator>moulikadas</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/67/pastedimage1690303619951v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have to show the decision table&amp;#39;s &amp;quot;output&amp;quot; value would be shown in &amp;quot;Recommended Corrective Action&amp;quot; this grid and the &amp;quot;total occurences&amp;quot; grid value is the &amp;quot;attendencepoints&amp;quot; value of decision table.&lt;/p&gt;
&lt;p&gt;so the above code is for &amp;quot;&lt;span&gt;total occurences&amp;quot; grid where I have shown the&amp;nbsp;&amp;quot;attendencepoints&amp;quot; value of decision table. and the same way I have to print the&amp;nbsp;&amp;quot;Recommended Corrective Action&amp;quot; grid for&amp;nbsp;the decision table&amp;#39;s &amp;quot;output&amp;quot; value. But I can&amp;#39;t.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please help me how to write the code?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116775?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 16:46:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:da0de9e2-148f-40da-b40a-8b9466bc132e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What grid do you mean? Please help us to understand what you are expecting to see.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116774?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 16:30:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e91c2bc-222f-4290-a7de-5ccd447ecdb9</guid><dc:creator>moulikadas</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!gridColumn(
          label: &amp;quot;Recommended Corrective Action&amp;quot;,
          value: a!tagField(
            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
            align: &amp;quot;END&amp;quot;,
            tags: if(
              index(
                index(
                  ri!employeeList,
                  wherecontains(
                    fv!row.internalEmpId,
                    tointeger(
                      index(ri!employeeList, &amp;quot;internalEmpId&amp;quot;, {})
                    )
                  ),
                  {}
                ),
                &amp;quot;designationId&amp;quot;,
                {}
              ) = cons!INO_DESIG_ID_STAFF,
              a!localVariables(
                local!points: index(
                  ri!totalPointsList,
                  wherecontains(
                    fv!identifier,
                    tointeger(ri!attendanceDataSubset.data)
                  ),
                  {}
                ),
                a!tagItem(
                  text: local!points,
                  backgroundColor: rule!INO_getAttendanceScoreColour(score: local!points),
                  tooltip: rule!INO_determineAttendanceConsequence(attendancePoints: local!points)
                )
              ),
              null
            )
          ),
          align: &amp;quot;END&amp;quot;,
          showWhen: contains(
            tointeger(
              index(ri!employeeList, &amp;quot;designationId&amp;quot;, {})
            ),
            cons!INO_DESIG_ID_STAFF
          )
        ),&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here how to show the decision table&amp;#39;s output grid? please tell me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116738?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 11:53:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67694b18-eb9b-4297-9837-1db96eb4449f</guid><dc:creator>Harshmodi</dc:creator><description>&lt;p&gt;&lt;span&gt;To invoke a decision object, simply use the syntax rule!decisionObjectName. For a practical example, consider the following code snippet in which I call the decision object within an interface:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/67/pastedimage1690285909487v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116737?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 11:44:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3010e484-2258-406e-a8ac-c65d11921724</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I am not sure what you are looking for. But maybe the documentation helps.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Decisions.html#call-a-decision-from-another-expression"&gt;https://docs.appian.com/suite/help/23.2/Decisions.html#call-a-decision-from-another-expression&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Appian_Decisions.html"&gt;docs.appian.com/.../Appian_Decisions.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116735?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 11:28:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87d2af3e-f0b9-4242-bcc7-0cd99a881711</guid><dc:creator>moulikadas</dc:creator><description>&lt;p&gt;This decision table I have to use another interface, and I have to print the output column value. So how to print? plz tell me the code&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the value of an id?</title><link>https://community.appian.com/thread/116732?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 11:06:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7291d42b-b68a-4011-b05f-0817285703cd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;A decision table can be used just like any expression. It has the input parameter &amp;quot;attendancePoints&amp;quot; and the text is the output. Test this using the test panel at the right hand side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>