Cancel
Showing results for 
Search instead for 
Did you mean: 

Teamcenter Workflow - Change object relation

Creator
Creator

Hi,

is there a way to send a ItemRevision to a Workflow and change the relation of an attached object, which have e.g. the relation IMAN_specification?

 

 

Before Workflow:

ItemRevision

|--Object1 (Relation IMAN_specification)

|--Object2 (Relation IMAN_manifestation)

 

After Workflow:

ItemRevision

|--Object1 (Relation MyNewRelation)

|--Object2 (Relation IMAN_manifestation)

 

Any ideas?

 

Thanks in avance

 

cya

1 REPLY

Re: Teamcenter Workflow - Change object relation

Genius
Genius

I dont think there is an OOTB handler for this.  There is one for EPM-create-relation, but this wont replace or remove the old relation.

 

Other than a custom handler which I cant do - I would look into PIE-export-to-plmxmlfile.  Using a custom transfermode you could just get out the revision, the object and its relation.  A bit of code could 'hack' the xml file by changing the old relation to the new one and then import it back into Teamcenter...

 

I havent tried this, but in theory it would work!

 

Regards,

Richard

www.prospectplm.co.uk

Richard Bennett
PLM Consultant
Prospect PLM Ltd