In this link the server progress status will get monitored in running we can assign thislong running server process’s status to progress bar’s percentage/value property to change progress bar state based on server process.
Progress bar value and percentage property is used to set the status of progress bar and it can be changed dynamically using progress bar instance
Please refer the below link
[script] progresObj.option("value", 10);
To know more about on this please refer the below link