I currently have a workflow which is triggered when a certain decimal field is changed.
Is it possible to get the difference between the old and new values via a workflow?
I currently have a workflow which is triggered when a certain decimal field is changed. Is it possible to get the difference between the old and new values via a workflow? |
||||
|
Finally had the time to test this, and it is perfectly possible to retrieve the pre values in a workflow using a workflow assembly. Here's what I did: I created a workflow on Contact, with a trigger on LastName. The workflow contains a reference to the field lastname, and a custom workflow assembly. I opened a contact and changed it's lastname from 'Foo' to 'Bar' Code of the custom workflow assembly:
And this was the output: writing workflow assembly lastname pre image value: Foo Hope this helps anyone in for future use. |
|||
|