Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Is there a way to use an attribute that is set on the context to drive an attribute for the objects within that context when they are created?
Something like assigning a "code" to the product, and make the attribute for a CR/CN/PR/Variance/DR etc match that same code
Unfortunately no, unless you create your own rule algorithm.
However, you can use the context name (something like containerName) to extract a sub string (that would be your code).
On the surface, it seems it seems it should be much easier than that. Why do I find myself saying that more and more with PTC stuff? 🙂
You could try to create an alias attribute, but it might not address your need as the value would change if the object is moved from a context to another.
That is exactly what I am looking for!
So I have a business attribute for the Context (GRC_PROJ_CODE) value 123456. I would like to be able to create new objects, and use that attribute to help in auto numebring. Something like CR-123456-(5dig seq). Any help you have on this would be appreciated
Then this should be achieved with a Custom Rule Algorithm and not a listener.