Skip to main content
[Command] Update task
Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

The update task command is used to modify or revise the details of a specific task. It allows users to make changes to attributes, such as due dates, assignments, status, or any other relevant information associated with the task. This command ensures that the information in the task is kept up-to-date and can be effectively managed within the workflow.

Note:

  • An Update task command must be used with an Octoparse Login command.

  • Types of data can be updated in an Octoparse task:

    • URL in the Go To The Web Page action

    • Text value from the Enter Text action

    • Text or URL list from the Loop Item action


Parameters Values

Set parameters

Parameter

Description

Account

Select an Octoparse account

Task ID

Enter the Task ID for the target Octoparse task

Action ID

Enter the Action ID of the target Octoparse action

Value to update

Input the value to be updated in the target action of the specified Octoparse task

๐Ÿ’ก Tips: to obtain the Action ID, access your target task in Octoparse, select the target command, and copy it by clicking on the API button located next to the command name in the General settings.

Error handling

Parameter

Description

When error occurs

Specify the action to proceed when an error occurs


Example

The above workflow will initially (1) log into the designated Octoparse account and store the access token within the specified variable Octoparse_account, and (2) update action 2acn75gv4vx from the task 98fb381f-2086-b0a6-xxxx-6150a99d04d9 to the value www.octoparse.com.

Did this answer your question?