Temporal tasks and code execution

Hello,

Let’s say a workflow was waiting on something to be true, and when it was unblocked it continued executing non-blocking statements, as calling a helper class and updating the state.
I can not see in the history a workflow task scheduled for these non-blocking statements? What and how are they actually executed? How does this differ from an activity call?

Best,
Nicolas

Check this out: https://www.youtube.com/watch?v=PqCkdACiGY4