ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brohl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9826) Add ability to disable seca rule
Date Fri, 13 Oct 2017 14:04:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203602#comment-16203602
] 

Michael Brohl commented on OFBIZ-9826:
--------------------------------------

+1

> Add ability to disable seca rule 
> ---------------------------------
>
>                 Key: OFBIZ-9826
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9826
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Deepak Dixit
>            Assignee: Deepak Dixit
>         Attachments: OFBIZ-9826.patch
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message