| CLASSNAMEKEYA4 | EXPRBODY | IDA3A4 | IDA2A2 | TRANSITION |
| wt.workflow.definer.WfAssignedActivityTemplate |
WfAssignedActivity activity = (WfAssignedActivity) self.getObject();
if (isRework)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SQE) - Rework");
else if (activity.getName().indexOf("Rework") >= 0)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request");
isRework = false;
int i=0;
StringBuffer sb = new StringBuffer();
if (dmrRequired)
sb.append("The program team has determined that a DMR is required to address this Supplier Request.");
else if (changeRequestRequired)
sb.append("The program team has determined that a Change Request is required to address this Supplier Request.");
else
sb.append("The program team has reviewed the subject Supplier Request and has determined that document/drawing changes are not required.");
sb.append(" Complete the following steps. "); sb.append(++i + ". Review the supplier request and its discussion forum. "); if (dmrRequired) { sb.append(++i + ". Initiate and process the DMR. "); sb.append(++i + ". Record the DMR number below (required for approval). "); } sb.append(++i + ". Record the resolution in the provided field (required for approval) "); sb.append(++i + ". Record rework instructions in the discussion forum (required for rework) "); sb.append(++i + ". Select the appropriate routing. "); sb.append(++i + ". Click Complete Task to advance the supplier request. "); instructions = sb.toString(); | 9287791 | 9287793 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); if (customization.rsta.workflow.RoutingEventConstants.REWORK.equals(route)) customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); else if ((resolution == null) || (resolution.length() == 0)) throw new wt.util. WTException("Resolution is required"); else if (resolution.length() > 500) throw new wt.util.WTException("Resolution must be less than 500 characters in length"); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } wt.change2.WTChangeIssue ci = (wt.change2.WTChangeIssue) primaryBusinessObject; updateResolutionHREF = customization.rsta.workflow.ChangeManagementWorkflowHelper.getUpdateResolutionHREF(ci.getNumber(), dmrNumber, resolution); | 9287791 | 9287794 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | try { if (dmrRequired && (dmrNumber == null || "".equals(dmrNumber))) throw new wt.workflow.engine.FailedTransitionException(new wt.util.WTException("DMR Number is required.")); if (resolution == null || "".equals(resolution)) throw new wt.workflow.engine.FailedTransitionException(new wt.util.WTException("Resolution is required.")); // ******** need to save the DMR number } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 9287791 | 9287795 | Approved |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; if (dmrRequired) instructions = "The Support Engineer has indicated that a DMR for non-conforming material is required to address this supplier request."; else if (changeRequestRequired) instructions = "The Support Engineer has determined that a Change Request is required to address this supplier request."; else instructions = "The Support Engineer has determined that this Supplier Change Issue requires your attention."; | 9287791 | 9287796 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); if (isRework) customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request - Rework"); else if (activity.getName().indexOf("Rework") >= 0) customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request"); if (!isRework) { if (dmrRequired) instructions = "The Support Engineer has indicated that a DMR for non-conforming material is required to address this supplier request."; else if (changeRequestRequired) instructions = "The Support Engineer has determined that a Change Request is required to address this supplier request."; else instructions = "The Support Engineer has determined that this supplier request requires your attention."; } else { if (dmrRequired) instructions = "A DMR for non-conforming material was determined to be required to address this Supplier Request. However, the Quality Engineer has indicated that additonal information is required or has rejected this resolution."; else if (changeRequestRequired) instructions = "A Change Request was determined to be required to address this Supplier Request. However, the Quality Engineer has indicated that additonal information is required or has rejected this resolution."; else instructions = "The Quality Engineer has indicated that additonal information is required or has rejected the given resolution."; } isRework = false; | 9287797 | 9287799 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); changeRequestRequired = route.equalsIgnoreCase(customization.rsta.workflow.RoutingEventConstants.CHANGE_REQUEST_REQUIRED) ; dmrRequired = customization.rsta.workflow.RoutingEventConstants.NON_CONFORMING_MATERIAL.equals(route) ; // need to update the command bean to force select of reviewers/cr creator } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 9287797 | 9287800 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; | 9287797 | 9287901 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 9287904 | 9287906 | START |
| wt.workflow.definer.WfAssignedActivityTemplate |
WfAssignedActivity activity = (WfAssignedActivity) self.getObject();
if (isRework)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SPPT) - Rework");
else if (activity.getName().indexOf("Rework") >= 0)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SPPT)");
StringBuffer sb = new StringBuffer();
if (isRework)
{
sb.append("Additional information/rework is required.");
sb.append(" "); sb.append("1. Review the discussion forum and take appropriate action. "); sb.append("2. Record your comments in the discussion forum (required). "); sb.append("3. Select the appropriate routing. "); sb.append("4. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } else { sb.append("The Buyer has approved the attached Supplier Request. Complete the following steps."); sb.append(" "); sb.append("1. Review the Supplier Request for completeness. "); sb.append("2. Record your comments in the discussion forum (required). "); sb.append("3. Select the appropriate routing. "); sb.append("4. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } isRework = false; | 9287907 | 9287909 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); changeRequestRequired = customization.rsta.workflow.RoutingEventConstants.CHANGE_REQUEST_REQUIRED.equals(route) ; dmrRequired = customization.rsta.workflow.RoutingEventConstants.NON_CONFORMING_MATERIAL.equals(route) ; } catch(wt.workflow.engine.FailedTransitionException fte) { throw (fte); } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 9287907 | 9287910 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; | 9287907 | 9287911 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | try { Boolean isFormalized = wt.change2.process.ProcessHelper.checkIssueFormalized((wt.change2.WTChangeIssue)primaryBusinessObject) ; if (!isFormalized.equals(Boolean.TRUE)) throw new Exception("Change Issue must be attached to a CR before continuing."); wt.fc.QueryResult qr = wt.change2.ChangeHelper2.service.getChangeRequest((wt.change2.WTChangeIssue)primaryBusinessObject); if (qr.hasMoreElements()) associatedChangeRequest = (wt.change2.WTChangeRequest2) qr.nextElement(); } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 9287912 | 9287914 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate |
WfAssignedActivity activity = (WfAssignedActivity) self.getObject();
if (isRework)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SQE) - Rework");
else if (activity.getName().indexOf("Rework") >= 0)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SQE)");
StringBuffer sb = new StringBuffer();
if (isRework)
{
sb.append("The Buyer has indicated that additional information is required before the official response can be forwarded to the vendor.");
sb.append(" "); sb.append("1. Review the Buyer's comments in the discussion forum and take the appropriate action. "); sb.append("2. Record the supplier resolution in the provided field (required for approval). "); sb.append("3. Record rework instructions for the Support Engineer in the discussion forum (required for rework). "); sb.append("4. Select the desired routing below. "); sb.append("5. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } else { sb.append("The Support Engineer has indicated that this Supplier Request has been resolved."); sb.append(" "); sb.append("1. Review the request and Support Engineer's comments/resolution. "); sb.append("2. Record the supplier resolution in the provided field (required for approval). "); sb.append("3. Record rework instructions for the Support Engineer in the discussion forum (required for rework). "); sb.append("4. Select the desired routing below. "); sb.append("5. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } isRework = false; | 9287915 | 9287917 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | try { if (dmrRequired && (dmrNumber == null || "".equals(dmrNumber))) throw new wt.workflow.engine.FailedTransitionException(new wt.util.WTException("DMR Number is required.")); if (resolution == null || "".equals(resolution)) throw new wt.workflow.engine.FailedTransitionException(new wt.util.WTException("Resolution is required.")); // ******** need to save the DMR number } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 31505 | 31509 | Approved |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; if (dmrRequired) instructions = "The Support Engineer has indicated that a DMR for non-conforming material is required to address this supplier request."; else if (changeRequestRequired) instructions = "The Support Engineer has determined that a Change Request is required to address this supplier request."; else instructions = "The Support Engineer has determined that this Supplier Change Issue requires your attention."; | 31505 | 31510 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); if (isRework) customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request - Rework"); else if (activity.getName().indexOf("Rework") >= 0) customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request"); if (!isRework) { if (dmrRequired) instructions = "The Support Engineer has indicated that a DMR for non-conforming material is required to address this supplier request."; else if (changeRequestRequired) instructions = "The Support Engineer has determined that a Change Request is required to address this supplier request."; else instructions = "The Support Engineer has determined that this supplier request requires your attention."; } else { if (dmrRequired) instructions = "A DMR for non-conforming material was determined to be required to address this Supplier Request. However, the Quality Engineer has indicated that additonal information is required or has rejected this resolution."; else if (changeRequestRequired) instructions = "A Change Request was determined to be required to address this Supplier Request. However, the Quality Engineer has indicated that additonal information is required or has rejected this resolution."; else instructions = "The Quality Engineer has indicated that additonal information is required or has rejected the given resolution."; } isRework = false; | 31511 | 31513 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); changeRequestRequired = route.equalsIgnoreCase(customization.rsta.workflow.RoutingEventConstants.CHANGE_REQUEST_REQUIRED) ; dmrRequired = customization.rsta.workflow.RoutingEventConstants.NON_CONFORMING_MATERIAL.equals(route) ; // need to update the command bean to force select of reviewers/cr creator } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 31511 | 31514 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; | 31511 | 31515 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 31518 | 31520 | START |
| wt.workflow.definer.WfAssignedActivityTemplate |
WfAssignedActivity activity = (WfAssignedActivity) self.getObject();
if (isRework)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SPPT) - Rework");
else if (activity.getName().indexOf("Rework") >= 0)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SPPT)");
StringBuffer sb = new StringBuffer();
if (isRework)
{
sb.append("Additional information/rework is required.");
sb.append(" "); sb.append("1. Review the discussion forum and take appropriate action. "); sb.append("2. Record your comments in the discussion forum (required). "); sb.append("3. Select the appropriate routing. "); sb.append("4. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } else { sb.append("The Buyer has approved the attached Supplier Request. Complete the following steps."); sb.append(" "); sb.append("1. Review the Supplier Request for completeness. "); sb.append("2. Record your comments in the discussion forum (required). "); sb.append("3. Select the appropriate routing. "); sb.append("4. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } isRework = false; | 31521 | 31523 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); changeRequestRequired = customization.rsta.workflow.RoutingEventConstants.CHANGE_REQUEST_REQUIRED.equals(route) ; dmrRequired = customization.rsta.workflow.RoutingEventConstants.NON_CONFORMING_MATERIAL.equals(route) ; } catch(wt.workflow.engine.FailedTransitionException fte) { throw (fte); } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 31521 | 31524 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; | 31521 | 31525 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | try { Boolean isFormalized = wt.change2.process.ProcessHelper.checkIssueFormalized((wt.change2.WTChangeIssue)primaryBusinessObject) ; if (!isFormalized.equals(Boolean.TRUE)) throw new Exception("Change Issue must be attached to a CR before continuing."); wt.fc.QueryResult qr = wt.change2.ChangeHelper2.service.getChangeRequest((wt.change2.WTChangeIssue)primaryBusinessObject); if (qr.hasMoreElements()) associatedChangeRequest = (wt.change2.WTChangeRequest2) qr.nextElement(); } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 31526 | 31528 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate |
WfAssignedActivity activity = (WfAssignedActivity) self.getObject();
if (isRework)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SQE) - Rework");
else if (activity.getName().indexOf("Rework") >= 0)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SQE)");
StringBuffer sb = new StringBuffer();
if (isRework)
{
sb.append("The Buyer has indicated that additional information is required before the official response can be forwarded to the vendor.");
sb.append(" "); sb.append("1. Review the Buyer's comments in the discussion forum and take the appropriate action. "); sb.append("2. Record the supplier resolution in the provided field (required for approval). "); sb.append("3. Record rework instructions for the Support Engineer in the discussion forum (required for rework). "); sb.append("4. Select the desired routing below. "); sb.append("5. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } else { sb.append("The Support Engineer has indicated that this Supplier Request has been resolved."); sb.append(" "); sb.append("1. Review the request and Support Engineer's comments/resolution. "); sb.append("2. Record the supplier resolution in the provided field (required for approval). "); sb.append("3. Record rework instructions for the Support Engineer in the discussion forum (required for rework). "); sb.append("4. Select the desired routing below. "); sb.append("5. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } isRework = false; | 31529 | 31531 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); if (customization.rsta.workflow.RoutingEventConstants.REWORK.equals(route)) customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); else if ((resolution == null) || (resolution.length() == 0)) throw new wt.util. WTException("Resolution is required"); else if (resolution.length() > 500) throw new wt.util.WTException("Resolution must be less than 500 characters in length"); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } wt.change2.WTChangeIssue ci = (wt.change2.WTChangeIssue) primaryBusinessObject; updateResolutionHREF = customization.rsta.workflow.ChangeManagementWorkflowHelper.getUpdateResolutionHREF(ci.getNumber(), "", resolution); | 31529 | 31532 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | try { if (resolution == null || "".equals(resolution)) throw new wt.workflow.engine.FailedTransitionException(new wt.util.WTException("Resolution is required.")); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 31529 | 31533 | Approved |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; | 31529 | 31534 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); if (customization.rsta.workflow.RoutingEventConstants.REWORK.equals(route)) customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 31535 | 31537 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; | 31535 | 31538 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | if (dmrRequired) instructions = "A DMR for non-conforming material has been processed to address this Supplier Request."; else instructions = "The program team has reviewed the subject Supplier Request and has determined that document/drawing changes are not required."; | 31539 | 31541 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); if (customization.rsta.workflow.RoutingEventConstants.REWORK.equals(route)) customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 31539 | 31542 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate |
isRework = true;
StringBuffer sb = new StringBuffer();
if (dmrRequired)
{
sb.append("The program team has determined that a DMR is required to address this Supplier Request. Complete the following steps.");
sb.append(" "); sb.append("1. Review the supplier request and its discussion forum."); sb.append(" If a DMR for non-conforming material is required: "); sb.append(" Initiate and process the DMR. "); sb.append(" Record the DMR number below (required for approval). "); instructions = sb.toString(); } else if (changeRequestRequired) { sb.append("The program team has determined that a Change Request is required to address this Supplier Request. Complete the following steps."); sb.append(" "); sb.append("1. Review the supplier request and its discussion forum. "); instructions = sb.toString(); } else { sb.append("The program team has reviewed the subject Supplier Request and has determined that document/drawing changes are not required. Complete the following steps."); sb.append(" "); sb.append("1. Review the supplier request and its discussion forum. "); instructions = sb.toString(); } | 31539 | 31543 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | java.util.Vector v = customization.rsta.change2.OracleTransferHelper.getMessages(parentChangeOrder); if (v.size() > 0) throw new wt.workflow.engine.FailedTransitionException(new Exception("Oracle publishing errors exist.")); | 9279829 | 9279831 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 9287531 | 9287533 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9287531 | 9287534 | Disapprove |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9287535 | 9287537 | Resolved |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9287535 | 9287538 | Cancel |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); if (customization.rsta.workflow.RoutingEventConstants.REWORK.equals(route)) customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); else if ((resolution == null) || (resolution.length() == 0)) throw new wt.util. WTException("Resolution is required"); else if (resolution.length() > 500) throw new wt.util.WTException("Resolution must be less than 500 characters in length"); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } wt.change2.WTChangeIssue ci = (wt.change2.WTChangeIssue) primaryBusinessObject; updateResolutionHREF = customization.rsta.workflow.ChangeManagementWorkflowHelper.getUpdateResolutionHREF(ci.getNumber(), "", resolution); | 9287915 | 9287918 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | try { if (resolution == null || "".equals(resolution)) throw new wt.workflow.engine.FailedTransitionException(new wt.util.WTException("Resolution is required.")); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 9287915 | 9287919 | Approved |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; | 9287915 | 9287920 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); if (customization.rsta.workflow.RoutingEventConstants.REWORK.equals(route)) customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 9287921 | 9287923 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | isRework = true; | 9287921 | 9287924 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | if (dmrRequired) instructions = "A DMR for non-conforming material has been processed to address this Supplier Request."; else instructions = "The program team has reviewed the subject Supplier Request and has determined that document/drawing changes are not required."; | 9287925 | 9287927 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); if (customization.rsta.workflow.RoutingEventConstants.REWORK.equals(route)) customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 9287925 | 9287928 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate |
isRework = true;
StringBuffer sb = new StringBuffer();
if (dmrRequired)
{
sb.append("The program team has determined that a DMR is required to address this Supplier Request. Complete the following steps.");
sb.append(" "); sb.append("1. Review the supplier request and its discussion forum."); sb.append(" If a DMR for non-conforming material is required: "); sb.append(" Initiate and process the DMR. "); sb.append(" Record the DMR number below (required for approval). "); instructions = sb.toString(); } else if (changeRequestRequired) { sb.append("The program team has determined that a Change Request is required to address this Supplier Request. Complete the following steps."); sb.append(" "); sb.append("1. Review the supplier request and its discussion forum. "); instructions = sb.toString(); } else { sb.append("The program team has reviewed the subject Supplier Request and has determined that document/drawing changes are not required. Complete the following steps."); sb.append(" "); sb.append("1. Review the supplier request and its discussion forum. "); instructions = sb.toString(); } | 9287925 | 9287929 | Rework |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 31251 | 31253 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 31251 | 31254 | Disapprove |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 31255 | 31257 | Resolved |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 31255 | 31258 | Cancel |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); System.out.println("object == " + self.getObject()); WfAssignedActivity act = (WfAssignedActivity) self.getObject(); String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(act); if ("Fast Track".equalsIgnoreCase(route)) { frbRole = customization.rsta.team.RoleConstants.FAST_TRACK_FRB; } else if ("Engineering".equalsIgnoreCase(route)) { erbRole = customization.rsta.team.RoleConstants.STANDARD_ERB; crbRole = customization.rsta.team.RoleConstants.STANDARD_CRB; frbRole = customization.rsta.team.RoleConstants.STANDARD_FRB; } else if ("Manufacturing".equalsIgnoreCase(route)) { erbRole = customization.rsta.team.RoleConstants.MFG_ERB; crbRole = customization.rsta.team.RoleConstants.MFG_CRB; frbRole = customization.rsta.team.RoleConstants.MFG_FRB; } else if ("SEIT".equalsIgnoreCase(route)) { erbRole = customization.rsta.team.RoleConstants.SEIT_ERB; crbRole = customization.rsta.team.RoleConstants.SEIT_CRB; frbRole = customization.rsta.team.RoleConstants.SEIT_FRB; } else if ("Software Engineering".equalsIgnoreCase(route)) { erbRole = customization.rsta.team.RoleConstants.SOFTWARE_ERB; crbRole = customization.rsta.team.RoleConstants.SOFTWARE_CRB; frbRole = customization.rsta.team.RoleConstants.SOFTWARE_FRB; } | 30975 | 30977 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 30978 | 30980 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 30981 | 30983 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 30984 | 30986 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 30987 | 30989 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 30990 | 30992 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 30993 | 30995 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 30996 | 30998 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 30999 | 31301 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 31414 | 31416 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 31417 | 31419 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 31420 | 31422 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | try { Boolean isFormalized = wt.change2.process.ProcessHelper.checkIssueFormalized((wt.change2.WTChangeIssue)primaryBusinessObject) ; if (!isFormalized.equals(Boolean.TRUE)) throw new Exception("Change Issue must be attached to a CR before continuing."); wt.fc.QueryResult qr = wt.change2.ChangeHelper2.service.getChangeRequest((wt.change2.WTChangeIssue)primaryBusinessObject); if (qr.hasMoreElements()) associatedChangeRequest = (wt.change2.WTChangeRequest2) qr.nextElement(); } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 31423 | 31425 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate |
WfAssignedActivity activity = (WfAssignedActivity) self.getObject();
if (isRework)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (Buyer) - Rework");
StringBuffer sb = new StringBuffer();
if (isRework)
{
sb.append("The Support Engineer has determined that additonal information/rework is required.");
sb.append(" "); sb.append("1. Review the Support Engineer's comments in the discussion forum and take appropriate action. "); sb.append("2. Record your comments in the discussion forum (required). "); sb.append("3. Select the appropriate routing. "); sb.append("4. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } else { sb.append("A Supplier Request has been submitted that requires analysis to determine if further action is required."); sb.append(" "); sb.append("1. Review the request below and determine if the issue is valid. "); sb.append("2. Verify that associated parts and drawings are valid. Correct as necessary. "); sb.append("3. Record your comments in the discussion forum (required). "); sb.append("4. Select the appropriate routing. "); sb.append("5. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } isRework = false; | 31501 | 31503 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 31501 | 31504 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate |
WfAssignedActivity activity = (WfAssignedActivity) self.getObject();
if (isRework)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (SQE) - Rework");
else if (activity.getName().indexOf("Rework") >= 0)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request");
isRework = false;
int i=0;
StringBuffer sb = new StringBuffer();
if (dmrRequired)
sb.append("The program team has determined that a DMR is required to address this Supplier Request.");
else if (changeRequestRequired)
sb.append("The program team has determined that a Change Request is required to address this Supplier Request.");
else
sb.append("The program team has reviewed the subject Supplier Request and has determined that document/drawing changes are not required.");
sb.append(" Complete the following steps. "); sb.append(++i + ". Review the supplier request and its discussion forum. "); if (dmrRequired) { sb.append(++i + ". Initiate and process the DMR. "); sb.append(++i + ". Record the DMR number below (required for approval). "); } sb.append(++i + ". Record the resolution in the provided field (required for approval) "); sb.append(++i + ". Record rework instructions in the discussion forum (required for rework) "); sb.append(++i + ". Select the appropriate routing. "); sb.append(++i + ". Click Complete Task to advance the supplier request. "); instructions = sb.toString(); | 31505 | 31507 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); try { String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(activity); if (customization.rsta.workflow.RoutingEventConstants.REWORK.equals(route)) customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); else if ((resolution == null) || (resolution.length() == 0)) throw new wt.util. WTException("Resolution is required"); else if (resolution.length() > 500) throw new wt.util.WTException("Resolution must be less than 500 characters in length"); } catch(wt.workflow.engine.FailedTransitionException fte) { throw fte; } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } wt.change2.WTChangeIssue ci = (wt.change2.WTChangeIssue) primaryBusinessObject; updateResolutionHREF = customization.rsta.workflow.ChangeManagementWorkflowHelper.getUpdateResolutionHREF(ci.getNumber(), dmrNumber, resolution); | 31505 | 31508 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 5393 | 5395 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processConfirmation((wt.change2.WTChangeIssue)primaryBusinessObject,wt.change2.ConfirmationCategory.CONFIRMED); review_date=new java.sql.Timestamp(System.currentTimeMillis()); | 5396 | 5398 | Confirmed |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processConfirmation((wt.change2.WTChangeIssue)primaryBusinessObject,wt.change2.ConfirmationCategory.NOTVERIFIED); review_date=new java.sql.Timestamp(System.currentTimeMillis()); | 5396 | 5399 | Not_Verified |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processConfirmation((wt.change2.WTChangeIssue)primaryBusinessObject,wt.change2.ConfirmationCategory.WONTRESOLVE); review_date=new java.sql.Timestamp(System.currentTimeMillis()); | 5396 | 5400 | Not_Reproducible |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processConfirmation((wt.change2.WTChangeIssue)primaryBusinessObject,wt.change2.ConfirmationCategory.WONTRESOLVE); review_date=new java.sql.Timestamp(System.currentTimeMillis()); | 5396 | 5401 | Will_Not_Resolve |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processConfirmation((wt.change2.WTChangeIssue)primaryBusinessObject,wt.change2.ConfirmationCategory.DUPLICATE); review_date=new java.sql.Timestamp(System.currentTimeMillis()); | 5396 | 5402 | Duplicate |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processConfirmation((wt.change2.WTChangeIssue)primaryBusinessObject,wt.change2.ConfirmationCategory.CLARIFICATION); review_date=new java.sql.Timestamp(System.currentTimeMillis()); | 5396 | 5403 | Clarification |
| wt.workflow.definer.WfAssignedActivityTemplate | wt.fc.collections.WTHashSet unpromChanges = (wt.fc.collections.WTHashSet) com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.getUnpromotableChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject); java.util.Iterator i = unpromChanges.persistableIterator(); wt.enterprise.RevisionControlled p = null; String unpromotable1=""; if (i.hasNext()){ p = (wt.enterprise.RevisionControlled)i.next(); unpromotable1 = unpromotable1 + p.getName(); } while (i.hasNext()){ p = (wt.enterprise.RevisionControlled)i.next(); unpromotable1 = unpromotable1 + "; " + p.getName(); } if (unpromotable1.length()!=0){ unpromotable2 = "- The following Resulting Data will not be promoted because there is no change transition defined: \n"; java.util.StringTokenizer s = new java.util.StringTokenizer( unpromotable1, ";" ); while (s.hasMoreTokens()){ unpromotable2 += "- - " + s.nextToken() + "\n"; } unpromotable2 += "\n There are two ways to resolve the issue: \n 1. If you did not intend to promote the resulting data, then simply complete the task. \n 2. If you did intend to promote the resulting data, there may be a problem with the configuration of lifecycle templates. Select the Rework option and enter comments for Change Administrator II."; unpromotable2 += ""; } | 5648 | 5650 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 5653 | 5655 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 5501 | 5503 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 5504 | 5506 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 5507 | 5509 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setTrack((wt.change2.WTChangeRequest2)primaryBusinessObject, "SIMPLE"); | 5510 | 5512 | Fast_Track |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setTrack((wt.change2.WTChangeRequest2)primaryBusinessObject,"COMPLEX"); | 5510 | 5513 | Full_Track |
| wt.workflow.definer.WfAssignedActivityTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setTrack((wt.change2.WTChangeRequest2)primaryBusinessObject, "SIMPLE"); | 5510 | 5514 | Reject |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 5517 | 5519 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | approval_date=new Timestamp(System.currentTimeMillis()); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processBusinessDecision((wt.change2.WTChangeRequest2)primaryBusinessObject,wt.change2.BusinessDecisionCategory.APPROVED, "COMPLEX", special_instructions); | 5520 | 5522 | Approve |
| wt.workflow.definer.WfAssignedActivityTemplate | approval_date=new Timestamp(System.currentTimeMillis()); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processBusinessDecision((wt.change2.WTChangeRequest2)primaryBusinessObject,wt.change2.BusinessDecisionCategory.REJECTED, "COMPLEX", special_instructions); | 5520 | 5523 | Reject |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 5524 | 5526 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | wt.fc.collections.WTHashSet unpromChanges = (wt.fc.collections.WTHashSet) com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.getUnpromotableChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject); java.util.Iterator i = unpromChanges.persistableIterator(); wt.enterprise.RevisionControlled p = null; String unpromotable1=""; if (i.hasNext()){ p = (wt.enterprise.RevisionControlled)i.next(); unpromotable1 = unpromotable1 + p.getName(); } while (i.hasNext()){ p = (wt.enterprise.RevisionControlled)i.next(); unpromotable1 = unpromotable1 + "; " + p.getName(); } if (unpromotable1.length()!=0){ unpromotable2 = "- The following Resulting Data will not be promoted because there is no change transition defined: \n"; java.util.StringTokenizer s = new java.util.StringTokenizer( unpromotable1, ";" ); while (s.hasMoreTokens()){ unpromotable2 += "- - " + s.nextToken() + "\n"; } unpromotable2 += "\n There are two ways to resolve the issue: \n 1. If you did not intend to promote the resulting data, then simply complete the task. \n 2. If you did intend to promote the resulting data, there may be a problem with the configuration of lifecycle templates. Select the Rework option and enter comments for Change Administrator II."; unpromotable2 += ""; } | 5660 | 5662 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | approval_date=new Timestamp(System.currentTimeMillis()); | 5665 | 5667 | Approve |
| wt.workflow.definer.WfAssignedActivityTemplate | result = WfTally.all(self, "Approve", "Reject"); | 6058 | 6060 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfAssignedActivityTemplate | //Get the parent process for this activity wt.workflow.engine.WfProcess parent = ((wt.workflow.engine.WfActivity)self.getObject()).getParentProcess(); //Get approve_instructions from the context of the parent wt.workflow.engine.ProcessData parentContext = parent.getContext(); wt.workflow.engine.WfInstruction instruction1 = (wt.workflow.engine.WfInstruction) parentContext.getValue("approve_instructions"); //Replace the instructions for approval with the revisor's instructions if (instruction1 == null) { instruction1 = new wt.workflow.engine.WfInstruction(); } instruction1.setInstruction(Instructions); //Save this on the parent context parentContext .setValue("approve_instructions", instruction1); parent = (wt.workflow.engine.WfProcess) wt.fc.PersistenceHelper.manager.save((wt.fc.Persistable)parent); | 6622 | 6624 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | //Get the object that represents this activity WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Set result to "Reject" if it has been chosen by all of the required users. In all other cases, set result to "Revise" result = WfTally.all(self, "Reject", "Revise"); if (result != "Reject") { //Set result to "Approve" if it has been chosen by all of the required users. In all other cases, set result to "Revise" result = WfTally.all(self, "Approve", "Revise"); } | 6625 | 6627 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfAssignedActivityTemplate | //Get the object that represents this activity WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Set result to "Reject" if it has been chosen by all of the required users. In all other cases, set result to "Revise" result = WfTally.all(self, "Reject", "Revise"); if (result != "Reject") { //Set result to "Approve" if it has been chosen by all of the required users. In all other cases, set result to "Revise" result = WfTally.all(self, "Approve", "Revise"); } | 6801 | 6803 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfAssignedActivityTemplate | //Get the object that represents this activity WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Set result to "Reject" if it has been chosen by all of the required users. In all other cases, set result to "Revise" result = WfTally.all(self, "Reject", "Revise"); if (result != "Reject") { //Set result to "Approve" if it has been chosen by all of the required users. In all other cases, set result to "Revise" result = WfTally.all(self, "Approve", "Revise"); } | 6997 | 6999 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfAssignedActivityTemplate | //Get the parent process for this activity wt.workflow.engine.WfProcess parent = ((wt.workflow.engine.WfActivity)self.getObject()).getParentProcess(); //Get level 1 and level 2 instructions from the context of the parent wt.workflow.engine.ProcessData parentContext = parent.getContext(); wt.workflow.engine.WfInstruction instruction1 = (wt.workflow.engine.WfInstruction) parentContext.getValue("level_1_approve_instructions_1"); wt.workflow.engine.WfInstruction instruction2 = (wt.workflow.engine.WfInstruction) parentContext.getValue("level_2_approve_instructions_2"); //Replace the instructions for level 1 and level 2 approval with the revisor's instructions if (instruction1 == null) { instruction1 = new wt.workflow.engine.WfInstruction(); } if (instruction2 == null) { instruction2 = new wt.workflow.engine.WfInstruction(); } instruction1.setInstruction(approve_instructions1); instruction2.setInstruction(approve_instructions1); //Save this on the parent context parentContext .setValue("level_1_approve_instructions_1", instruction1); parentContext .setValue("level_2_approve_instructions_2", instruction2); parent = (wt.workflow.engine.WfProcess) wt.fc.PersistenceHelper.manager.save((wt.fc.Persistable)parent); | 7004 | 7006 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | //Get the object that represents this activity WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Set result to "Reject" if it has been chosen by all of the required users. In all other cases, set result to "Revise" result = WfTally.all(self, "Reject", "Revise"); if (result != "Reject") { //Set result to "Approve" if it has been chosen by all of the required users. In all other cases, set result to "Revise" result = WfTally.all(self, "Approve", "Revise"); } | 7007 | 7009 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); System.out.println("object == " + self.getObject()); WfAssignedActivity act = (WfAssignedActivity) self.getObject(); String route = customization.rsta.workflow.ChangeManagementWorkflowHelper.getExclusiveRouteFromActivity(act); if ("Fast Track".equalsIgnoreCase(route)) { frbRole = customization.rsta.team.RoleConstants.FAST_TRACK_FRB; } else if ("Engineering".equalsIgnoreCase(route)) { erbRole = customization.rsta.team.RoleConstants.STANDARD_ERB; crbRole = customization.rsta.team.RoleConstants.STANDARD_CRB; frbRole = customization.rsta.team.RoleConstants.STANDARD_FRB; } else if ("Manufacturing".equalsIgnoreCase(route)) { erbRole = customization.rsta.team.RoleConstants.MFG_ERB; crbRole = customization.rsta.team.RoleConstants.MFG_CRB; frbRole = customization.rsta.team.RoleConstants.MFG_FRB; } else if ("SEIT".equalsIgnoreCase(route)) { erbRole = customization.rsta.team.RoleConstants.SEIT_ERB; crbRole = customization.rsta.team.RoleConstants.SEIT_CRB; frbRole = customization.rsta.team.RoleConstants.SEIT_FRB; } else if ("Software Engineering".equalsIgnoreCase(route)) { erbRole = customization.rsta.team.RoleConstants.SOFTWARE_ERB; crbRole = customization.rsta.team.RoleConstants.SOFTWARE_CRB; frbRole = customization.rsta.team.RoleConstants.SOFTWARE_FRB; } | 9279964 | 9279966 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 9279967 | 9279969 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9279970 | 9279972 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 9279973 | 9279975 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9279976 | 9279978 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 9279979 | 9279981 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9279982 | 9279984 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; | 9279985 | 9279987 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | special_instructions=""; WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9279988 | 9279990 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9287591 | 9287593 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | result = inInitialPhase; | 9287594 | 9287596 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9287597 | 9287599 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate | try { Boolean isFormalized = wt.change2.process.ProcessHelper.checkIssueFormalized((wt.change2.WTChangeIssue)primaryBusinessObject) ; if (!isFormalized.equals(Boolean.TRUE)) throw new Exception("Change Issue must be attached to a CR before continuing."); wt.fc.QueryResult qr = wt.change2.ChangeHelper2.service.getChangeRequest((wt.change2.WTChangeIssue)primaryBusinessObject); if (qr.hasMoreElements()) associatedChangeRequest = (wt.change2.WTChangeRequest2) qr.nextElement(); } catch(Exception e) { throw new wt.workflow.engine.FailedTransitionException(e); } | 9287600 | 9287802 | COMPLETE |
| wt.workflow.definer.WfAssignedActivityTemplate |
WfAssignedActivity activity = (WfAssignedActivity) self.getObject();
if (isRework)
customization.rsta.workflow.ChangeManagementWorkflowHelper.setActivityName(activity, "Review Supplier Request (Buyer) - Rework");
StringBuffer sb = new StringBuffer();
if (isRework)
{
sb.append("The Support Engineer has determined that additonal information/rework is required.");
sb.append(" "); sb.append("1. Review the Support Engineer's comments in the discussion forum and take appropriate action. "); sb.append("2. Record your comments in the discussion forum (required). "); sb.append("3. Select the appropriate routing. "); sb.append("4. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } else { sb.append("A Supplier Request has been submitted that requires analysis to determine if further action is required."); sb.append(" "); sb.append("1. Review the request below and determine if the issue is valid. "); sb.append("2. Verify that associated parts and drawings are valid. Correct as necessary. "); sb.append("3. Record your comments in the discussion forum (required). "); sb.append("4. Select the appropriate routing. "); sb.append("5. Click Complete Task to advance the Supplier Request. "); instructions = sb.toString(); } isRework = false; | 9287787 | 9287789 | START |
| wt.workflow.definer.WfAssignedActivityTemplate | WfAssignedActivity activity = (WfAssignedActivity) self.getObject(); customization.rsta.workflow.ChangeManagementWorkflowHelper.validateCommentsAdded(activity, primaryBusinessObject); | 9287787 | 9287790 | COMPLETE |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.WTChangeActivity2 ca = (wt.change2.WTChangeActivity2) primaryBusinessObject; if (customization.rsta.workflow.ChangeManagementWorkflowHelper.changesParts(ca)) result = "Update Required"; else result = "No Parts Attached"; | 31141 | 31142 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; if (customization.rsta.workflow.ChangeManagementWorkflowHelper.changesParts(co)) result = "Publish Required"; else result = "No Parts Attached"; | 31210 | 31211 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.workflow.engine.WfProcess proc = (wt.workflow.engine.WfProcess) self.getObject(); Role role = customization.rsta.team.RoleConstants.CUSTOMER; if (customization.rsta.workflow.ChangeManagementWorkflowHelper.isPrincipalAssigned(proc, role)) result = "Assigned"; else result = "Not Assigned"; | 31259 | 31260 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.WTChangeRequest2 cr = (wt.change2.WTChangeRequest2) primaryBusinessObject; if (customization.rsta.workflow.ChangeManagementWorkflowHelper.isOnlySupplierRequestLinked(cr)) { frbRole = customization.rsta.team.RoleConstants.FAST_TRACK_FRB; result = "Supplier Request"; } else result = "Other"; | 31306 | 31307 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.workflow.engine.WfProcess proc = (wt.workflow.engine.WfProcess) self.getObject(); if (customization.rsta.workflow.ChangeManagementWorkflowHelper.isPrincipalAssigned(proc, erbRole)) result = "Start"; else result = "Skip"; | 31308 | 31309 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.workflow.engine.WfProcess proc = (wt.workflow.engine.WfProcess) self.getObject(); if (customization.rsta.workflow.ChangeManagementWorkflowHelper.isPrincipalAssigned(proc, erbRole)) result = "Start"; else result = "Skip"; | 31310 | 31311 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.VersionableChangeItem chg = (wt.change2.VersionableChangeItem)primaryBusinessObject; if (wt.vc.VersionControlHelper.hasPredecessor(chg)) { result="REVISE"; } else { result="CREATE"; } | 5407 | 5408 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.fc.QueryResult qr = wt.change2.ChangeHelper2.service.getChangeOrders((wt.change2.ChangeRequest2)primaryBusinessObject); if (qr == null || qr.size() <= 0) { result="CREATE_CN"; } else { result="AUTO_CREATED_CN"; } | 5527 | 5528 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.VersionableChangeItem chg = (wt.change2.VersionableChangeItem)primaryBusinessObject; if (wt.vc.VersionControlHelper.hasPredecessor(chg)) { result="REVISE"; } else { result="CREATE"; } | 5529 | 5530 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | Boolean isComplex; isComplex=com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.isComplex((wt.change2.WTChangeOrder2)primaryBusinessObject); if(isComplex.equals(Boolean.TRUE)) { result = "COMPLEX"; } else result = "SIMPLE"; | 5669 | 5670 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | if (wt.change2.ChangeHelper2.isTrackingChange((wt.inf.container.WTContained)primaryBusinessObject)) { result = "Revisioning Enabled"; } else { result = "Revisioning Disabled"; } | 5673 | 5674 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.VersionableChangeItem chg = (wt.change2.VersionableChangeItem)primaryBusinessObject; if (wt.vc.VersionControlHelper.hasPredecessor(chg)) { result="REVISE"; } else { result="CREATE"; } | 5676 | 5677 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.VersionableChangeItem chg = (wt.change2.VersionableChangeItem)primaryBusinessObject; if (wt.vc.VersionControlHelper.hasPredecessor(chg)) { result="REVISE"; } else { result="CREATE"; } | 5756 | 5757 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject; try { wt.util.WTProperties props = wt.util.WTProperties.getLocalProperties(); VERBOSE = props.getProperty("wt.maturity.verbose",VERBOSE); } catch( Throwable t ) { } try{ wt.maturity.MaturityServerHelper.service.promoteTargets (pn); wt.maturity.MaturityServerHelper.setDefaultBaselineForGenerics(pn); result="Approved"; } catch (wt.maturity.MaturityException me){ if ( VERBOSE ) me.printStackTrace(); result="Rejected"; } | 6063 | 6064 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject; try { wt.util.WTProperties props = wt.util.WTProperties.getLocalProperties(); VERBOSE = props.getProperty("wt.maturity.verbose",VERBOSE); } catch( Throwable t ) { } try { wt.maturity.MaturityServerHelper.service.lockTargets( pn ); result = "Accepted"; } catch( Exception wte ) { if ( VERBOSE ) wte.printStackTrace(); result = "Rejected"; // send notification to owner } | 6065 | 6066 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject; try { wt.util.WTProperties props = wt.util.WTProperties.getLocalProperties(); VERBOSE = props.getProperty("wt.maturity.verbose",VERBOSE); } catch( Throwable t ) { } try{ wt.maturity.MaturityServerHelper.service.promoteTargets (pn); wt.maturity.MaturityServerHelper.setDefaultBaselineForGenerics(pn); result="Approved"; } catch (wt.maturity.MaturityException me){ if ( VERBOSE ) me.printStackTrace(); result="Rejected"; } | 6114 | 6115 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject; try { wt.util.WTProperties props = wt.util.WTProperties.getLocalProperties(); VERBOSE = props.getProperty("wt.maturity.verbose",VERBOSE); } catch( Throwable t ) { } try { wt.maturity.MaturityServerHelper.service.lockTargets( pn ); result = "Accepted"; } catch( Exception wte ) { if ( VERBOSE ) wte.printStackTrace(); result = "Rejected"; // send notification to owner } | 6117 | 6118 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.WTChangeRequest2 cr = (wt.change2.WTChangeRequest2) primaryBusinessObject; if (customization.rsta.workflow.ChangeManagementWorkflowHelper.isOnlySupplierRequestLinked(cr)) { frbRole = customization.rsta.team.RoleConstants.FAST_TRACK_FRB; result = "Supplier Request"; } else result = "Other"; | 9279995 | 9279996 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.workflow.engine.WfProcess proc = (wt.workflow.engine.WfProcess) self.getObject(); if (customization.rsta.workflow.ChangeManagementWorkflowHelper.isPrincipalAssigned(proc, erbRole)) result = "Start"; else result = "Skip"; | 9279997 | 9279998 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.workflow.engine.WfProcess proc = (wt.workflow.engine.WfProcess) self.getObject(); if (customization.rsta.workflow.ChangeManagementWorkflowHelper.isPrincipalAssigned(proc, erbRole)) result = "Start"; else result = "Skip"; | 9279999 | 9280000 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | if (changeRequestRequired) result = customization.rsta.workflow.RoutingEventConstants.CHANGE_REQUEST_REQUIRED; else result = customization.rsta.workflow.RoutingEventConstants.OTHER; | 31551 | 31552 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; if (customization.rsta.workflow.ChangeManagementWorkflowHelper.changesParts(co)) result = "Publish Required"; else result = "No Parts Attached"; | 9279889 | 9279890 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; try { customization.rsta.change2.OracleTransferHelper.transfer(co); result = "Publish OK"; } catch(Exception e) { result = "Publish Failed"; e.printStackTrace(); } | 9279892 | 9279893 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | wt.workflow.engine.WfProcess proc = (wt.workflow.engine.WfProcess) self.getObject(); Role role = customization.rsta.team.RoleConstants.CUSTOMER; if (customization.rsta.workflow.ChangeManagementWorkflowHelper.isPrincipalAssigned(proc, role)) result = "Assigned"; else result = "Not Assigned"; | 9287539 | 9287540 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfConnectorTemplate | if (changeRequestRequired) result = customization.rsta.workflow.RoutingEventConstants.CHANGE_REQUEST_REQUIRED; else result = customization.rsta.workflow.RoutingEventConstants.OTHER; | 9287937 | 9287938 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setECNResolutionDate((wt.change2.WTChangeOrder2)primaryBusinessObject); | 9279870 | 9279872 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.applyPendingEffectivities((wt.change2.ChangeOrderIfc) primaryBusinessObject); | 9279873 | 9279875 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new Timestamp(System.currentTimeMillis()); | 9279876 | 9279878 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.forcePRsToResolved((wt.change2.WTChangeRequest2)primaryBusinessObject); | 9287524 | 9287526 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 9287578 | 9287580 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 9287581 | 9287583 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 9287584 | 9287586 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.change2.WTChangeActivity2 ca = (wt.change2.WTChangeActivity2) primaryBusinessObject; customization.rsta.workflow.ChangeManagementWorkflowHelper.lockChangeables(ca); | 31118 | 31120 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.change2.WTChangeActivity2 ca = (wt.change2.WTChangeActivity2) primaryBusinessObject; customization.rsta.workflow.ChangeManagementWorkflowHelper.unlockChangeables(ca); | 31121 | 31123 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.applyPendingEffectivities((wt.change2.ChangeOrderIfc) primaryBusinessObject); | 31181 | 31183 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new Timestamp(System.currentTimeMillis()); | 31184 | 31186 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setECNResolutionDate((wt.change2.WTChangeOrder2)primaryBusinessObject); | 31187 | 31189 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | java.lang.String role="wt.project.role.CHANGE ADMINISTRATOR I"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); role="wt.project.role.CHANGE ADMINISTRATOR II"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); | 31190 | 31192 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.ECR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,role); | 31193 | 31195 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | //com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.promoteChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject); //com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.approveHangingChanges((wt.change2.WTChangeOrder2)primaryBusinessObject); customization.rsta.workflow.ChangeManagementWorkflowHelper.promoteChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject); | 31196 | 31198 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | // do nothing yet | 31199 | 31201 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.forcePRsToResolved((wt.change2.WTChangeRequest2)primaryBusinessObject); | 31244 | 31246 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 31401 | 31403 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 31404 | 31406 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 31407 | 31409 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 31379 | 31381 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 31382 | 31384 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 31385 | 31387 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 31388 | 31390 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 5378 | 5380 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 5381 | 5383 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.SUBMITTER"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setSubmitterRole((wt.change2.VersionableChangeItem)primaryBusinessObject,role); | 5384 | 5386 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | java.lang.String role="wt.project.role.CHANGE ADMINISTRATOR I"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); role="wt.project.role.CHANGE ADMINISTRATOR II"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); | 5610 | 5612 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setECNResolutionDate((wt.change2.WTChangeOrder2)primaryBusinessObject); | 5613 | 5615 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.applyPendingEffectivities((wt.change2.ChangeOrderIfc) primaryBusinessObject); | 5616 | 5618 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.fc.collections.WTHashSet unpromChanges = (wt.fc.collections.WTHashSet) com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.getUnpromotableChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject); java.util.Iterator i = unpromChanges.persistableIterator(); wt.enterprise.RevisionControlled p = null; String unpromotables = ""; if (i.hasNext()){ p = (wt.enterprise.RevisionControlled)i.next(); unpromotables = unpromotables + p.getDisplayIdentity(); } while (i.hasNext()){ p = (wt.enterprise.RevisionControlled)i.next(); unpromotables = unpromotables + "; " + p.getDisplayIdentity(); } if (unpromotables.length()!=0){ unpromotable = "- The following Resulting Data will not be promoted because there is no change transition defined: \n"; java.util.StringTokenizer s = new java.util.StringTokenizer( unpromotables, ";" ); while (s.hasMoreTokens()){ unpromotable += "- - " + s.nextToken() + "\n"; } unpromotable += "\n There are two ways to resolve the issue: \n 1. If you did not intend to promote the resulting data, then simply complete the task. \n 2. If you did intend to promote the resulting data, there may be a problem with the configuration of lifecycle templates. Select the Rework option and enter comments for Change Administrator II."; unpromotable += ""; } | 5619 | 5621 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.SUBMITTER"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setSubmitterRole((wt.change2.VersionableChangeItem)primaryBusinessObject,role); | 5622 | 5624 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.ECR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,role); | 5625 | 5627 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.ECR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,role); role=new String("wt.project.role.PR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,role); String vrole=new String("wt.project.role.VARIANCE AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,vrole); | 5628 | 5630 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new Timestamp(System.currentTimeMillis()); | 5631 | 5633 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.ECR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,role); | 5634 | 5636 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.promoteChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.approveHangingChanges((wt.change2.WTChangeOrder2)primaryBusinessObject); | 5637 | 5639 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.PR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject,role); String vrole=new String("wt.project.role.VARIANCE AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject,vrole); | 5472 | 5474 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.SUBMITTER"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setSubmitterRole((wt.change2.VersionableChangeItem)primaryBusinessObject,role); | 5475 | 5477 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.PR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject,role); String vrole=new String("wt.project.role.VARIANCE AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject,vrole); | 5478 | 5480 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 5481 | 5483 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.PR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject,role); String vrole=new String("wt.project.role.VARIANCE AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject,vrole); | 5484 | 5486 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.forcePRsToResolved((wt.change2.WTChangeRequest2)primaryBusinessObject); | 5487 | 5489 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.PR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject,role); String vrole=new String("wt.project.role.VARIANCE AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject,vrole); | 5490 | 5492 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.SUBMITTER"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setSubmitterRole((wt.change2.VersionableChangeItem)primaryBusinessObject,role); | 5743 | 5745 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject; try { wt.util.WTProperties props = wt.util.WTProperties.getLocalProperties(); VERBOSE = props.getProperty("wt.maturity.verbose",VERBOSE); } catch( Throwable t ) { } try{ wt.maturity.MaturityServerHelper.service.unlockTargets (pn); } catch (wt.maturity.MaturityException me){ if ( VERBOSE ) me.printStackTrace(); } | 6055 | 6057 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject; try { wt.util.WTProperties props = wt.util.WTProperties.getLocalProperties(); VERBOSE = props.getProperty("wt.maturity.verbose",VERBOSE); } catch( Throwable t ) { } try{ wt.maturity.MaturityServerHelper.service.unlockTargets (pn); } catch (wt.maturity.MaturityException me){ if ( VERBOSE ) me.printStackTrace(); } | 6109 | 6111 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 6321 | 6323 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.VARIANCE AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setVarianceAuthorRole((wt.change2.WTVariance)primaryBusinessObject,role); | 6324 | 6326 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new Timestamp(System.currentTimeMillis()); | 30919 | 30921 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | java.lang.String role="wt.project.role.CHANGE ADMINISTRATOR I"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); role="wt.project.role.CHANGE ADMINISTRATOR II"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); | 30922 | 30924 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.ECR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,role); | 30925 | 30927 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; customization.rsta.workflow.ChangeManagementWorkflowHelper.createIncorporateChangesChangeActivity(co); | 30928 | 30930 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.change2.WTChangeRequest2 cr = (wt.change2.WTChangeRequest2) primaryBusinessObject; customization.rsta.workflow.ChangeManagementWorkflowHelper.createChangeNotice(cr); | 30962 | 30964 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | approvalDate=new Timestamp(System.currentTimeMillis()); Analysis_Comments = ""; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processBusinessDecision((wt.change2.WTChangeRequest2)primaryBusinessObject,wt.change2.BusinessDecisionCategory.APPROVED, "COMPLEX", Analysis_Comments); | 30965 | 30967 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 30968 | 30970 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new Timestamp(System.currentTimeMillis()); | 9279911 | 9279913 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | java.lang.String role="wt.project.role.CHANGE ADMINISTRATOR I"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); role="wt.project.role.CHANGE ADMINISTRATOR II"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); | 9279914 | 9279916 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.ECR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,role); | 9279917 | 9279919 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; wt.fc.QueryResult caResult = wt.change2.ChangeHelper2.service.getChangeActivities(co, true); if (!caResult.hasMoreElements()) customization.rsta.workflow.ChangeManagementWorkflowHelper.createIncorporateChangesChangeActivity(co); | 9279920 | 9279922 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | wt.change2.WTChangeRequest2 cr = (wt.change2.WTChangeRequest2) primaryBusinessObject; customization.rsta.workflow.ChangeManagementWorkflowHelper.createChangeNotice(cr); | 9279951 | 9279953 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | approvalDate=new Timestamp(System.currentTimeMillis()); Analysis_Comments = ""; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processBusinessDecision((wt.change2.WTChangeRequest2)primaryBusinessObject,wt.change2.BusinessDecisionCategory.APPROVED, "COMPLEX", Analysis_Comments); | 9279954 | 9279956 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 9279957 | 9279959 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | submitDate=new java.sql.Timestamp(System.currentTimeMillis()); | 9287765 | 9287767 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 9287768 | 9287770 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 9287771 | 9287773 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setPRResolutionDate((wt.change2.WTChangeIssue)primaryBusinessObject); | 9287774 | 9287776 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | reworkMessage = "Review the rework instructions in the Discussion Forum"; isReworked =true; | 9279818 | 9279820 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | java.lang.String role="wt.project.role.CHANGE ADMINISTRATOR I"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); role="wt.project.role.CHANGE ADMINISTRATOR II"; com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject, role); | 9279861 | 9279863 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | String role=new String("wt.project.role.ECR AUTHOR"); com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECN((wt.change2.WTChangeOrder2)primaryBusinessObject,role); | 9279864 | 9279866 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfExprRobotTemplate | //com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.promoteChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject); //com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.approveHangingChanges((wt.change2.WTChangeOrder2)primaryBusinessObject); customization.rsta.workflow.ChangeManagementWorkflowHelper.promoteChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject); | 9279867 | 9279869 | _ROBOT_EXPRESSION_ |
| wt.workflow.definer.WfProcessTemplate | // Initialize the parentChangeRequest variable parentChangeOrder=com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.findChangeOrder( (wt.change2.WTChangeActivity2) primaryBusinessObject); | 31106 | 31109 | START |
| wt.workflow.definer.WfProcessTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; wt.fc.QueryResult r = wt.change2.ChangeHelper2.service.getChangeRequest(co); if (r.hasMoreElements()) parentChangeRequest = (wt.change2.WTChangeRequest2) r.nextElement(); | 31173 | 31176 | START |
| wt.workflow.definer.WfProcessTemplate |
isRework = false;
/* windchill.conf changes:
| 31353 | 31356 | START |
| wt.workflow.definer.WfProcessTemplate | // Initialize the parentChangeRequest variable parentChangeOrder=com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.findChangeOrder( (wt.change2.WTChangeActivity2) primaryBusinessObject); | 5728 | 5734 | START |
| wt.workflow.definer.WfProcessTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; wt.fc.QueryResult r = wt.change2.ChangeHelper2.service.getChangeRequest(co); if (r.hasMoreElements()) parentChangeRequest = (wt.change2.WTChangeRequest2) r.nextElement(); | 9279854 | 9279856 | START |
| wt.workflow.definer.WfProcessTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; wt.fc.QueryResult r = wt.change2.ChangeHelper2.service.getChangeRequest(co); if (r.hasMoreElements()) parentChangeRequest = (wt.change2.WTChangeRequest2) r.nextElement(); | 9279904 | 9279906 | START |
| wt.workflow.definer.WfProcessTemplate |
isRework = false;
/* windchill.conf changes:
| 9287740 | 9287742 | START |
| wt.workflow.definer.WfProcessTemplate | // Initialize the parentChangeRequest variable parentChangeOrder=com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.findChangeOrder( (wt.change2.WTChangeActivity2) primaryBusinessObject); | 9279807 | 9279809 | START |
| wt.workflow.definer.WfProcessTemplate | wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2) primaryBusinessObject; wt.fc.QueryResult r = wt.change2.ChangeHelper2.service.getChangeRequest(co); if (r.hasMoreElements()) parentChangeRequest = (wt.change2.WTChangeRequest2) r.nextElement(); | 30911 | 30914 | START |
| wt.workflow.definer.WfSynchRobotTemplate | // Determine the state of the parent change request and branch accordingly String state = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkImplementation(parentChangeOrder); if (state.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.IMPLEMENTATION)) result = "Go"; else result = null; | 31124 | 31126 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 9287587 | 9287590 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeOrder.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 31128 | 31130 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeOrder.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 31128 | 31131 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkActivitiesFinished = null; checkActivitiesFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkActivitiesFinished((wt.change2.WTChangeOrder2)primaryBusinessObject); if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Resolved"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 31202 | 31204 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkActivitiesFinished = null; checkActivitiesFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkActivitiesFinished((wt.change2.WTChangeOrder2)primaryBusinessObject); if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Resolved"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 31202 | 31205 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 31206 | 31208 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 31206 | 31209 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // The method ProcessHelper.checkOrdersFinished // returns ProcessHelper.COMPLETE if at least one Change Order is in state // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkOrdersFinished = null; checkOrdersFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkOrdersFinished((wt.change2.ChangeRequest2)primaryBusinessObject); if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Completed"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 31247 | 31249 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // The method ProcessHelper.checkOrdersFinished // returns ProcessHelper.COMPLETE if at least one Change Order is in state // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkOrdersFinished = null; checkOrdersFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkOrdersFinished((wt.change2.ChangeRequest2)primaryBusinessObject); if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Completed"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 31247 | 31250 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 31410 | 31412 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 31410 | 31413 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 31391 | 31393 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 31391 | 31394 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 5387 | 5389 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 5387 | 5390 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkActivitiesFinished = null; checkActivitiesFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkActivitiesFinished((wt.change2.WTChangeOrder2)primaryBusinessObject); if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Resolved"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 5640 | 5642 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkActivitiesFinished = null; checkActivitiesFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkActivitiesFinished((wt.change2.WTChangeOrder2)primaryBusinessObject); if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Resolved"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 5640 | 5643 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 5644 | 5646 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 5644 | 5647 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 5493 | 5495 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 5493 | 5496 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // The method ProcessHelper.checkOrdersFinished // returns ProcessHelper.COMPLETE if at least one Change Order is in state // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkOrdersFinished = null; checkOrdersFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkOrdersFinished((wt.change2.ChangeRequest2)primaryBusinessObject); if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Resolved"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 5497 | 5499 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // The method ProcessHelper.checkOrdersFinished // returns ProcessHelper.COMPLETE if at least one Change Order is in state // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkOrdersFinished = null; checkOrdersFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkOrdersFinished((wt.change2.ChangeRequest2)primaryBusinessObject); if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Resolved"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 5497 | 5500 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Determine the state of the parent change request and branch accordingly String state = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkImplementation(parentChangeOrder); if (state.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.IMPLEMENTATION)) result = "Go"; else result = null; | 5746 | 5748 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Determine the state of the parent change request and branch accordingly String state = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkImplementation(parentChangeOrder); if (state.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.IMPLEMENTATION)) result = "Go"; else result = null; | 5746 | 5749 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 6327 | 6329 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 6327 | 6330 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 30931 | 30933 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 30931 | 30934 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("IMPLEMENTATION"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Go"; else result = null; | 30935 | 30937 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("IMPLEMENTATION"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Go"; else result = null; | 30935 | 30938 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 30971 | 30973 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 30971 | 30974 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 9279923 | 9279925 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 9279923 | 9279926 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("IMPLEMENTATION"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Go"; else result = null; | 9279927 | 9279929 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("IMPLEMENTATION"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Go"; else result = null; | 9279927 | 9279930 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 9279960 | 9279962 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 9279960 | 9279963 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 9287777 | 9287779 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 9287777 | 9287780 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Determine the state of the parent change request and branch accordingly String state = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkImplementation(parentChangeOrder); if (state.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.IMPLEMENTATION)) result = "Go"; else result = null; | 9279821 | 9279823 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Determine the state of the parent change request and branch accordingly String state = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkImplementation(parentChangeOrder); if (state.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.IMPLEMENTATION)) result = "Go"; else result = null; | 9279821 | 9279824 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeOrder.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 9279825 | 9279827 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeOrder.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 9279825 | 9279828 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkActivitiesFinished = null; checkActivitiesFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkActivitiesFinished((wt.change2.WTChangeOrder2)primaryBusinessObject); if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Resolved"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 9279879 | 9279881 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkActivitiesFinished = null; checkActivitiesFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkActivitiesFinished((wt.change2.WTChangeOrder2)primaryBusinessObject); if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Resolved"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkActivitiesFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 9279879 | 9279882 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 9279883 | 9279885 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | wt.lifecycle.State s = wt.lifecycle.State.toState("CANCELLED"); if (parentChangeRequest.getLifeCycleState().equals(s)) result = "Cancelled"; else result = null; | 9279883 | 9279886 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // The method ProcessHelper.checkOrdersFinished // returns ProcessHelper.COMPLETE if at least one Change Order is in state // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkOrdersFinished = null; checkOrdersFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkOrdersFinished((wt.change2.ChangeRequest2)primaryBusinessObject); if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Completed"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 9287527 | 9287529 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // The method ProcessHelper.checkOrdersFinished // returns ProcessHelper.COMPLETE if at least one Change Order is in state // "Complete" and the rest are in state "Complete" or "Cancel." // It returns ProcessHelper.CANCELLED if all Change Orders are in state "Cancelled" or // ProcessHelper.NOT_FINISHED if at least one Change Order is pending // (i.e. has not reached either state "Complete" or "Cancelled"). String checkOrdersFinished = null; checkOrdersFinished = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkOrdersFinished((wt.change2.ChangeRequest2)primaryBusinessObject); if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.RESOLVED)) result = "Completed"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.CANCELLED)) result = "Cancelled"; else if (checkOrdersFinished.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.NOT_FINISHED)) result = null; | 9287527 | 9287530 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Continue if the primaryBusinessObject has progressed past the initial state inInitialPhase =wt.lifecycle.LifeCycleHelper.service.isInInitialPhase((wt.lifecycle.LifeCycleManaged)primaryBusinessObject) ; if (inInitialPhase != true) result = "Go"; else result = null; | 9287587 | 9287589 | _SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfSynchRobotTemplate | // Determine the state of the parent change request and branch accordingly String state = com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.checkImplementation(parentChangeOrder); if (state.equals(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.IMPLEMENTATION)) result = "Go"; else result = null; | 31124 | 31127 | _INITIAL_SYNCH_EXPRESSION_ |
| wt.workflow.definer.WfURLRobotTemplate | int http_response_code = ((wt.workflow.robots.WfURLRobot)self.getObject()).getHTTPResponseCode(); switch (http_response_code) { case 404: result = "Not Found"; break; case 400: result = "Bad Request"; break; case 401: result = "Unauthorized"; break; case 500: result = "Server Error"; break; case 403: result = "Forbidden"; break; case 504: result = "Gateway Timeout"; break; case 503: result = "Unavailable"; break; default: if (http_response_code >= 400) { result = "Other Error"; } else { result = "OK"; } } | 31395 | 31397 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfURLRobotTemplate | int http_response_code = ((wt.workflow.robots.WfURLRobot)self.getObject()).getHTTPResponseCode(); switch (http_response_code) { case 404: result = "Not Found"; break; case 400: result = "Bad Request"; break; case 401: result = "Unauthorized"; break; case 500: result = "Server Error"; break; case 403: result = "Forbidden"; break; case 504: result = "Gateway Timeout"; break; case 503: result = "Unavailable"; break; default: if (http_response_code >= 400) { result = "Other Error"; } else { result = "OK"; } } | 9287784 | 9287786 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfURLRobotTemplate | int http_response_code = ((wt.workflow.robots.WfURLRobot)self.getObject()).getHTTPResponseCode(); switch (http_response_code) { case 404: result = "Not Found"; break; case 400: result = "Bad Request"; break; case 401: result = "Unauthorized"; break; case 500: result = "Server Error"; break; case 403: result = "Forbidden"; break; case 504: result = "Gateway Timeout"; break; case 503: result = "Unavailable"; break; default: if (http_response_code >= 400) { result = "Other Error"; } else { result = "OK"; } } | 9287781 | 9287783 | _ROUTER_EXPRESSION_ |
| wt.workflow.definer.WfURLRobotTemplate | int http_response_code = ((wt.workflow.robots.WfURLRobot)self.getObject()).getHTTPResponseCode(); switch (http_response_code) { case 404: result = "Not Found"; break; case 400: result = "Bad Request"; break; case 401: result = "Unauthorized"; break; case 500: result = "Server Error"; break; case 403: result = "Forbidden"; break; case 504: result = "Gateway Timeout"; break; case 503: result = "Unavailable"; break; default: if (http_response_code >= 400) { result = "Other Error"; } else { result = "OK"; } } | 31398 | 31400 | _ROUTER_EXPRESSION_ |