Hello everyone!!!
These days I’ve been working with programRules, and I need to validate the form according to the programRules. However, I want to know if there is a library for programRule validation? where I could pass the values of the variables and it would return the result of the programRule condition.
Thanks
3 Likes
Gassim
(AL-Gassim Sharaf Addin)
19 December 2022 10:17
2
Hi @EdsonNhancale
Welcome back to the community!
This is a really nice idea for a dhis2 custom app, maybe? Or a feature request!
Personally, I have used https://regex101.com/ to test the rules or keep testing on any play.dhis2.org instance.
Ulanbek
(Ulanbek)
28 April 2023 15:45
3
Hi community, @software_developer20 , @dhis2-tracker
I have similar interests, if there is a way/library to run program rules?
It would be really great to build own tracker data entry apps.
Thanks
Regards,
Ulanbek
1 Like
Gassim
(AL-Gassim Sharaf Addin)
1 May 2023 08:31
4
@Ulanbek thanks for your comment!
Please see here Program rule engine - DHIS2 Documentation
Developers can use the API and make use of the program rules engine.
1 Like
Ulanbek
(Ulanbek)
2 May 2023 09:49
5
Thank you @Gassim for the information!
1 Like
@enrico can probably provide a lot of info on the topic.
2 Likes