You need to sign in to do that
Don't have an account?

how to update a field without using workflow or PB?
Hey guys,
I am trying to update a field on a master object based on couple of values(criteria needs to be if X=5(on the header - thats when it should fire), then check if Y(at line level) is equal to 6 and then come back to header and update Z = 7) .
If yes then update checks that need to be performed) in the line level. I don't want this to fire on creation/edition of the record but rather when the particular criteria met(In my case as soon as X=5). So, basically PB and WF are out of picture I guess, since they fire only when the records are edited or created.
Am I overcomplexing this?

If you are using VF page you may try by using action poller