cancel
Showing results for 
Search instead for 
Did you mean: 

Reference a Collection and field from a Collection

Anonymous
Not applicable
Is there a way in Blue Prism to create a reference mapping collection and then reference that? For instance, I want to map multiple fields from a collection to Excel. Rather than hard code everything, I've created a collection with a field called "FieldName" and "DestinationCell". In the "FieldName", I'm putting values like "[Collection.Field1]", and "[Collection.Field2]". I want to loop through the mapping collection and write the values from "FieldName" fields within the collection to the excel, but it only recognizes the Field as text, not as a reference to a collection and field. Any ideas on how to do this?
2 REPLIES 2

John__Carter
Staff
Staff
You can't do what exactly what you're proposing - BP doesn't support dynamic references in that way. You could try the Set Collection Field action in the Utility - Collection Manipulation object.

ShreyansNahar1
Level 4
As far as I know, you cannot directly put in values like that. You will have to do it during run-time.