changes(), changesTo(), changesFrom() working in async BR when added in condition field of the BR. Is this an expected behaviour?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2017 01:47 AM
changes(), changesTo(), changesFrom() working in async BR when added in condition field of the BR. Is this an expected behaviour?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2017 03:46 AM
Hi Upasana,
Async BR always runs 'after' the transaction, and it does not have access to 'previous' object as there is no way to define when it will run and there might me more updates to the record in the meanwhile.
But the condition is evaluated instantly hence in the condition changeTo and changesFrom work there.So at the time when condition is evaluated it knows what is the change exactly(from and to)
Once qualified the script is added to run into pipeline.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2017 03:52 AM
I did not understand the question initially (condition part). What you are suggesting makes sense.