Skip to main content

Update task

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Updates action parameters in Octoparse task steps. This command allows you to modify the content or configuration of specific actions within your Octoparse tasks programmatically.


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 before using this action

Task ID

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

Yes

Multiple task IDs can be specified using semicolon as separator

Action ID

Enter an Octoparse task action ID

Yes

Identifies the specific action to be updated

Update content

Enter the new text content for the action

Yes

The content that will replace the existing action parameters

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

Parameters marked with {x} icon support variable insertion. You can use previously defined variables in these fields by clicking on the {x} button and selecting the desired variable. This is particularly useful when you need to dynamically update task actions based on data obtained from previous steps in your workflow.


Notes

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

  • The Task ID must be valid and accessible with your Octoparse account credentials.

  • The Action ID must correspond to an existing action within the specified task.

  • This command only updates the parameters of existing actions; it cannot create new actions or delete existing ones.

  • Make sure the update content follows the expected format for the specific action type being updated.

Did this answer your question?