How to create a relation with the part revision as primary object and the document dataset as secondary object in mendix?

0
 Hi  I had mapped one Custom Revision object 1 in mendix using TC Extension  and another  Custom Revision object 2 also mapped using Tc extension. It is generated required microflows. Now i want to give relation between primary object of custom revision object 1 and custom revision object 2 as secondary object then I want to search Using Revision Object 1 and get some part Revisions .Then i want to read attached documents for Revision object 1  of part revisions ,here the attached documents of part revisions are Custom revision object 2 .If the existed documents are not found then I want to create object, relation type with Custom revision object 2 then attach the newly document to the Custom revision object 2 and link to primary object  and it should be reflected in the Teamcenter as well.    Untill searching the item getting the part revisions of primary object i can do but Iam not getting how to giving relation to secondary object then fetching existing documents if its not found then creating object with relation type for secondary object and attach document to it and link to primary object and save it to Teamcenter as well.   Please anyone help me to achieve this.   Thanks in advance! Harika
asked
0 answers