Axon.ivy 7.0 - the Digital Business Platform - is out now...

Hello every one

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.

In technical/business example design, we cannot find the required role property in IvyProcesses data set.

How do we get required role of each process in IvyProcesses data set?

Maybe we need define a expression to select required role of a process from IvyProcesses data set.

Please let me know if having any unclear. Thanks in advance, TaiNguyen

asked 07.08 at 00:38

nttai's gravatar image

nttai
316
accept rate: 0%

edited 07.08 at 00:40


Hello @nttai

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.

To see all provided information use the technical report template Designer\reporting\designs\TechnicalReport.rptdesign (or make a copy/custom version of it) and change the value of the expression-element (approximately the line 2433) to false, then all attributes are listed. Note that the content of the dataset changes depending on the configuration of an element.

Here an extract of the file before

...
< row id="1607" >
    < property name="style" >Code< /property >
    < list-property name="visibility" >
        < structure >
            < property name="format" >all< /property >
            < expression name="valueExpr" type="javascript" >!params["Technical Details"].value || row["ElementCol1Name"] == "" || row["ElementCol1Name"] == null< /expression >
        < /structure >
    < /list-property >
...

and the mentioned line after the change

            < expression name="valueExpr" type="javascript" >false< /expression >

Note: I had to add a space after/before the < and the > character so the code was displayed proper in the answer...

My result The responsible role of the start request element

link

answered 07.08 at 06:26

Flavio%20Sadeghi's gravatar image

Flavio Sadeghi ♦♦
1.8k5722
accept rate: 75%

edited 07.08 at 07:51

Hello @Flavio, I check all attributes in Technical/Business template, cannot find the expected data. In the IvyProcesses dataset, can we select the role which can start a process? of course the role is in process data of the dataset. Thanks Flavio for your suggestion.

(07.08 at 06:54) nttai nttai's gravatar image

Hi @ntaii, I have updated the answer with an image. What information do you miss?

(07.08 at 07:51) Flavio Sadeghi ♦♦ Flavio%20Sadeghi's gravatar image

Thanks @Flavio, this is helpful.

(07.08 at 22:36) nttai nttai's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6

Asked: 07.08 at 00:38

Seen: 122 times

Last updated: 07.08 at 22:36