Managing Steps

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Configuring Jobs >

Managing Steps

Steps define what the FlowForce Server job must actually do (for example, delete a file, execute a MapForce mapping, or send an email). In its simplest form, a step is just an operation with either failed or successful outcome, and it requires a function to be executed (see Execution step). However, there are also steps that provide means to execute other steps conditionally or in a loop (see Choose step, Error/success Handling step, and For-Each step). You can create as many steps as required within the same job, and you can set the order in which they must take place.

 

You can create the following step types.

 

Execution step

A step of type "Execution step" lets you execute a specific FlowForce function. Available functions include the built-in functions delivered with FlowForce Server, deployed MapForce mappings or StyleVision transformations, and the execution steps of other jobs.

Choose step

A step of type "Choose step" lets you define the conditions under which other job steps should be executed. Choose steps have the following structure:

 

When {some expression}

Execute (some step)

Otherwise

Execute (some other step)

 

Under each "Choose step", you can nest other Choose steps (sub-conditions), for example:

 

When {expression}

When {expression}

Execute (step)

Otherwise

Execute (step)

Otherwise

Execute (step)

 

Any number of conditional steps can be defined.

 

Within any When / Otherwise pair, FlowForce Server executes only the condition that is true; the other condition is ignored.

 

For more information, see Processing Steps Conditionally.

For-Each step

A step of type "For-each step" lets you iterate through a sequence (for example, a list of files within a directory) and repeat an execution step any number of times. "For-Each" steps has the following structure:

 

For each item in sequence {sequence expression}

Execute (step)

 

FlowForce executes the step until it finishes looping through all items of the sequence expression.

Error/Success Handling step

When a step of a job fails, FlowForce Server aborts the job. You can use steps of type "Error/success handling step" to perform clean-up actions before the job finally exits (see Handling Step Errors).

 

To add a step, click the button corresponding to the step type.

ff-protected2

Use the following buttons to manage steps.

 

add

Add step.

delete

Delete step.

icon_duplicate

Duplicate step.

up_arrowdown_arrow

Move step up or down.

icon_undo

Undo a previous delete action.


© 2019 Altova GmbH