Geoprocessing tasks have many settings and properties; here, we will highlight some of the more important ones:
- Parameters:
- Execution mode: Synchronous means the client application waits for the task to finish before anything else can be done. This is typically reserved for quick tasks taking 5 seconds or less. For longer running tasks, choose Asynchronous, where the client application does not wait, but must have logic in place to poll the task periodically (every second, for example) to check for and get the results.
- Properties | Message Level: Whether or not to return messages of varying levels to the client upon task execution. The default is None and is recommended for production environments, ...