4 Replies Latest reply on May 16, 2014 9:04 AM by Francisco Amores

    Urgent:- FDM validation rule

    944384

      Hi all,

      I have FDM 11.1.2.1, i want to execute the Validation rule and if it fails. the Check report has to pass the error message as shown below.

      the


      Rule:

      Fun:

      If  Abs(|Scenario1,,,,,,12345,[ICP TOP],TotalCustom1,TotalCustom2,TotalCustom3,TotalCustom4,,,,,,,,,,,,,,,,|-|Scenario2,,,,,,12345,[ICP TOP],TotalCustom1,TotalCustom2,TotalCustom3,TotalCustom4,,,,,,,,,,,,,,,,|) > 5 Then

      RESULT = False

      RES.PstrCheckMessage1 = " Execute 'CHECK report'"

      RES.PstrCheckMessage2 = "Located in the path ********** "

      Else

      RESULT = True

      End If

       

      Display:

      (|Scenario1,,,,,,12345,[ICP TOP],TotalCustom1,TotalCustom2,TotalCustom3,TotalCustom4,,,,,,,,,,,,,,,,|-|Scenario2,,,,,,12345,[ICP TOP],TotalCustom1,TotalCustom2,TotalCustom3,TotalCustom4,,,,,,,,,,,,,,,,|)

       

       

       

      when i execute the rule i nthe TEST tab on VALIDATION EDITOR.

      Expression: display as above.

      Expression after lookup:

      If Abs(0--408642178) > 100 Then

      RESULT = False

      RES.PstrCheckMessage1 = " Execute 'CHECK report'"

      RES.PstrCheckMessage2 = "Located in the path ********** "

      Else

      RESULT = True

      End If

      Lookup Errors: No Errors

      Expression Result : False.

       

      the result looks good, but i am not getting the error messages for the False condition.

      Can someone please help me, how can i publish that false error message. and where does it appears? in the Check repeort or as an MSGBOX

       

      With Regards

      Kath