Current Committee as the name implies is the current committee.
Similar to say a government.
There is the current government & there may be past governments.
What I want is that I only want to select department / complaint owners from the current committee / government.
I hope that answers your question.
Attach files with useful information
Do not flood a topic with all the output of your application. Attach additional information like logs and screenshots as files. It is recommended to use GitHub if you want to share a project. Alternatively you can pack a project to ZIP using the built-in zipProject Gradle task and attach it to a topic.
Thanks you for your replies Mario.
Having some issues with the gradle project.
So, am attaching some screenshots.
Let me know if anymore information is needed.
Entities specify the Entities that I have used.
Data, so that explains the situation.
So if you look at the data.
There are 2 Committees
First Committee - isCurrentCommittee is false. Has one member
- Taranjeet Chabbra
Elected Committee - isCurrentCommittee is true. Has one member
- Satish Inamdar
In the ComplaintOwnerSelection pic. I am trying to set an owner for each Complaint Category.
Here when I select the Committee Member, the members need to come only from the Committee which has isCurrentCommittee set to True. (“Elected Committee” in this case).
So, I should only see “Satish Inamdar” in the dropdown.