We have a custom bill approval workflow. When an a...
# general
l
We have a custom bill approval workflow. When an approved bill is edited and saved, it goes back to pending approval. Basically, there is a transition from Approved state to Pending Approval (triggered on after record submit). Now we would like to stop the re-approval if the user just edits the Payment Hold field. 1. We don't want to compare the old value and new value of every single field other than Payment Hold. 2. I've tried adding a button to mark or unmark the Payment Hold button so the user doesn't need to edit and save the Bill. But this still triggered the after record submit transition back to Pending Approval state. Is this even possible?
m
Create a custom checkbox labeled “record has changed” Use before user edit trigger to set this checkbox to True Add an after field edit trigger to set the checkbox to false where the triggering client field is payment hold Then add a condition to your transition of record has changed = True
Oh wait this may have a gap
What do you want to happen if they change multiple fields AND payment hold all at once?
l
If they change multiple fields and payment hold all at once, it should go through re-approval as they changed fields other than payment hold.