Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Let the user create new fc-rules

Help
malala
2011-05-23
2013-05-17
  • malala
    malala
    2011-05-23

    Hi,

    I want to let user add their new fc-rules for a system before compiling .kfb files. But I'm having difficultis to build the rule in .kfb -file.

    Lets say I want to let user add this rule to a permanent rulebase:

    rule_1
        foreach
            system_fact.fact_1($time, $stamp, $status)
            check $status == "nok"
        assert
            system_fact.case_fact_1($stamp)

    Is there a simple way to add this?

    Thanks for you help

    mala