Overriding default allocation project number
@@ -577,8 +577,12 @@ public class TaskContext {
}
public String getAllocationProjectNumber() {
+ if (isValid(processModel.getProcessResourceSchedule().getOverrideAllocationProjectNumber())) {
+ return processModel.getProcessResourceSchedule().getOverrideAllocationProjectNumber();
+ } else {
return gatewayComputeResourcePreference.getAllocationProjectNumber();
}
+ }
public String getReservation() {
long start = 0, end = 0;
