cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Is there a way to check whether next-level relationship exists for a Node?

nchullip
3-Newcomer

Is there a way to check whether next-level relationship exists for a Node?

I am trying to create a custom recipe for my report in PTC Integrity.

 

The below is a snippet of my recipe

<%beginrelationshipdetail Query [walkdocordered[<%builtin ID%>]]%>

 

<%beginrelationshipdetailL2 Implements%>

<script>

// Do this only if Level 2 relationship exists

</script>

<%endrelationshipdetailL2%>

 

<%endrelationshipdetail%>

 

In one scenario, there is no "Implements" relationship. So the code under Level2  relationship is not executed. Is there a way I can check whether the next-level relationship exists before-hand.

 

I am a newbie to Integrity recipes. My apologies, if this question is very basic.

Thanks in advance.

0 REPLIES 0
Announcements


Top Tags