You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Audit History

Accepted answer
48
Views
1
Comments
edited Jun 7, 2022 1:20PM in General Technical Discussions 1 comment

Summary

Need to capture the previous and new value for the fields(standard and custom)

Content

Need to capture the previous and new value for the fields (both standard and custom). We have tried using prev, but it is not working.

If(isset($inc->prev))

{

$inc->prev->StatusWithType->Status->Id;

}

Please advise. 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!