Forum Discussion
alchemiz
2 years agoContributor III
Hi neelamanikandan ,
Good day, see if this will work place the expression in a mapper
sl.ensureArray($ServiceCompanyArray).map(c=> sl.ensureArray($ServiceCompanyDetailArray).map(d=> {'Vehicle_Id': $Vehicle_Id, 'InceptionDt': $InceptionDt}.merge(c.merge(d)))).reduce((a,b)=> a.concat(b),[])
Thanks,
EmEm
neelamanikandan
2 years agoNew Contributor II
This works Thank You!
But this will also be a too much of coding when we have multiple attributes, and multiple arrays. Anyways thanks for this solution, we can take it from here.