Article - CS32505

Promotion Request Workflow gets stuck on "Approve Promotion Request" activity with a rollback error in Windchill PDMLink

Modified: 19-Apr-2023   


Applies To

  • Windchill PDMLink 9.1 to 12.1
  • Windchill Enterprise Systems Integration 9.1 to 12.1

Description

  • Promotion Request Workflow is stuck on Approve Promotion Request activity with a rollback error
  • The user is not able to set the state on the object
  • OOTB Promotion Process gets stuck after the approver gives the OK in the task
  • Only reproducible when ESI is installed and Publish Promotion Requests preference is set to No
  • Following errors are seen in Method Server log:

ERROR : wt.access.evaluation.report - "<User>" does not have Create permission for "Team - <Team_Name-xxxxxx" in Administrative Domain "Site, Organization - <Organization_Name>, xxxxx, Product - <Product_Name>, xxxxx /System".

wt.util.WTException: (wt.pom.pomResource/10) wt.pom.PersistenceException: A commit cannot be done when a rollback is in progress. The following is the rollback stacktrace
.........

    ROLLBACK: wt.team.StandardTeamService.createTeam(StandardTeamService.java:3754)
    ...
    ROLLBACK: wt.workflow.engine.StandardWfEngineService.createProcessInstance(StandardWfEngineService.java:10390)
    ...
    ROLLBACK: com.ptc.windchill.esi.svc.StandardESIService.launchWfProcess(StandardESIService.java:2630)
    ROLLBACK: com.ptc.windchill.esi.svc.StandardESIService.publishObject(StandardESIService.java:1555)
    ROLLBACK: com.ptc.windchill.esi.svc.StandardESIService$3.notifyVetoableEvent(StandardESIService.java:403)

This is a printer-friendly version of Article 32505 and may be out of date. For the latest version click CS32505