Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has Not Learning Unit Constraints funktionieren nicht richtig #12

Open
Kauzig opened this issue Feb 11, 2015 · 1 comment
Open

Has Not Learning Unit Constraints funktionieren nicht richtig #12

Kauzig opened this issue Feb 11, 2015 · 1 comment
Assignees
Labels

Comments

@Kauzig
Copy link
Contributor

Kauzig commented Feb 11, 2015

Scheinen immer ausgeführt zu werden, unabhängig davon ob die Learning Unit Class vorhanden ist oder nicht.

@Kauzig Kauzig added the bug label Feb 11, 2015
@Kauzig Kauzig self-assigned this Feb 11, 2015
@Kauzig Kauzig added this to the equeo Release 1 milestone Feb 11, 2015
@Kauzig
Copy link
Contributor Author

Kauzig commented Mar 3, 2015

Not constraints müssen für jeden Fakt einzeln definiert werden:

rule "3b5cc3d5-4f31-450d-91af-349dd0eb958d" { 
    when {
        not(c1 : ContextInformation c1.id == 'CI_CURRENT_TIME' && c1.value > '09:00:00' && c1.value < '16:00:00');
        not(c2 : ContextInformation c2.id == 'CI_USER_ROLE' && c2.value == 'STUDENT');
    } then {
        emit("restrictFeature", "AppUsageFeature", facts);
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant