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.