Procedure executions can be queried only by the ObjectID from the trigger of the procedure execution. You cannot query by ExecutionID. To query an ObjectID to return the expected procedure execution, the ObjectID in the trigger event must have been recorded within at least the last three days and at most the last seven days, since this is the maximum amount of time those values are stored. Furthermore, the ObjectID in the trigger must have been generated by a polling or webhook event. If you manually triggered a procedure, then this query by ObjectID cannot locate the event and no procedure executions will be returned by the query.
Refer to this short recording as an example. In this scenario a poller is running and receives a new event that triggers a procedure execution; the objectId from the poller event aligns with the procedure execution trigger and a query retrieves the expected procedure execution. Note that if you have a Notified event that contains multiple ObjectId’s in the events array then a query of Procedure Executions for any one of those ObjectIds will result in all procedure executions being returned that are associated with that entire Notified event. The procedure execution query retrieves executions based on the event level.