TAG-NmLoader-0.xml: ECR Process
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analysis_Comments
TAG-NmLoader-0.xml: PR_Group
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: submitDate
TAG-NmLoader-0.xml: proposedSolution
TAG-NmLoader-0.xml: businessDecisionSummary
TAG-NmLoader-0.xml: AnalyzeClarify_Comments
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: ecrDescription
TAG-NmLoader-0.xml: ecrName
TAG-NmLoader-0.xml: ecrNumber
TAG-NmLoader-0.xml: ecrContainer
TAG-NmLoader-0.xml: Set State Cancelled
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: aState
TAG-NmLoader-0.xml: Set State Closed
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: aState
TAG-NmLoader-0.xml: ECR Canceled
TAG-NmLoader-0.xml: subject
TAG-NmLoader-0.xml: message
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Set State Under Review
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: aState
TAG-NmLoader-0.xml: Set State In Work
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: aState
TAG-NmLoader-0.xml: ECR Rejected by Change Coordinator
TAG-NmLoader-0.xml: subject
TAG-NmLoader-0.xml: message
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: ECR Closed
TAG-NmLoader-0.xml: subject
TAG-NmLoader-0.xml: message
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Set State Approved
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: aState
TAG-NmLoader-0.xml: ECR Approved
TAG-NmLoader-0.xml: subject
TAG-NmLoader-0.xml: message
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Set PRAuthors
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analysis_Comments
TAG-NmLoader-0.xml: PR_Group
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: submitDate
TAG-NmLoader-0.xml: proposedSolution
TAG-NmLoader-0.xml: businessDecisionSummary
TAG-NmLoader-0.xml: AnalyzeClarify_Comments
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: ecrDescription
TAG-NmLoader-0.xml: ecrName
TAG-NmLoader-0.xml: ecrNumber
TAG-NmLoader-0.xml: ecrContainer
TAG-NmLoader-0.xml: _ROBOT_EXPRESSION_
TAG-NmLoader-0.xml: String role=new String("wt.project.role.PR AUTHOR");@com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject#role);
TAG-NmLoader-0.xml: Set Submit Date# etc.
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analysis_Comments
TAG-NmLoader-0.xml: PR_Group
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: submitDate
TAG-NmLoader-0.xml: proposedSolution
TAG-NmLoader-0.xml: businessDecisionSummary
TAG-NmLoader-0.xml: AnalyzeClarify_Comments
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: ecrDescription
TAG-NmLoader-0.xml: ecrName
TAG-NmLoader-0.xml: ecrNumber
TAG-NmLoader-0.xml: ecrContainer
TAG-NmLoader-0.xml: _ROBOT_EXPRESSION_
TAG-NmLoader-0.xml: submitDate=new java.sql.Timestamp(System.currentTimeMillis());@ecrName = ((wt.change2.WTChangeRequest2)primaryBusinessObject).getName();@ecrNumber = ((wt.change2.WTChangeRequest2)primaryBusinessObject).getNumber();@ecrDescription = ((wt.change2.WTChangeRequest2)primaryBusinessObject).getDescription();@ecrContainer = ((wt.change2.WTChangeRequest2)primaryBusinessObject).getContainerName();
TAG-NmLoader-0.xml: Set PRAuthors
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analysis_Comments
TAG-NmLoader-0.xml: PR_Group
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: submitDate
TAG-NmLoader-0.xml: proposedSolution
TAG-NmLoader-0.xml: businessDecisionSummary
TAG-NmLoader-0.xml: AnalyzeClarify_Comments
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: ecrDescription
TAG-NmLoader-0.xml: ecrName
TAG-NmLoader-0.xml: ecrNumber
TAG-NmLoader-0.xml: ecrContainer
TAG-NmLoader-0.xml: _ROBOT_EXPRESSION_
TAG-NmLoader-0.xml: String role=new String("wt.project.role.PR AUTHOR");@com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject#role);
TAG-NmLoader-0.xml: Force PRs to Completion
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analysis_Comments
TAG-NmLoader-0.xml: PR_Group
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: submitDate
TAG-NmLoader-0.xml: proposedSolution
TAG-NmLoader-0.xml: businessDecisionSummary
TAG-NmLoader-0.xml: AnalyzeClarify_Comments
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: ecrDescription
TAG-NmLoader-0.xml: ecrName
TAG-NmLoader-0.xml: ecrNumber
TAG-NmLoader-0.xml: ecrContainer
TAG-NmLoader-0.xml: _ROBOT_EXPRESSION_
TAG-NmLoader-0.xml: com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.forcePRsToResolved((wt.change2.WTChangeRequest2)primaryBusinessObject);
TAG-NmLoader-0.xml: Set PRAuthors
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analysis_Comments
TAG-NmLoader-0.xml: PR_Group
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: submitDate
TAG-NmLoader-0.xml: proposedSolution
TAG-NmLoader-0.xml: businessDecisionSummary
TAG-NmLoader-0.xml: AnalyzeClarify_Comments
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: ecrDescription
TAG-NmLoader-0.xml: ecrName
TAG-NmLoader-0.xml: ecrNumber
TAG-NmLoader-0.xml: ecrContainer
TAG-NmLoader-0.xml: _ROBOT_EXPRESSION_
TAG-NmLoader-0.xml: String role=new String("wt.project.role.PR AUTHOR");@com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setRoleToECR((wt.change2.WTChangeRequest2)primaryBusinessObject#role);
TAG-NmLoader-0.xml: Synch on ECO Completion
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analysis_Comments
TAG-NmLoader-0.xml: PR_Group
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: submitDate
TAG-NmLoader-0.xml: proposedSolution
TAG-NmLoader-0.xml: businessDecisionSummary
TAG-NmLoader-0.xml: AnalyzeClarify_Comments
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: ecrDescription
TAG-NmLoader-0.xml: ecrName
TAG-NmLoader-0.xml: ecrNumber
TAG-NmLoader-0.xml: ecrContainer
TAG-NmLoader-0.xml: _SYNCH_EXPRESSION_
TAG-NmLoader-0.xml: // This code returns CLOSED if at least one Change Order is in state @// "Closed" and the rest are in state "Closed" or "Cancelled". @// It returns CANCELLED if all Change Orders are in state "Cancelled" or@// NOT_FINISHED if at least one Change Order is pending @// (i.e. has not reached either state "Closed" or "Cancelled").@@wt.fc.QueryResult qResult = wt.change2.ChangeHelper2.service.getChangeOrders( (wt.change2.ChangeRequest2) primaryBusinessObject );@@String result_value = "NO_SUBORDINATES";@while( qResult.hasMoreElements() ) {@ wt.fc.Persistable persistable = (wt.fc.Persistable) qResult.nextElement();@ if( persistable instanceof wt.lifecycle.LifeCycleManaged ) {@ wt.lifecycle.LifeCycleManaged life_cycle_managed = (wt.lifecycle.LifeCycleManaged) persistable;@ if( life_cycle_managed.getLifeCycleState().equals(wt.lifecycle.State.toState("CLOSED")) ) {@ result_value = "CLOSED";@ } else@ if( life_cycle_managed.getLifeCycleState().equals(wt.lifecycle.State.toState("CANCELLED")) ) {@ if( result_value == "NO_SUBORDINATES" || !result_value.equals("CLOSED") )@ result_value = "CANCELLED";@ } else {@ result_value = "NOT_FINISHED";@ }@ }@}@@if( result_value.equals("CLOSED") )@ result = "Closed";@else if( result_value.equals("CANCELLED") )@ result = "Cancelled";@else if( result_value.equals("NOT_FINISHED") )@ result = null;
TAG-NmLoader-0.xml: _INITIAL_SYNCH_EXPRESSION_
TAG-NmLoader-0.xml: System.out.println("DEBUG: ECO Process; Sync on ECO Completion# Initial expression");
TAG-NmLoader-0.xml: Submit Now
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analysis_Comments
TAG-NmLoader-0.xml: PR_Group
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: submitDate
TAG-NmLoader-0.xml: proposedSolution
TAG-NmLoader-0.xml: businessDecisionSummary
TAG-NmLoader-0.xml: AnalyzeClarify_Comments
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: ecrDescription
TAG-NmLoader-0.xml: ecrName
TAG-NmLoader-0.xml: ecrNumber
TAG-NmLoader-0.xml: ecrContainer
TAG-NmLoader-0.xml: _SYNCH_EXPRESSION_
TAG-NmLoader-0.xml: // 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;
TAG-NmLoader-0.xml: _INITIAL_SYNCH_EXPRESSION_
TAG-NmLoader-0.xml: // 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;
TAG-NmLoader-0.xml: CRB Review
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: approval_date
TAG-NmLoader-0.xml: Comments
TAG-NmLoader-0.xml: Clarification_Comments
TAG-NmLoader-0.xml: Change_Coordinator_Comments
TAG-NmLoader-0.xml: Approve
TAG-NmLoader-0.xml: approval_date=new Timestamp(System.currentTimeMillis());@wt.session.SessionServerHelper.manager.setAccessEnforced( false );@com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.processBusinessDecision((wt.change2.WTChangeRequest2)primaryBusinessObject#wt.change2.BusinessDecisionCategory.APPROVED# "COMPLEX"# Comments);@wt.session.SessionServerHelper.manager.setAccessEnforced( true );@@@@
TAG-NmLoader-0.xml: Submit ECR
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: approvalDate
TAG-NmLoader-0.xml: inInitialPhase
TAG-NmLoader-0.xml: START
TAG-NmLoader-0.xml: result = inInitialPhase;
TAG-NmLoader-0.xml: Clarify
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Comments
TAG-NmLoader-0.xml: Change_Coordinator_Comments
TAG-NmLoader-0.xml: CRB_Comments
TAG-NmLoader-0.xml: Create ECO
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Analyze ECR
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Comments
TAG-NmLoader-0.xml: Clairification_Comments
TAG-NmLoader-0.xml: CRB_Comments
TAG-NmLoader-0.xml: Fast_Track
TAG-NmLoader-0.xml: wt.session.SessionServerHelper.manager.setAccessEnforced( false );@com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setTrack((wt.change2.WTChangeRequest2)primaryBusinessObject# "SIMPLE");@wt.session.SessionServerHelper.manager.setAccessEnforced( true );@@
TAG-NmLoader-0.xml: Full_Track
TAG-NmLoader-0.xml: wt.session.SessionServerHelper.manager.setAccessEnforced( false );@com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setTrack((wt.change2.WTChangeRequest2)primaryBusinessObject# "COMPLEX");@wt.session.SessionServerHelper.manager.setAccessEnforced( true );
TAG-NmLoader-0.xml: Reject
TAG-NmLoader-0.xml: wt.session.SessionServerHelper.manager.setAccessEnforced( false );@com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setTrack((wt.change2.WTChangeRequest2)primaryBusinessObject# "SIMPLE");@wt.session.SessionServerHelper.manager.setAccessEnforced( true );
TAG-NmLoader-0.xml: Verify ECR
TAG-NmLoader-0.xml: primaryBusinessObject
TAG-NmLoader-0.xml: Comments
TAG-NmLoader-0.xml: Clairification_Comments
TAG-NmLoader-0.xml: CRB_Comments
TAG-NmLoader-0.xml: Reject
TAG-NmLoader-0.xml: wt.session.SessionServerHelper.manager.setAccessEnforced( false );@com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.setTrack((wt.change2.WTChangeRequest2)primaryBusinessObject# "SIMPLE");@wt.session.SessionServerHelper.manager.setAccessEnforced( true );