Skip to main content

Stop task

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Stop task allows you to stop a running cloud task in Octoparse. This command is useful when you need to terminate ongoing data extraction tasks in your Octoparse account.


Parameter Values

Input parameters

Parameter

Description

Required

Options / Notes

Octoparse account

Select an access token obtained by "Log in to Octoparse"

Yes

Must be authenticated with Octoparse before using this action

Task ID

Enter Octoparse task ID(s) to check (separate multiple IDs with ";")

Yes

You can stop multiple tasks by separating IDs with semicolons

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

You can use variables in the Task ID field as indicated by the {x} icon. This allows you to dynamically specify which tasks to stop based on values calculated or retrieved earlier in your workflow.


Notes

  • Before using this command, ensure you have successfully logged into Octoparse using the "Log in to Octoparse" action.

  • Make sure the task IDs you provide are valid and exist in your Octoparse account.

  • The task must be in a running state for this command to have an effect.

  • If a task is already stopped, the command will not produce an error but will have no effect on the task status.

Did this answer your question?