<Please see attached file for image>
<Please see attached file for image>
<Please see attached file for image>
Trying to execute this, it fails:
<Please see attached file for image>
For details see problem directory, RunIds in screenshot above. The error in the JOBS is:
U00021719 Syntax error in object 'JOBS.AMPERSAND', line '00000'. 'U01001308 Variable 'NAME2' has not yet been defined.'.
As you see in the error message above, the inserted name NAME1&NAME2 was cut at the &.
If you enter the name with three & (you escape it), the behavior changes:
<Please see attached file for image>
For details see problem directory, RunIds in screenshot above. It fails with:
FAULT_POST_PROCESSING - Error in post processing.
But if you remove the post processing in the JOBS
<Please see attached file for image>
it works with &&&:
<Please see attached file for image>
For example, a name with an & cannot be passed correctly to the job from a Prompt Set. A workaround is to escape it with &&. However, as soon there is anything in the Post Script (as you see in the example it's only an exclamation mark), the job fails.
The documentation here deals with ampersand: https://docs.automic.com/documentation/webhelp/english/AWA/12.0/DOCU/12.0/AWA%20Guides/help.htm#AE_AWA_Source/Script/ucacvb.htm. and states, a second & for escaping should be sufficient. But is shows nowhere, that in such a case three ampersands are necessary. But then it only works as long as you use no post script.