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

adding a conditional rule based on a value in a field? #108

Open
mkoo opened this issue Dec 11, 2020 · 2 comments
Open

adding a conditional rule based on a value in a field? #108

mkoo opened this issue Dec 11, 2020 · 2 comments
Labels
Geome-db transferred or better suited to one of the Geome-db repo

Comments

@mkoo
Copy link
Member

mkoo commented Dec 11, 2020

@jdeck88 Is it possible right now to add a Geome-db Rule based on a value in a field?
Specifically, if basisOfRecord= PreservedSpecimen, require values in collectionCode and catalogNumber (i.e. do not allow NULL)

I tried below but not quite enough!

RequireValueIfOtherColumn | ERROR | column: basisOfRecord  otherColumn: collectionCode
-- | -- | --
@mkoo mkoo added the question Further information is requested label Dec 11, 2020
@jdeck88
Copy link
Member

jdeck88 commented Dec 11, 2020 via email

@mkoo
Copy link
Member Author

mkoo commented Dec 11, 2020

ok that's what I thought!
Done. new issue at biocodellc/geome-db#47

@mkoo mkoo added Geome-db transferred or better suited to one of the Geome-db repo and removed question Further information is requested labels Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Geome-db transferred or better suited to one of the Geome-db repo
Projects
None yet
Development

No branches or pull requests

2 participants