Showing results for 
Search instead for 
Do you mean 
Reply

Add Previous ItemRevision to Workflow Target/Reference

Hello All,

 

When i select an Item Revision and send in to a Workflow Process, i need the Previous revision (one Revision only. i.e., Selected Revision minus 001) of the Target Item Revision to be added to the Workflow Target/Reference folder. (For ItemRevision > 001)

 

How can this be achieved? Has any one tried this before? Thanks

 

Kind Regards,

Arun Kumar G

3 REPLIES

Re: Add Previous ItemRevision to Workflow Target/Reference

You can use the "IMAN_based_on" relation to attach the previous revision if one exists, but beware the case where your target revision was created using Save As. In that case, IMAN_based_on will return the revision from the original item/item revision.

Arden Bedell | Teamcenter Wonk | Applied CAx, LLC

Re: Add Previous ItemRevision to Workflow Target/Reference

Thanks Arden for your reply. But this is what exactly we do not want to use. There are many occassions where the users create a new revision from a older revision which would result us in unexpected results.

Re: Add Previous ItemRevision to Workflow Target/Reference

Then you'll have to resort to ITK and a custom handler to do what you want.

Arden Bedell | Teamcenter Wonk | Applied CAx, LLC