Check Sourceable Check Box on REQUEST

Rocky5
Kilo Sage

Hello Experts,

I have a checkbox field (sourceable) on REQUEST, I want it to be checked when any one of the RITMs under that REQ are approved. 

How can I achieve that? Please help me with the script.

Thanks,

Rocky.

1 REPLY 1

Brian Lancaster
Tera Sage

Hopefully you are setting the approval field on the RITMs to approved in the workflow. If you are you just need to what a BR that when approval changes to approved lookup the REQ and set the field to true.

Edit:

So it is not always running you could probably do a condition of Approval is approved and request.sourceable is false.