I have 3 objects :
Investors
-Name
-RegionsOfInterest (of type RegionsOfInterest ; multiple allowed)
-ProductType (of type ProductType ; multiple allowed)
RegionsOfInterest
-Name
ProductType
-Name
InvestorLogs
-LogId
-Name (Plain Text)
-RegionsOfInterest (Plain Text)
-ProductType (Plain Text)
Now i need to create data logs for every action performed on Investors .. (create,edit,delete).. For InvestorLogs BO, I dont want to have the attributes RegionsOfInterest and ProductType referenced to RegionsOfInterest and ProductType BO respectively since i require to capture all changes to the Investorss business object..
I have a rule like this..
Condition 1 : If Investors is New
Then
Action 1 : Create InvestorLogs with InvestorLogs.LogId= some calculation
Action 2 : Find RegionsOfInterest where RegionsOfInterest IN ThisInvestors.RegionsOfInterest IN BATCHES OF 1
Action 3 : InvestorLogs.RegionsOfInterest=InvestorLogs.RegionsOfInterest+RegionsOfInterest.Name+';'
Action 4 : Find ProductType where ProductType IN ThisInvestors.ProductType IN BATCHES OF 1
Action 5 : InvestorLogs.ProductType=InvestorLogs.ProductType+ProductType.Name+';'
With this , InvestorLogs table is correctly populated with results of Action 5 .. For Action 3, only the first value from RegionsOfInterest is populated
What am i doing wrong?