We would like to create a Site-Defined Condition Macro that would check if a Change Order's Risk Survey had been completed or not.
We are using r12.6 and the only attribute on the chg that relates to this is the submittedSurvey BREL (which of course is an array that will have 0 or more items)
On a form definition we would code something like if($chg.submittedSurvey,length > 0) ... but we can't put that in an Activity Association so we can reference it in a Site-Defined Condition, can we?
I tried just creating an Activity Association for the attribute submittedSurvey and then in the Condition Macro seeing if it was Empty/NULL or not, but that doesn't seem to have worked.
Any ideas?