You can set priority at the activity level for Activity Nodes, Voting Activity Nodes, and Compound Activity Nodes. By default, an activity is given a priority of -1. However, its priority can be changed to an integer greater than or equal to 0.
You can set priority at the activity level either through the General tab in the Properties view or by using a Java Action. For more information on setting activity level priority using Java Action, refer to section 11.2.4 Setting Priority for an Activity.
To set activity priority through the General tab:
Select the node to display the Properties view for the nodes.
Select the General tab in the Properties view.
Enter the priority value in the Priority field. This will set the priority for the activity.