Warn a User if it attempts to Close an Order that has lines not Shipped

Hi experts,
I’d like to ask if anyone has encountered a situation where a user accidentally voided an order.

I’m working on adding a confirmation message as an extra safeguard, and I’ve managed to set up most of it. However, I’m having trouble creating a condition that triggers the confirmation only when the order has lines that haven’t been shipped yet.

Just checking if somebody can help here :slight_smile:

On the BPM Data form is a Yes/No which would ask user if they are sure.