How to Update Workflow Priority
Hi All,
I want to update the workflow priority such that all the steps should be in the updated priority. By default, it is getting medium priority.
I tried to create a new custom process step to update the priority, however, it is not working properly.
PFB the code to I currently have in the custom process step
import com.adobe.granite.workflow.exec.InboxItem.Priority;
@8220494(service=WorkflowProcess.class, property = {"process.label=Assign Priority"})
public class AssignPriority implements WorkflowProcess {
public void execute(WorkItem item, WorkflowSession wfSession, MetaDataMap args) throws WorkflowException {
item.setPriority(Priority.HIGH);
}
}
Any help would be appreciated.