Article - CS316699

Unable to edit Workflow Tasks from Template just keep on loading and shows "TypeError: Cannot read property 'persistInfoId' of undefined stack" in Windchill PDMLink

Modified: 11-May-2021   


Applies To

  • Windchill PDMLink 11.1 M010-CPS05

Description

  • Workflow Tasks in the Workflow Template Manager never "Load"
  • Unable to open workflow tasks in the workflow template.
  • While editing Workflow, On "Activity Robot" unable to edit screen just keep on loading
  • Workflow activities are not loaded, It just keeps spinning
  • Only happens for certain workflow templates no errors in the Method Server logs.
Browser Console shows below error:
ptcLib.js:46576 2019-10-17T14:46:44.106Z ERROR <PTC> TypeError: Cannot read property 'persistInfoId' of undefined stack: TypeError: Cannot read property 'persistInfoId' of undefined
    at Object.setRoleWithCounter (http://<host>/Windchill/apps/wfdefiner/defined-roles/defined-roles.repository.js:78:24)
    at http://<host>/Windchill/apps/wfdefiner/defined-roles/defined-roles.service.js:157:44
    at Function._.each._.forEach (http://<host>/Windchill/core-ui/2.1/js/core/ptcLib.js:42756:13)
    at populateDefinedRoles (http://<host>/Windchill/apps/wfdefiner/defined-roles/defined-roles.service.js:156:19)
    at processQueue (http://<host>/Windchill/core-ui/2.1/js/core/ptcLib.js:23660:28)
    at http://<host>/Windchill/core-ui/2.1/js/core/ptcLib.js:23676:27
    at Scope.$eval (http://<host>/Windchill/core-ui/2.1/js/core/ptcLib.js:24925:28)
    at Scope.$digest (http://<host>/Windchill/core-ui/2.1/js/core/ptcLib.js:24736:31)
    at Scope.$apply (http://<host>/Windchill/core-ui/2.1/js/core/ptcLib.js:25030:24)
    at done (http://<host>/Windchill/core-ui/2.1/js/core/ptcLib.js:19469:47)
BrowserConsoleAppender.append @ ptcLib.js:46576
Appender.doAppend @ ptcLib.js:46091
This is a printer-friendly version of Article 316699 and may be out of date. For the latest version click CS316699