Here's an example:
I used the example "Helo World - Windows" worlflow for my test. I set up these system variables:
In the Write Workflow Macros activity I set it to echo back the variables:
echo Workflow Name: $(JOB_NAME) >> hello.txt
echo Execute Date: $(BUILD_DATE) >> hello.txt
echo Execute Time: $(BUILD_TIME) >> hello.txt
echo Broker Name: $(BROKER) >> hello.txt
echo Project Name: $(PROJECT) >> hello.txt
echo State Date: $(STATE) >> hello.txt
echo Package Time: $(PACKAGE) >> hello.txt
echo View Path: $(VPATH) >> hello.txt
echo Client Path: $(CPATH) >> hello.txt
And I set up my test UDP like this:
------------------------------
Melinda Skelton
------------------------------