Error while navigating to summary view of process backed record

Certified Lead Developer

Hey all,

I am getting an error while accessing the summary view from process backed record, In the summary view I am calling an interface which has almost 50 parameters(interface inputs). I am passing the parameters with rf's. The error is stating like Could not parse expression. Details: Unexpected count of record variables (APNX-1-4198-001). Can anyone help on this?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to santoshd378
    Hi happy to hear that your problem is resolved, but may I know is there any specific reason behind having almost 50 rule inputs for an interface, which is not at all a best practice.


    Also this will cause your interface performance to fall.

    Instead of that you can create a task report for the same process model context, which is getting used for preparing the record.
    Pull all the necessary information's into it, and in interface, using queryProcessAnalytics and pass process instance id as input to filter the data and based on that load everything in local variable on load()

    I believe this approach will be far better than having 50 rows as an input to interface.
Children
No Data