laptop and a wrench

Bogue

The Select Layer By Location geoprocessing tool does not make any selections when run as a scheduled tool.

ArcGIS Pro
Numéro d’ID de bogue BUG-000164502
EnvoiJanuary 22, 2024
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée3.2.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

The scheduled task runs outside of the ArcGIS Pro context (in a Python script). These can be seen at %localappdata%\ESRI\ArcGISPro\Geoprocessing\ScheduledTools. The tool runs and updates a selection on the layer in the script, which is not the layer in the map within the ArcGIS Pro session. If the intent is to use the selection for further processing, then do so by authoring the workflow in a model and scheduling that model to run. If the entire workflow's output is a selection on the layer, then the final step of the workflow could be to save the selection to a new feature class (using the Export Features tool). Alternatively, the Python script could be modified to use arcpy.mp to open the relevant ArcGIS Pro Project (.aprx) file and update the selection on that document.

Étapes pour reproduire

ID de bogue: BUG-000164502

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement