Build 1594 - No longer passing variables back

Hi


I have been passing variables back from a Batch file with lines similar to @@log{setvariable name="tempVar" value="Hello World"}  in my batch files.  This was working fine until I upgraded to 1594 yesterday

As a test I have written a very simple batch file and config

@echo off
REM
REM testContinua
REM
REM TEST SCRIPT FOR CONTINUA

echo @@log{Starting Test Script}

echo @@log{setvariable name="tempVar" value="Hello World"}

Then in my continua config I have defined the variable tempVar with a default value of 'default'


The Continua log now shows

@@log{Starting Test Script}
@@log{setvariable name="tempVar" value="Hello World"} [Value cannot be null. Parameter name: value not specified for variable]

and the value is not set

Thanks


Rob

Hi Rob

My apologies, we had to make some changes to the syntax recently to deal with ambiguities that were impossible to parse. I forgot that someone was already using this (we haven’t documented yet as we wanted to nail down the syntax first).

This should work

echo @@log{Starting Test Script}

echo @@log{setvariable name=“tempVar”, value=“Hello World”}

The only difference is the parameters need a comma separator.

Thanks…

this is all working again :slight_smile:

Rob