This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Reset Life Cycle > Run Workflow > Workflow Promotion is not working

jsnosal - Tuesday, June 18, 2013 9:02 AM:

I have a really simple workflow inside of the Manufacturing parts. Its a workflow that is triggered based on the life cycle of the part. It will change the state from Preliminary to In Change to Released. I had an issue with a part and I needed to roll the life cycle from In Change to Preliminary. The activity was removed from My InBasket. Then I went back to run the workflow again. The part state will change from Preliminary to In Change. When I approve the part to be released, the state remains in In Change and does not move to Released. 

Any ideas on how to fix this? I have released a number of other parts without issues and it seems the life cycle reset has caused some issues that I don't understand. Can I change the state will AML? 

Thank you for your help its greatly appreciated. 



Brian - Wednesday, June 19, 2013 5:25 AM:

Can you post a pic of the workflow?

Is there a promotion path from In change to Released?

Brian.



jsnosal - Wednesday, June 19, 2013 9:03 AM:

Hey Brian,

I ended up finding the issue. The <is_current> was set to 0. I had versioning turned on and it was causing issues when the part was in review. If a new generation was created, it would break the workflow. When the workflow would try to complete the task, it would throw an error saying it can't find the control item. So I dug through the AML and found that if the is current bit is 0, then you cannot run a workflow against that ID. I created a new part and copied over the information. Everything is working fine with a new part. I turned off versioning so that I dont see this issue again. Thanks

Josh