How can I ask the engine via REST request for process instances where the token is on a specific gateway or on a specifc timer inside a process model.
Hi - timers and event gateways in the process definition are considered an “activity” and have an associated “activityId”. So in below screenshot, the timer activity id is
If you want to get all process instances where the token is sitting on
timer-1, for example, you can use the process instance API and filter by activityId.