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

Add support for temporal conditions in rules #124

Open
dfunckt opened this issue Feb 23, 2018 · 0 comments
Open

Add support for temporal conditions in rules #124

dfunckt opened this issue Feb 23, 2018 · 0 comments

Comments

@dfunckt
Copy link
Member

dfunckt commented Feb 23, 2018

This is useful to determine staleness of a record. Here's a contrived example:

Term: status
  Concept Type: Short Text (Type)
Term: update timestamp
  Concept Type: Date Time (Type)

Term: operation
Fact type: operation has status
  Necessity: each operation has exactly one status.
Fact type: operation has update timestamp
  Necessity: each operation has exactly one update timestamp.

Rule: It is necessary that each operation that has a status that is equal to "success", has an update timestamp that is at most 5 minutes ago.

Ref: https://www.flowdock.com/app/rulemotion/platform/threads/xm_QlDi3QQRDdoo3qcwOZ8bEZeE

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

No branches or pull requests

1 participant