Dienstag, 26. Januar 2016

Command does not get variable values

Problem

The call of a command in a workflow fails. The call gets logged like cmd /c "powershell -NoProfile -InputFormat none -ExecutionPolicy Bypass -File $$InfaCoreDir\scripts\set_to_rerunnable_only.ps1 - $$ParamDir\wf_B_INIT_OBJECTS_PERSON.par. The variable values get provided by a parameter file but are not passed to the call.

Solution

Wrap the command with a session which in turn calls a mapping that's only purpose is to define mapping variables or parameters being used in the call of the command.

Keine Kommentare:

Kommentar veröffentlichen