How to use the get jobs activity by environment name?

The example the Documentation gives is with the Environment ID, but how do I use in the get jobs filter by Environment Name?
The documentation shows:


and the link is: Jobs Requests

Try this UiPath

I didn’t perform any tests, but logically, that could be it.