Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
We're in the beginning stages of implementing a Change Notice workflow to release our CAD docs. The OOTB workflows map very closely to our internal process with one small exception.
Between the Reviewer approving the changes made and the Auditor signing off for the final release, I need to have multiple departments sign off on the changes. The easy part was having all of them be part of an activity within the workflow. I've got it to the point where if all of them choose 'Complete', it moves through the rest of the workflow without any problems. Similarly, if all of them pick 'Rework', it goes back to the responsible party to have more changes made.
The problem lies in having one pick 'Complete' and any number of the rest of them picking 'Rework'. In this case, the workflow acts like they've all picked 'Complete' and sends it onward to the Auditor.
I've opened a case with PTC and haven't heard anything for some time. Because of the delay in hearing from tech support, I'm curious if this is a relatively easy possibility or if I'm simply barking up the wrong tree here.
There is one Approval Task in the workflow with multiple people assigned to the task. (Well, groups actually.)
I don't have anything in the routing expression. That's one of the things I'm still working on. I just began to suspect, due to PTC's very long delay in answering, that I was asking for something that couldn't be done.
In Reply to Stephen Drzewiczewski:
Is there one Approval Task in the workflow with multiple people assigned to the task, or multiple Approval Tasks with one person in each of the tasks?
On the Routing tab of the task(s) what is the Routing Type and Routing/Tallying Expression?
My guess is that your expression is not correct.
Steve D.
Thanks to everyone that participated.
The final solution I decided to use was Jon Tribes. I've tested and so far it works seamlessly.
In the Routing tab of the Assigned Activity, using Approved and Rejected as the two Routing Events, add the following:
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject());
if (result != "Approved") {
//Set result to "Approved" if it has been chosen by all of the required users. In all other cases, set to Rejected.
result = WfTally.all(self, "Approved", "Rejected"); }
In Reply to Don Senchuk:
We're in the beginning stages of implementing a Change Notice workflow to release our CAD docs. The OOTB workflows map very closely to our internal process with one small exception.
Between the Reviewer approving the changes made and the Auditor signing off for the final release, I need to have multiple departments sign off on the changes. The easy part was having all of them be part of an activity within the workflow. I've got it to the point where if all of them choose 'Complete', it moves through the rest of the workflow without any problems. Similarly, if all of them pick 'Rework', it goes back to the responsible party to have more changes made.
The problem lies in having one pick 'Complete' and any number of the rest of them picking 'Rework'. In this case, the workflow acts like they've all picked 'Complete' and sends it onward to the Auditor.
I've opened a case with PTC and haven't heard anything for some time. Because of the delay in hearing from tech support, I'm curious if this is a relatively easy possibility or if I'm simply barking up the wrong tree here.