Question

Accessing reference data

Within App Studio - I'm trying to read a record from a data table that I have defined with several records stored in Pega.

Previously I've used a data reference and initialized it by displaying a drop-down or search on a form.

Now I want to initialize the data reference using a field that was passed to the sub-process. The field contains the value of one of the fields in the data type. It's not clear to me how I initialize my to reference the correct data record.

Thanks in advance

Comments

Keep up to date on this post and subscribe to comments

November 19, 2019 - 12:19am

Hi

Use a paratemerized data page with Report definition as source.

The field you are passing to sub process can be passed as a paramter to data page which refrences RD which has this as a filter.

You will get the exact record for that value. Assuming you dont have duplicates, if duplicates exist then you will get multiple rows.

Regards

Bhavya

November 19, 2019 - 11:33am
Response to Bhavya_Incessant

Thanks Bhavya.  I'm sure you're correct, but I've not created a data page before, and when I looked at some training material, it was not clear.  Seems very complicated for simply accessing reference data.

I guess I'll leave it for another day when I can spend more time going through training material.