Can anyone help me with this? I think I should give some more information about what I'm doing. I have a process definition which includes a receive task. When I instantiate this definition I have code that tries to query the current excution id, but it returns null. If I try to query after the receive task has paused the process, then it returns the active running instances of my process, but I need to get the execution id, before the process pauses at the receive task. Which classes should I be looking at for this problem? Any advice at all on what I should try? Thank you so much.