I was wondering if anyone of you could help me out.
I've gotten an request from our business to complement our companies release workflow.
Which is able to release Parts to our ERP system.
They want to be able to release Assemblies that may or may not contain subassemblies.
Prereqisite to fully release the assy is that all underlying Subassemblies are released. Its okay that underlying children that are single parts to not have a status at all. Workflow must Stop when subassies are not fully relaeased. And notify the process owner.
In the beginning of the worklow i add all children of the Toplevel assy as targets to the workflow. after that i added a handler that removes all parts/assy/s that have a released status. Since these do not have to be released again. but now im stuck.. how do i check that the sub-assies are released or not? Anyone aware of a handler (set) for this?
Why not just use the assembly status progression path handler, PS-check-assembly-status-progression, instead?
You can define a progression path (e.g. Released) that subcomponents must match before the WF will apply the same status to the asembly.
BTW, why wouldn't you status children of subassys? Statusing an assy level object does very little for the integrity of a product structure if the components in it are also not locked down from change.
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4
@LarryCarpenter Thank you, i will look into that.
Thing is, Sub assy's do need to be released first. Therefore the to be build workflow has to notify the WF initiator that he has to look at the sub assies first if not all children are released on forehand.
It sounds like our setups are similar. We dont use status progression.
I have created one workflow that uses attaches all WIP children from all levels
If your requirment is for the Targets to be released are only Assemblies, then create a query which just return revisions with a BVR and use -reference argument to move any revisions which dont have a BVR to the reference folder where they can then be removed from the workflow.
Does this help?