Hi,
I called a summary view interface in another interface using record relationship but having problem in the process model.
This is my Phase Title Interface calling another interface 'Summay View' using the rule input "titleinput" which is a record type. The interface works fine but when I try to create a process model, I am not able to call the parameters.
The expression used:
a!formLayout( label: "Selected Project", contents: { a!sectionLayout( contents: { rule!MD_PM_ProjectSummaryView(ri!titleinput['recordType!}MD_PM_PhaseTitle.relationships.}mdPmProjectdetail']) - I used the record relationship here. }
Process model:
Is it because titleinput is a record?
how to resolve this issue? or how can I use summary view interface in Phase title interface without using the title input record type?
Please advice.
TIA.
Discussion posts and replies are publicly visible
You'll have a much easier time if you can use the CDT type on your form instead. AFAIK process variables can't be Record Type (and it seems a bit silly that we can't just cross-typecast them even now). When in doubt, i find it can simplify things quite a bit to just pass a Primary Key ID around and handle the work on-form and/or in-process.
Mike Schmitt said: AFAIK process variables can't be Record Type
...yet! Watch out in a future version of Appian!
Stewart Burchell said:Watch out in a future version of Appian
I'll be watching and... cringing, i'm sorry to say. Until / unless record types get as easy to use as CDTs and/or can be typecast back and forth with CDT data.