Changing value in parent table based on Related Child

I have a parent โ€œOrdersโ€ table and a children [Order Items] referencing โ€œOrder Detailsโ€ table of which both tables have โ€œStatusโ€ columns. I have an action โ€œFulfill Orderโ€ on the parent which fulfills the order and its [Order Items] children.

I have defined a โ€œFulfill Itemโ€ action on โ€œOrder Detailsโ€ table which does partial fulfillment on orders, and created a Bot that watches for โ€œFulfilledโ€ Status updates on that table with a condition that "If the count of [Order Items] is equal to the count of โ€œFulfilledโ€ โ€œOrder Detailโ€ of that Order then set the Order Status to โ€œFulfilledโ€. The condition works but Order Status is never updated.

0 1 138
1 REPLY 1

Show more details, like EVENT, PROCESS, STEP

Top Labels in this Space