Depending on the requirement, you can also define your own priorities in the configuration file OEBPS_HOME\conf\oebps.conf. However, once the applications are installed and used, the priority options should not be changed.
If you set a priority which is not from the specified list, then at the time of setPriority(), an exception is raised.
Note: Priority is not case sensitive.
public void setPriority(String Priority)
A work item has a priority associated with it, which can be set at the time of creation of workstep, or with the help of this API. By default, the priority is Medium.