<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Display required role of a process in BIRT report</title><link>https://answers.axonivy.com/questions/2794/display-required-role-of-a-process-in-birt-report</link><description>&lt;p&gt;Hello every one&lt;/p&gt;
&lt;p&gt;As customer expected, we must display required role of a process in report details.
That means: every process details in report, we should show which roles can start the process.&lt;/p&gt;
&lt;p&gt;In technical/business example design, we cannot find the required role property in IvyProcesses data set.&lt;/p&gt;
&lt;p&gt;How do we get required role of each process in IvyProcesses data set?&lt;/p&gt;
&lt;p&gt;Maybe we need define a expression to select required role of a process from IvyProcesses data set.&lt;/p&gt;
&lt;p&gt;Please let me know if having any unclear. 
Thanks in advance,
TaiNguyen&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2794/display-required-role-of-a-process-in-birt-report" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 07 Aug 2017 06:26:46 -0400</lastBuildDate><item><title>Answer by Flavio Sadeghi</title><link>https://answers.axonivy.com/questions/2794/display-required-role-of-a-process-in-birt-report/2795</link><description>&lt;p&gt;Hello &lt;a href="http://answers.axonivy.com/users/860/nttai"&gt;&lt;a href="http://answers.axonivy.com/users/860/nttai"&gt;@nttai&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The requested information (and some other) are part of the exposed dataset. It's a template/configration issue of the "Report Tempalte". The "Report Tempalte" can be selected when generating a report. &lt;/p&gt;
&lt;p&gt;To see all provided information use the technical report template &lt;code&gt;Designer\reporting\designs\TechnicalReport.rptdesign&lt;/code&gt; (or make a copy/custom version of it) and change the value of the &lt;code&gt;expression&lt;/code&gt;-element (approximately the line 2433) to &lt;code&gt;false&lt;/code&gt;, then all attributes are listed. Note that the content of the dataset changes depending on the configuration of an element.&lt;/p&gt;
&lt;p&gt;Here an extract of the file before&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;...
&amp;lt; row id="1607" &amp;gt;
    &amp;lt; property name="style" &amp;gt;Code&amp;lt; /property &amp;gt;
    &amp;lt; list-property name="visibility" &amp;gt;
        &amp;lt; structure &amp;gt;
            &amp;lt; property name="format" &amp;gt;all&amp;lt; /property &amp;gt;
            &amp;lt; expression name="valueExpr" type="javascript" &amp;gt;!params["Technical Details"].value || row["ElementCol1Name"] == "" || row["ElementCol1Name"] == null&amp;lt; /expression &amp;gt;
        &amp;lt; /structure &amp;gt;
    &amp;lt; /list-property &amp;gt;
...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and the mentioned line after the change&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;            &amp;lt; expression name="valueExpr" type="javascript" &amp;gt;false&amp;lt; /expression &amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note: I had to add a space after/before the &amp;lt; and the &amp;gt; character so the code was displayed proper in the answer...&lt;/p&gt;
&lt;p&gt;My result
&lt;img alt="The responsible role of the start request element" src="http://answers.axonivy.com/upfiles/ReportingRequestStart.png"&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Flavio Sadeghi</dc:creator><pubDate>Mon, 07 Aug 2017 06:26:46 -0400</pubDate><guid>https://answers.axonivy.com/questions/2794/display-required-role-of-a-process-in-birt-report/2795</guid></item></channel></rss>