I need your help urgently to resolve this matter as it must be deployed within a few hours. I've developed a JE Approval workflow that functions smoothly up to the Rejected state. However, the transition to the next state (Rejected After Submit) should only occur when a user edits the Journal Entry and submits it again. I've set up the transition on "After record Submit," but it doesn't seem to be working as intended.
In the Rejected state, the "Re-Submit for Approval" button should only be visible when the user edit the record and submit. However, currently, it becomes visible as soon as the transition reaches the "Rejected" state and then immediately transitions to the "Rejected After Submit" state. I want the entry to remain in the Rejected state until the user edits it, at which point the "Re-Submit for Approval" button should appear.
Below is my workflow: