cancel
Showing results for 
Search instead for 
Did you mean: 

Resultset MDM Web dynpro component

0 Kudos

Hello All,


Need your help.
We have one requirement where we want to show record based on some condition.


For ex. I have workflow history table in MDM with following fileds

WF ID,
WF Task,
WF Status,
WF Priority


I want to retrive record where WF Status = "Failed".

Now for this requirement i have to use standard ResultSet mdm web dynpro .But i dont understand how to put my condition through MDM Configurator or through Coding.

Could you please help me on this

Thanks,

Aditi

Accepted Solutions (1)

Accepted Solutions (1)

abhijeet_mukkawar
Active Contributor
0 Kudos

Hi Aditi,

We have worked on similar scenario.

Here you can use APIs (e.g. RetrieveLimitedRecordsExCommand) with search constrain to filter and retreive only status Failed records. Once you get the records you can use method setRecordIds() on resultset WDC component to set these records in result set.

This should give resultset only the records you intend to put in.

-Abhijeet

 

0 Kudos

Hello abhijeet,

Its worked.

Thank you very much for your help.

Former Member
0 Kudos

Hi Abhijeet,

I have a similar requirement where in the result set table should be filtered based on a particular field of result set table. I tried to set the context of RecordsInput->FieldValues node using the fields and value attribute. The code is placed in init method of custom component controller. I am not getting anything in table now. Can you please help me out?

abhijeet_mukkawar
Active Contributor
0 Kudos

you have to use setRecordId() for setting the records once you get all the filtered records using APIs

Answers (0)