Reference a Collection and field from a Collection
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-03-18 02:45 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-03-18 02:43 PM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-03-18 05:11 PM
As far as I know, you cannot directly put in values like that. You will have to do it during run-time.
