Definition and Usage
The stop task command in a workflow is used to halt the execution of a specific Octoparse task. It terminates the further execution of the task immediately and does not allow any subsequent tasks to be executed.
Note: A Stop task command must be used with an Octoparse Login command.
Parameters Values
Set parameters
Parameter | Description |
Account | Select an Octoparse account |
Task ID | Enter the Task ID for the target Octoparse task |
Error handling
Parameter | Description |
When error occurs | Specify the action to proceed when an error occurs |
Example
This particular workflow will initially (1) log into the designated Octoparse account and store the access token within the specified variable Octoparse_account
. It will then proceed to (2) stop the designated task from said account, then the workflow will end.