Article - CS350278

Cannot complete the workflow task with errors:"This task cannot be displayed because you do not have permission to view the subject. Contact your project manager to increase your access rights" in Windchill PDMLink

Modified: 10-Jan-2025   


Applies To

  • Windchill PDMLink 11.0 M030 to 12.1

Description

  • Cannot complete the workflow task
  • It failed with errors:
2021-07-21 14:18:10,978 ERROR [ajp-nio-127.0.0.1-8012-exec-5] com.ptc.netmarkets.work.StandardNmWorkItemService 043998 - Cannot find expression method wt.workflow.expr.WfExpression6022787.execute通过   
wt.util.WTRuntimeException: Cannot find expression method wt.workflow.expr.WfExpression6022787.execute通过   
    at wt.workflow.definer.WfExpression.executeTransition(WfExpression.java:1359)
    at wt.workflow.definer.WfExpression.execute(WfExpression.java:468)
    at wt.workflow.engine.WfExecutionObject.evaluateExpression(WfExecutionObject.java:815)
    at wt.workflow.engine.WfActivity.complete(WfActivity.java:514)
    at wt.workflow.engine.StandardWfEngineService.complete(StandardWfEngineService.java:4212)
Caused by: (com.ptc.netmarkets.work.workResource/113) com.ptc.netmarkets.model.NmException: Cannot complete the workflow task with errors : This task cannot be displayed because you do not have permission to view the subject. Contact your project manager to increase your access rights。
	at com.ptc.netmarkets.work.StandardNmWorkItemService.complete(StandardNmWorkItemService.java:1063)
	at sun.reflect.GeneratedMethodAccessor829.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy209.complete(Unknown Source)
	at com.ptc.netmarkets.work.NmWorkItemCommands.complete(NmWorkItemCommands.java:519)
	... 59 more
  • compile the WfExpressionxxxx.class  in Windchill\codebase\wt\workflow\expr, it lost the java code in the activity transition
This is a printer-friendly version of Article 350278 and may be out of date. For the latest version click CS350278