Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9826

Add ability to disable seca rule

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Trivial
    • Resolution: Unresolved
    • None
    • 17.12.01
    • None
    • None

    Description

      We have enabled flag in ServiceEcaRule class, if its set false then seca rule will not be execute.
      But there is not way to disable seca.

      We can add enabled flag in SECA definition to disable the existing seca rule.
      Here is the proposal:

      • Add new attribute on seca tag named enabled
      • Default value will be true for this.
      • If user want to disable existing OOTB seca rule, then user can define same rule in custom component and set the enabled=false
      • Need some changes in code to honor the enabled attribute while loading seca rule.

      Also as per current flow if same seca rule is define more then once, system will execute all the rule, ideally it should not execute same rule (same rule, condition and action) if its defined more than one.

      Attachments

        1. OFBIZ-9826.patch
          2 kB
          Deepak Dixit

        Activity

          People

            Unassigned Unassigned
            deepak Deepak Dixit
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: