Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Version: Windchill 12.0
Use Case: I need to Prevent the task passing out from the AND connector before preceding tasks are completed.
Description:
I need to prevent the Engineering BOM Work task from being generated before both the Review Design and Design Checking tasks are completed, in order to prevent the Design Checker task Engineering BOM Work task from being in Potential status and processing at the same time.
This is the scenario were an AND gate is getting triggered even when one of the activity is completed, well if we return "rework to design work" task for Engineering BOM work task and then try to complete either review design task or Design checking task then also the AND connector is disabled and moved to next task.. which should not happen
This issue is possible if the change is sent back to Design work more than once and the Design Checking and Review Design tasks are not completed in the same order.
attached image for reference
Solved! Go to Solution.
Hi,
should I have to add a conditional after those 2 tasks and connect it back to AND gate? is this what are you trying to suggest?
Use the transition tab on the tasks to set the value of workflow variables like designReviewOK=true and designCheck=true, then afterwards add a mutually exclusive condition gate to route it to the next step with an expression.
if (designReviewOK && designCheckOK) {
result = “Proceed”;
} else {
result = “Rework”;
}
Hi,
If you have looked on the attached image, in AND gate can we write an expression such that it allows only when 2 tasks has been approve, if not then the AND gate will remain enabled and not allow.
Do you have the checkbox for loopback link checked? I see some red arrows but is this due to it coming through once and the second time its disabled? Recommend cleaning up the display to its easier to follow.
As I see it, the AND is only triggered when task for Design Checking Full Release and Review Design Work For Release are approved. So if one of them is Rework To Design, the AND is disabled right? I vaguely remember something that can be used to enable a conditional ahead of time. Is that what is needed?
Hello,
Actually if when Engineering BOM work task is sent to rework to design after approving Design Checking Full Release and Review Design Work. then when we try to approve Review Design Work Full Release and check the AND gate is disabled and the task is moved to Engineering BOM work task. this is the issue.
So those two task, if any one of them says rework and not approve, it should also disable the other task and not leave it active. It hits the OR gate and goes back around. See if that works.
Yes, this works perfectly fine, my concern is on when we say approve for those 2 tasks and it reaches Engg bom work task, and there if we select rework to design, and this loops back to design work and then again 2 tasks, here if we select Review Design Work full release and say approve, then the AND gate will be disabled, leaving other task in potential before AND gate and task is reached to Engg bom work task... whereas AND gate should consider 2 task to be approved then it should be allowed.
Hi,
should I have to add a conditional after those 2 tasks and connect it back to AND gate? is this what are you trying to suggest?
Hi @AK_10813265
Create a new branch for your rework way, and do not return to the AND connector.
PetrH.
Hi,
Can you please explain how I have to modify the exisitng workflow, so that this issue gets solved, can you please provide me some solution.