Merge non-persistent and persistent entities and display it in a page

0
Hi all, I want to retrieve product list by product code from product (Using retrieve activity) and the same from JsonObject_C (using callRest java action) After getting two different list, I want to add product list into JsonObject_C list. Is there anyway to do it except creating new entity and looping it in microflow  
asked
3 answers
0

No, a list can only have the same type entity. Is there a reason why you don't want to use a loop?

answered
0

Is it a possibility to make the JsonObject_C persistable, and store your products in that table?

That way your saved products, and recieved products from the rest call are in the same entity, only those from the restcall you don’t need to commit. Adding a boolean or enumeration to the entity could then easely tell you if the object is one from the restcall or from your database

answered
0

Have you tried adding the retrieve to the import mapping?

Maybe in that microflow you can retrieve and a merge your persistant objects into the received JsonObject-list.

answered