BPM Change value if updated

,

Hi,

Need help, becouse Iā€™m stuck.
I got a task to make a checkbox(Active) on customer shipto. This check box should indicate if ShipTo address is active or not. BPM sould uncheck this checkbox if any changes/updates made on customer shipto tab. I buit Preprocessing Method directive with condition there is at least one row updated and if true set field to FALSE. But the fun part is that if you check checkbox manualy it is allso an update, so BPM flags checkbox to false :slight_smile: . I think I need another condition before, which would check stored value in the database and if it FALSE then rest of BPM should do nothing, but there is no standart conditions to compare ttTABLE with dbTable, probably custom code needed, any one can point me to the right direction?

Condition:
If there is at least one updated row
AND
ttShipTo.Active_c = false

Set:
ttShipTo.Active = true

1 Like