Pass collection argument without using UiPath's UI

Hi guys,
please does anybody know if it is possible to pass a collection argument to an activity without clicking on 3 dots and entering them one by one.
What i am trying to do is to add an transaction item and pass a dictionary with several values (which are configurable). Similarly i would like to to pass dynamicly QueueItemsStates to GetQueueItems activity without choosing them manually from the list.
Can this be accomplished by Invoke Method or with some other workarounds.
Thanks;)

@jan I hope that also.

Hi, guys please anybody has any experience with this. its really difficult to use these activities in custom libraries without any option to provide set of data.