none
BRE isue RRS feed

  • Question

  • I have one schema which have following structure

     <cmp:Coverages>     <cmp:PerPersonPerAccidentCoverage Code="2" PerPerson="20000" PerAccident="40000" OrignalPerPerson="1" OrignalPerAccident="1" IsBumped="fasle"/>     <cmp:PerPersonPerAccidentCoverage Code="27" PerPerson="20000" PerAccident="40000" />     <cmp:Coverage Code="6" Value="15000" />  </cmp:Coverages>

     

    I want a rule like

    IF Coverage Code="6" and Value="15000"

    THEN

    UPDATE  

    PerPerson="800" PerAccident="400" OrignalPerPerson="120" OrignalPerAccident="501" IsBumped="true"

    Only for perPersonPerAccidentCoverage Code="2”   NOT for  PerPersonPerAccidentCoverage Code="27"

     

    The only problem I am facing I can’t put any condition in ACTION Pane (So that it only update where perPersonPerAccidentCoverage Code="2”   

    Please let me know how to handle it 

    Thursday, July 9, 2015 9:44 AM

Answers

  • Hi,

    Why don't you add these conditions to the rule condition?

    IF Coverage Code="6" and Value="15000" and perPersonPerAccidentCoverage Code == "2"

    THEN

    UPDATE  

    PerPerson="800" PerAccident="400" OrignalPerPerson="120" OrignalPerAccident="501" IsBumped="true"

    Regards


    When an answer is helpful, please vote as helpful, propose as answer and/or mark as answer

    • Marked as answer by Angie Xu Tuesday, July 14, 2015 5:27 AM
    Thursday, July 9, 2015 11:28 AM

All replies

  • Hi,

    Why don't you add these conditions to the rule condition?

    IF Coverage Code="6" and Value="15000" and perPersonPerAccidentCoverage Code == "2"

    THEN

    UPDATE  

    PerPerson="800" PerAccident="400" OrignalPerPerson="120" OrignalPerAccident="501" IsBumped="true"

    Regards


    When an answer is helpful, please vote as helpful, propose as answer and/or mark as answer

    • Marked as answer by Angie Xu Tuesday, July 14, 2015 5:27 AM
    Thursday, July 9, 2015 11:28 AM
  • Hi ohawari,

    Thanks for your reply , and it is working as expected

    Thanks

    manoj


    Tuesday, July 14, 2015 8:35 AM