AnsweredAssumed Answered

Ampersand (&) in Prompt Value

Question asked by SamahSohrab607228 on Oct 12, 2015
Latest reply on Apr 21, 2017 by VladNavazhylau608590
Has anyone dealt with an & in a Promptset Value?

I was able to get the & to pass all the way to the Agent by putting three ampersands (&) in the Promptset Variable to escape it. The first escapes for the Promptset, so that when the job executes it gets &&, then inside the job it sends just a single & to the Agent for execution.

But now what happens is that I get an Fault in Post Processing because it takes the double (&&) and seems to evaluate it to a single, where it then assumes that it is a variable that needs to be replaced.

Because Automic does NOT allow editing of Promptset Variables inside the job, it won't let me do a STR_SUB to either remove or replace the ampersands.

Any thoughts?

Outcomes