Set Collection of values parameter
14:27 Aug 22, 2025
Hello
In a busines process I have a parameter type collection of values. I need to hard code a string list to it to test something. Do you know how i can do it?
If I just write the string I get the error: Cannot convert type "String" to "IObjectList".
Like
1 comments
18:38 Aug 22, 2025
I have an article on a similar topic here (using a Collection of Records, not Collection of Values), in case that helps: https://customerfx.com/article/working-with-collection-parameters-in-a-process-in-creatio/
For a collection of values, I believe the code would look more like this:
ObjectList<string> items = ObjectList.Create(); items.Add("Some value"); items.Add("Other value"); Set<ObjectList<string>>("MyValuesParam", items);
Ryan
Show all comments