We have written 'AftValidate' event script which triggers a mail with Pass status when Validate status is '11' and Fail status when code is '12'
When we have source members which do not hv target member defined (unmapped member), code is set to 12 and we get mail with fail status,
But, the issue is when we have invalid intersection report, code is set to 11, and mail is triggerred with Pass status.
Is there any way, we can hv failure mail getting triggered if we have invalid intersection.
Quick help on this is appreciated.Thanks in advance
the intersection validation report is executed after the AftValidate step is executed. If there are intersection validation errors you will get Validate status as SUCCESS as there were no unmapped items.
You cannot capture intersection validation errors from AftValidate as the report is executed after that Event script is executed.
I guess you will have to adjust the CHECKINTERSECTIONS Acton script in order to send email if there is any error.
Hope that helps
Thanks Amores on your interest on this.
I'm still trying to get this:
As first step, I have included the code which sends mail (which is included in AftValidate script in CHECKINTERSECTIONS Action script, but still do not see a failure
message when we have invalid intersections