Can a Groovy Script PX be used to update item attribute when PX is initiated from a Change Order
I’m attempting to create a Script PX which is initiated from a change order. It finds the part number of a specific subclass from the affected items list and then attempts to update a page-three attribute of that item. Said attribute is not change controlled, so making this change to the item should not require another change order.
It appears to error with “Insufficient Privilege” when trying to access the IItem object from the change.
,where partnumber is a variable with the name of an item that is a document class object.
For testing, the PX has an Agile Admin role which has access to update any item attributes.