Can a dictionary be passed as an argument from Uipath using Execute macro activity to Macro

I tried to pass a dictionary as argument from uipath to Macro using execute macro activity. I received an error, stating “Execute Macro: Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))”. Does anybody have an idea, what is missing?

Hi @RPA_Developer12,

As you may see in the documentation the paramethers must be of type IEnumerable<object>

Try to convert your dictonary in that type