Quantcast

[rules-users] EXCEL CELL into Drools

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[rules-users] EXCEL CELL into Drools

shrestha.gopu
I want to convert this format in Drools, how can I do this?

Excel sheet format
rule# CONDITION VARIABLES/FIELD
345 IF M_DATE less than T_M_C_1107_DATE AND
                        FACE_CODE eq 'C' AND
                        TEMP_PRODUCT_TYPE IN 'LARM', 'SARM' AND
                        PROG_DR_INDICATOR eq 'Y'
                        PROG_FN_INDICATOR eq 'Y'

        THEN MESSAGE_15_FLAG = 'YES'
                        MESSAGE_101_FLAG = 'YES'




EXPECTED..............
Rule name " 345"
When
        M_DATE less than T_M_C_1107_DATE AND
        FACE_CODE eq 'C' AND
        TEMP_PRODUCT_TYPE IN 'LARM', 'SARM' AND
        PROG_DR_INDICATOR eq 'Y'
        PROG_FN_INDICATOR eq 'Y'
Then
        MESSAGE_15_FLAG = 'YES'
        MESSAGE_101_FLAG = 'YES'

End


_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Loading...