Skip to main content
5-Regular Member
May 30, 2017
Question

Workflow Process question

  • May 30, 2017
  • 2 replies
  • 3955 views


Hello all,

I'm having a workflow issue and hope someone can help. We have a process whose workflow requires approvals. Each approvers is given 2 options (votes), Complete or Rework. If all approvers vote "Complete", the workflow moves along to the next activity (coordinator approve and release), as expected. However, if any one approvers votes "Rework", the process assigns a Rework task (expected) but also moves forward to the next activity. This causes an issue for the person assigned the Rework task as they can't update or edit the object because it is undergoing a review process. (See attachment for error message) This also means you can't change the state even from an admin account either for the same reason. Any ideas as to what is happening?

Thanks in advance for any suggestions and / or ideas.

David

2 replies

15-Moonstone
May 31, 2017

Hello,

Can you provide a screenshot of the workflow ?

dthornton5-Regular MemberAuthor
5-Regular Member
May 31, 2017

Hi Olivier,

I think Kaushik's answer below got me going in the right direction. I appreciate your reply. If you would still like to see the workflow, I'l screenshot and attach it.

Best,

David

12-Amethyst
May 31, 2017

Hi David,

I am guessing that you are using 'All' to ensure that every approver provides a vote before you can move forward.

So, if one of them cast vote as 'Rework' system is triggering 'Rework' task and if another approver select 'Approve' the system is triggering the next task for 'Approver'. The system is behaving as expected.

Use the tally expression so that workflow always goes to 'Rework' if any one of the approvers selects 'Rework'.

This is a classic example of using tally.

<WC_URL>/Windchill-WHC/index.jspx?id=WFTranSampleCompleteTask&action=show

PTC Support is down for maintenance activity. So, unable to post a link.

If you are in Windchill 11, then go to help center and search for a page named 'Complete Task Transition'. There's a good example.

Regards,

Kaushik

dthornton5-Regular MemberAuthor
5-Regular Member
May 31, 2017

Hey Kaushik,

I'm currently running 10.2 but I took some of the info you referenced and was able to get it working. We actually ended up creating a new LC sate and using some of the coding and it seems to be working.

Thank you for the help!

Best,

David

12-Amethyst
June 1, 2017

You are welcome, David.

Happy to help.

Since you are using windchill 10.2 environment, there's another way to counter the problem as mentioned in following document.

Reject on 1st Reject Vote.pptx

Regards,

Kaushik