Variables in a Dictionary sent to a process

Hi all.

I have a script that is fed a bunch of parameters via API and I put all of those in a dictionary. The dictionary is then sent to a custom process.

In this custom process I would like to start a process step depending on a variable in this dictionary, but I can't figure it out.

I've tried 'values("Action") = $pc(Action)$' in the process "Pre-script for generation" and then 'Dim Action As String = CStr(values("Action"))' in generating condition on the actual process step, but I've also put 'values("Action") = $pc(Action)$' in the process steps' "Pre-script for generation"

The end result is that the process is never run.

Identity Manager version: 8.2