The process instance priority has four possible options:
Low
Medium
High
Critical
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 using setPriority(), an exception is raised.
Note: Priority is not case sensitive.
public void setPriority(String Priority)
A process instance has a priority associated with it, which can be set at the time of creating the process instance or with the help of this API. By default, the priority is Medium.