I would like to generate a Grid Table from a Process Model. My process has an array of CDT called "Result" in this format:
[nfc=, description= proto1, type=1, items=, to=, id=1],
[nfc=, description= proto2, type=1, items=, to=, id=2],
[nfc=, description= proto3, type=1, items=, to=, id=3]
Into "Edit Record List" I have defined a column with this property: Component text --> Display value -> fr!result.description
But the preview prints me out: "
The field [result.description] does not exist.
" I can't understand how to show all fields of an array from a Process Model.
Can you provide a little more information about your issue? Are you using the Process Model as the source of your Record Type? If you have defined the source correctly, you should be able to type rf! in the record list editor in any expression and it will autocomplete with suggestions for the variables available.
If you have your source defined correctly and it's still not working, also try to publish your process model.
I'm also a little confused what you are trying to do. The purpose of the record list is to show one row for each instance of the process, but it looks like you're trying to create a grid with all the data from a single instance. If that is the case you don't want to use "Edit Record List" - instead, create an interface that can display in the summary view and use a grid there:
Yes I'm using a process Model.
What I have done is to put all my string data into one intance ( instance is a variable? ).So what I have to do in my case?
Put, for example, all the description fields into one instance?Tks
I still don't understand what you're trying to do. An instance refers to every time you run the process. So, the purpose of the record list is to show all the times you ran the process (instances). The purpose of the record summary view is to show all information about a particular time you ran the process. Is that what you're trying to do?
If yes, then you will need to create a new interface object:
Then, create a rule input to the interface that matches your variable for "Result". Then, create a grid in the interface and connect your interface to the record using the record view link above.
What I'm trying to do is to run a Process Model, this process model calls an external service that gives me back a list of items and then I want to show this list into a grid.
Ok thanks for the clarification. You will definitely need an interface then that displays the results in a grid. This is probably the closest pattern to what you want:
Then, just replace the data at the top with a rule input, and then you can display this in the record summary view or another form.
How I can call my Process Model inside a rule input?
I try with rule!<My_Process_Model> but I can't see it.Tks
have you seen a!startProcessLink()?
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.