DD BPM Custom Code - Synchronous vs. Asynchronous

Lots of posts about that. Grab your variables that you need first, then use that to filter.