{%
if State == 'New' then
    echo('Update master key begin.')
elseif State == 'Exception' or State == 'Killed' or State == 'Cancelled' then
    echo('Update master key failed.')
elseif State == 'Completed' then
    echo('Update master key successfully.')
end
%}