{{tag>Index Action Action_List Process UI Version:v8.6}} ====== SET PROGRESS ====== This action sets progress of a process running in the background mode. The action has two parameters separated by comma. The first parameter is an expression that calculates the progress in percent. This parameter is mandatory. The second parameter is an expression that calculates a string to be shown to the user {{page>[[docs:5000_videos:600_long_running_processes|}} ===== Syntax ===== ''SET PROGRESS ArithmeticExpression() [ '','' ArithmeticExpression()]'' ===== Example ===== SET PROGRESS 30 SET PROGRESS 30, 'Progress is 30%' SET PROGRESS SessionObj.CurNmb/SessionObj.Total*100, 'Handling record ' + SessionObj.CurNo + ' of ' + SessionObj.Total