How to find task id which are going to execute

hi every one

would you please help me with, how to find task id or ids within provision which are going to executed or send to device in connection request or periodic events .

thanks.