Approval Processes Issue

Approval Processes Issue

Hello,

I have a significant issue that could potentially cause serious problems for our company.

We have developed a new module that we use as a payment request module. In short, payment requests are made through this module and are approved by different individuals depending on the department.

Now, I'll explain how the approval logic is configured and describe the issue.

The payment request module we created includes several fields to be filled out, and the issue lies with the Process status field, which contains various statuses such as:

  • Confirmed by the head of the department
  • Confirmed by the director
  • And finally transferred

This field is automatically updated based on the Action(s) upon Approval logic. When the initiator submits a request, it is automatically sent to the department head for approval. Once approved by the department head, the status is automatically updated to reflect their confirmation, and the request proceeds to the director for approval. After the director's approval, the request is automatically sent to the accountant, and only after the accountant's approval should the process status change to "Transferred."

The issue is that, in some cases, the payment request status is being set to "Transferred" immediately after the director's approval, without reaching the accountant for final approval. This means that some requests are being marked as "Transferred" without the accountant's confirmation, which should be the final approval step.

This problem does not occur consistently but happens occasionally when the second person (the director) approves the request. The Process status field is locked for manual edits, meaning no one can change it manually.

What could be causing this issue when I can see that, in some cases, the status is marked as "Transferred" immediately after the director's approval, bypassing the accountant's approval?

Please see the attached screenshot for reference.

Thank you.