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

Access PriorValue of trigger object in an Action in Process Builder
Hey all,
Anybody taking the Process Bulider for a walk yet? (I've heard it called the Process Builder, Visual Workflows, etc).
I'm trying to do something I do a lot in code; drop some breadcrumb objects when an object moves between two states. To do this, I link to the object changin and set a "From" and "To" filed value. In apex, I do this in a before update trigger and grab the values from oldMap and newMap.
In the process bulider, I can access "Priorvalue" in a decision block. During the "Create" action, however, I can't get at the old value; I only have access to select [Object].field, or to "hard code" the value I want to go into the field.
Anyone else out there trying to do something similar?
Anybody taking the Process Bulider for a walk yet? (I've heard it called the Process Builder, Visual Workflows, etc).
I'm trying to do something I do a lot in code; drop some breadcrumb objects when an object moves between two states. To do this, I link to the object changin and set a "From" and "To" filed value. In apex, I do this in a before update trigger and grab the values from oldMap and newMap.
In the process bulider, I can access "Priorvalue" in a decision block. During the "Create" action, however, I can't get at the old value; I only have access to select [Object].field, or to "hard code" the value I want to go into the field.
Anyone else out there trying to do something similar?
All Answers
https://help.salesforce.com/apex/HTViewHelpDoc?id=process_action_flow.htm&language=en_US