{%
    if State == 'New' then
        echo('Downloading...')
    end

    if State == 'Exception' or State == 'Killed' or State == 'Cancelled' then
        echo('Download Black Box data failed.')
    end

    if State == 'Completed' then
        echo('Download Black Box data to /tmp/blackbox.tar successfully.')
    end
%}