-
Notifications
You must be signed in to change notification settings - Fork 22
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
Need params.entityContext available in old style rule #1234
Comments
@nupoorkhandelwal |
@petmongrels |
EntityContext not available when adding a member to a group. https://github.com/avniproject/ihmp/blob/master/registration/rules/registrationHandler.js#L29 Change method to
Use ihmp on staging, go to a group and try to add an member. Variable is empty |
|
@petmongrels we need not do this until implementation team gets back after trying with new rules. We can discuss in standup what to do with the code change |
@vinayvenu you mentioned you will check something on this. continuing to release since not a blocker |
since this is complex to implement, we decided to write via new rules when such a usecase comes up |
Currently, in one of the old rule implementation we need to access the Household's observations ie. Group information during the registration of a member registration, in order to achieve this we need to access entityContext in the rule.
Background context:
entityContext was introduced an year ago to make groups of individual available in rules. Looks like it is not available/accessible for old rules.
The text was updated successfully, but these errors were encountered: