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

    if State == 'Exception' or State == 'Killed' or State == 'Cancelled' then
        echo('Download DFX log failed.')
    end

    if State == 'Completed' then
        echo('Download DFX log successfully.')
    end
%}