Why is this one import argument section different than all the others

When trying to enter a value on invoke workflow file the behavior is different across different workflows when importing an In dictionary key. On one I can just enter my global variable for config (what I want to happen) but in another invoke workflow it’s make me select both the string and object collection (these would be equal to the config variable). I tried to submit screenshots but UiPath forums doesn’t let new users do this.

Hi,

Are there what you mentioned In the following images?
Difference b/w (1) and (2) is version of UiPath.System.Activites package.
Difference b/w (2) and (3) is input mode (static name or expression)

(1)

(2)

(3)

Regards,

Open the expression editor via the + button, not the one next to it with the square brackets.

The expression editor can have a different ‘mode’ depending on the data type if you use the brackets button.

Hi @stefan.grisham

  1. Open the invoked workflow
  2. Go to Arguments panel
  3. Check type of argument (e.g. in_Config)
  4. Set it exactly to:
  5. Dictionary<String, Object>

Now you can directly pass Config variable
No need to map key/value separately