Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello all,
I am looking for a full code which will help me to get equivalent link status between upstream part to downstream part
Hi @AK_10813265
Here are a queries that collect upstream from downstream and opposite way
You just process the results in a loop. The query should contain Vector with a link and a wtpart
//how to get downstream links from WTPart
QueryResult qrDownStream = PersistenceHelper.manager.navigate(wtPart,EquivalenceLink.DOWNSTREAM_ROLE,wt.associativity.EquivalenceLink.class, false);
//how to get upstream links from WTPart
QueryResult qrUpStream = PersistenceHelper.manager.navigate(wtPart,wt.associativity.EquivalenceLink.UPSTREAM_ROLE, wt.associativity.EquivalenceLink.class, false);
PS> if the EquivalenceLink is out of date, then the link is on non latest iteration. So the latest does not have a link.
PetrH