I’m currently in the process of trying to create a generic Queue uploader for my team. This should allow us to send any CSV to a queue without having to configure the Item Collection part of the Add Queue item activity each time. Part of this is that I need to dynamically set the values of the item Collection by creating a new inargument variable.
I set the key using the header of my current datatable and then I set the inargument variable by using
inargument.create(oftype(string),argumentdirection.in).set( ActivityContext Required here,item)
This all seems to make sense to me aside from the activity context. Googling this gets me a lot of results about authoring new workflows but nothing dynamic so i’m wondering if this can be set? or got from somewhere?
i would appreciate any help/suggestions on fixing this.
(Using a switch and then multiple Add Queue Item activities is an option but ideally not an option we want to go for)