Data approval error default category combination

Current user is admin with access to the workflow and workflow level and data set.

I do have an approvals, approval workflow and approval group all set. I can initiate the approval process. However, when I try to accept the approval, I get error attached below.
Data Approval _ DHIS2

I have checked my log file it shows the error:

validateAttributeOptionCombos: attribuetOptionCombo HllvX50cXC0 not valid for workflow I2XMQYSoPur

HllvX50cXC0 : dhis2 default category
I2XMQYSoPur : This is my workflow.

My present understanding about default is that the default category combination is inbuilt and should not be a problem. Secondly, I have not used the default data type/category

Here is the default category combination.
Default

I forgot to mention that I am running dhis2 version 2.41.0.1, Ubuntu 24.04 LTS

Hi @Gabriel_Oduori. What you are seeing relates to a DHIS2 feature that is no longer supported by the current Data Approval app. (This feature is still supported in the backend and usable through custom-built approval apps for implementations that have them, but is not supported in the frontend by the current standard DHIS2 approval app.)

The feature allows approvals of data sets that use attribute option combinations. When a data set specifies a non-default categoryCombo (for example Partner, or Partner/Project), then the data for that data set is entered for a particular categoryOptionCombo belonging to that categoryCombo (for example a particular partner, or a particular partner/project combination).

During data, you can select the combination of options for which you are entering such data. In the first data approval app, you could also select the combination of options for which you are approving the data. The data is approved separately for each category option combo (for example for each individual partner or each combination of project/partner).

The current data approval app only supports approving data for the default category option combo. Therefore it doesn’t work to approve data for non-default category option combos.

The error message that you saw in the backend happens when you are using a workflow that contains no data set using the default category option combo. If you look at the data set(s) belonging to that workflow, I believe you will find that they do not have the default category combo assigned to them. Such data cannot be approved with the current approval app.

The backend error message that you reported means that the default category option combo is not valid for this workflow because the workflow does not have a data set belonging to it that uses the default category combo.

1 Like