Quantcast
Channel: DHIS2 Community - Latest topics
Viewing all articles
Browse latest Browse all 1886

Issue with "Prevent Adding New Events to Stage" Not Working in Program Rule

$
0
0

Hi everyone,

I have a Tracker program with two stages:

  1. Screening
  2. Follow-up

I want to stop the Follow-up stage if BP Classification = “Normal”.

What I Did:

Created a program rule with this condition:
d2:hasValue(#{bp_classification}) && #{bp_classification} == “Normal (<120/80 mmHg)”

Actions applied:
Show Error → Works
Prevent Adding New Events to Stage→ Not working

Issue:

Even when BP Classification is “Normal,” users can still add a Follow-up event.
Tried Solutions:

Cleared cache and refreshed metadata
Tested in both Tracker Capture & Capture apps
Tried different conditions but no change

Has anyone faced this issue? How can I fix it? Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1886

Trending Articles