Problem jobs

Problem jobs is a special flow element that represents the Switch problem jobs folder. When a Switch process fails to handle a particular job, the "problem job" is moved to the problem jobs folder; see Handling problem jobs for more information.

Keywords

Keywords can be used with the search function above the Elements pane.

The keywords for the Problem jobs element are:


Connection

The problem jobs tool can be placed in a flow on its own, without any connections. In that case it serves simply as an easy way to access the problem jobs from the designer user interface (for example, when you select the problem jobs tool, the Files pane shows its contents). See Handling problem jobs for more information.

If the problem jobs tool has an outgoing connection, it acts as a producer picking up any problem jobs that arrive and injecting them into the flow (again). This allows providing automated error handling. You can add a filter to the outgoing connection to select the jobs you want to handle, leaving the others in the problem jobs folder. In any case be careful to avoid endless loops of jobs that fail over and over again.

The problem jobs tool supports only one outgoing connection. To overcome this limitation, connect it to a regular folder from which you can originate as many connections as you like.

Properties

Property

Description

Name

The name of the flow element displayed in the canvas

Handle problem jobs for

Determines the "scope" of this problem jobs tool; choices are:


  • This flow only: acts on problem jobs generated just by the flow containing this flow element

  • All flows: acts on all problem jobs generated in this copy of Switch

Multiple problem jobs tools

A flow can have at most one problem jobs element; including more than one will keep the flow from activating.

In addition, at any one time, the active flows in Switch can have at most one problem jobs element with a scope set to "All flows".