Hi,
I'm new to Outsystems and currently on learning part. I have created a sample Leave request app. This App have 4 types of leaves (Sick leave, planned leave, unplanned leave, bereavement leave) . Sickleave and planned leave is approved by approver1 and the remaining two leaves are approved by approver2. If an employee takes leaves more than 1 day it needs two level of approvals like another superadmin. I have created all the logic , but in the superadmin screen I can't able to view leaves. I will provide the logics and screen snip below. Anyone can help me on finding the issue?
Hello.
You can also share the full oml, it would be easier to find and replicate the error.
From top of my mind, you should check the aggregate that is retrieving the leaves.
Nuno is correct , you should share this sample oml. by the way you can debug this:
Go to the SuperAdmin screen aggregate (the query where leaves are fetched).
Check the filter — confirm that it includes the SuperAdminApproval status ID in the condition and ;leave count more than 2.
Add some temporary feedback messages or debug logs after your UpdateStatusToSuperAdminApproval action to confirm that the correct status is being set.