Assigning object variables

0
Hi   I created a microfle with an object variable. When creating an object to save\update in the database, I need to assign each fied one by one as follows   Is there a way to assign the full object on one go?   Thank you
asked
2 answers
0

Hi Mohammed,

is your goal to commit (save/update) the “ParamLookupType” object in to your database?

If yes, you can just use the “Commit Object(s)” Activity to commit your paramater “ParamLookupType” to your database without the need of creating a new object, copy the parameter data/attributes and afterwards commit it to the database. 

Best regards,

Ömer

answered
0

Looking at you microflow, it seems to me like, you are creating LookType object based on another object.

Which is technically cloning. So try, Clone or DeepClone java action from CommunityCommons. ObjectHandling module has similar java actions.

I guess, it should support cloning of different entities. However, I havnt tried yet

answered