Skip to main content

Run task

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Start a cloud task run in Octoparse. This command allows you to initiate the execution of one or multiple tasks in Octoparse by specifying their task IDs.


Parameter Values

Input parameters

Parameter

Description

Required

Options / Notes

Octoparse account

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

Yes

You must first authenticate using the "Log in to Octoparse" action to obtain a valid access token

Task ID

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

Yes

Multiple task IDs can be entered using semicolons as separators

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 task IDs based on values calculated or retrieved earlier in your workflow. When using variables, ensure they contain valid task ID formats that Octoparse can recognize.


Notes

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

  • The task IDs must be valid and accessible with the provided Octoparse account credentials.

  • For batch processing multiple tasks, separate each task ID with a semicolon (;).

  • The cloud task execution may take time depending on the complexity and size of the targeted tasks.

  • Internet connectivity is required for this action to communicate with Octoparse cloud services.

Did this answer your question?