cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Start a Wfprocess without PrimaryObject

TZ
1-Newbie
1-Newbie

Start a Wfprocess without PrimaryObject

It's possible run a wfprocess without primaryObject in Windchill 7,but not enable at Workitem page in Windchill 10 M020.

I create wfprocess by API and not assign wtpart or wtdocument at primary Object in old process system(windchill7).

I try to upgrade Windchill to 10 M020, but it show errror messgae when user entry workitem page.

The show message mean Windchill 10 not allow processs work without primaryObject. It a bad new for me.

How can I do that with a empty primaryObject wfprocesses?

ACCEPTED SOLUTION

Accepted Solutions
TZ
1-Newbie
1-Newbie
(To:TZ)

dear all

The problem is found out.

The original warn message.

2013-11-12+%E4%B8%8A%E5%8D%88+09-30-42.jpg

the jsp source code in netmarket/jsp/workitem/info.jsp

2013-11-12+%E4%B8%8A%E5%8D%88+10-09-19.jpg

PTC was not allow process without PBO for review anymore.

I try to mask these codes and run well.

2013-11-12+%E4%B8%8A%E5%8D%88+10-20-21.jpg

View solution in original post

4 REPLIES 4
GregoryPERASSO
14-Alexandrite
(To:TZ)

What is the exact error message ?

may be it is only an error in the WorkItem page, and you can log a call to TS to fix it as a regression.

cause in 10, in the Admin Applet workflow, you're still able to launch a workflow without PBO.

regards

Gregory

MatthewKnight
4-Participant
(To:TZ)

If in 10 you can still launch a wfprocess without a pbo, I would expect the view workitem pages to still work. But it's also true that the jsps/view source is updated much more frequently and probably by many more devs than the old applet stuff. Out of curiosity, is 10 still using the same launch wfprocess applet?

Did all of your windu/winru tasks run cleanly?

What exactly is the error you're getting and on what page? Is it when the user tries to complete a workitem, or when they are trying to view a workitem? Not necesarily with workitems, but I've seen instances where some Persistable objects return null when calling xxx.getReference methods, while others return "empty" WTReferences. You could also try enabling debugging for some of the relevant packages.

Can you post the relevant MethodServer/ServletEngine log portion?

Yes seems to be exactly the same applet,

with ability to choose the wf template, a pbo , set variables .... etc ...

TZ
1-Newbie
1-Newbie
(To:TZ)

dear all

The problem is found out.

The original warn message.

2013-11-12+%E4%B8%8A%E5%8D%88+09-30-42.jpg

the jsp source code in netmarket/jsp/workitem/info.jsp

2013-11-12+%E4%B8%8A%E5%8D%88+10-09-19.jpg

PTC was not allow process without PBO for review anymore.

I try to mask these codes and run well.

2013-11-12+%E4%B8%8A%E5%8D%88+10-20-21.jpg

Announcements


Top Tags