Version 3
Questions and answers

Questions and answers

Short answers about robots, items, failures, resuming, and workers.

Audience: builders

Task Engine is in private preview. To get access, contact us (opens in a new tab).

Is a work item the same as a robot's work item?

No. A work item is one run of a Workflow. A robot's input and output items live inside one task package step of that run.

How many input items does the robot get?

One by default: the work item's data and its attachments. A step can instead take the output items of an earlier task package step, or a list of items that an earlier step wrote.

Can the next step start before every item is done?

No. A step finishes only when every item has run, on every worker that took part. The next step then starts with the full list. To work on each piece as soon as it is ready, have an agent or verified logic step create one independent work item for each piece.

What happens to failed items?

By default, the step records them in its results and the Workflow continues. You can instead set the step's Failed items to Fail the step. The work item then stops at that step, so a person can fix, mark done, or delete the failed items and resume. If the robot run fails as a whole, the step always stops the work item. See When items fail.

Does the next robot get the failed items?

No. The next robot gets only the output items that the previous robot created. A failed item passes on nothing, unless the robot created output items before the item failed. Those output items pass on like any other. To avoid this, create output items only after an item's work is done, or set the step to fail when any item fails.

What runs again when I resume a failed step?

Only the items that failed or did not finish, each with its current data. Items that are done, marked done, or deleted are not given to the robot again. The next step takes each item's outputs from its last attempt, so no item passes on twice.

Can an item run twice?

Not through Resume: a run is given only the items that still need it. Rerun starts the work item from its first step and gives the robot every item again, including items already done. Use Rerun only when the work is safe to repeat.

How do I stop robots that are working on the wrong thing?

Select Stop… on the work item while its robots work. You can let each robot finish its current item, stop them at once, or cancel the work item for good. The first two keep the work item, so you can fix the items and resume. See Stop a robot step while it runs.

An item failed because its data was wrong. Do I have to rerun everything?

No. Edit the item's data on the work item's Task items tab, then resume. Only that item and the other failed items run again, and the item's history keeps the data each attempt ran with.

Who changed this item?

Open the item on the Task items tab. Its history lists every change with the person's name and the time, and each edit shows the fields it changed.

Can an agent step read what a robot produced?

It can read every item's status and data. It cannot read files the robot attached. If a later agent step needs something from a file, have the robot put it in the item's data. You can open the robot's files on the robot run page, and the files attached to each item on the work item's Task items tab.

Do I need an agent step at all?

No. A Workflow can be task package steps only. Add an agent step when you want the work read, summarized, or decided on by an LLM.

Why does my Workflow show no outputs?

A task package step does not write the Workflow's outputs. Its results are saved in the work item and shown on its Task items tab. To show outputs on the work item, add a verified logic or agent step that writes them.

What happens when no worker is online?

The step fails at once and says why. When every worker in the group is busy, the step waits for one to free up.

Can several workers share the work?

Yes. Point the step at a worker group and allow parallel runs. The workers take the step's items from one shared list, so each item runs once. Each work item has its own limit. It is not shared across work items. See How work runs in parallel.

How do I cap how many robots use an application at once?

Give the step a worker group with only as many workers as the application allows. Each worker runs one robot at a time, so the group size is the hard limit across all work items.

How many work items can run at once?

As many as you start. A project runs up to 8 steps at the same time. More steps wait their turn. While robots run, their task package step does not count toward the 8.

Can a task package step start other work items?

No. Only an agent step or a verified logic step can. See Work items that create work items.

Where do I build a task package?

On your own machine, in one of two ways:

  • With a coding agent, such as Claude Code or Codex, that has Robocorp's robocorp-automation skill.
  • In the Sema4.ai SDK, an extension for VS Code and compatible editors. See Develop a task package.

Can the assistant write my robot?

Not in Sema4.ai. Its assistants publish, set up, and run robots, and read their runs, but they don't write robot code. Write robots on your machine with a coding agent that has Robocorp's robocorp-automation skill, or in the Sema4.ai SDK. See Build with AI tools.

Do my Robocorp robots need changes?

No. The same task packages, libraries, and calls work on Sema4.ai. A robot that reads RC_PROCESS_RUN_NUMBER, RC_ACTIVITY_RUN_NUMBER, or RC_ORGANIZATION_ID gets no value, so check those. See Coming from Robocorp.