Please enable JavaScript to view this site.

Altova FlowForce Server 2022 

You may need to declare the data type returned by the job if you intend to use the result of the job in other jobs or if you want to cache the result of the job. When you declare the return type, keep in mind the following points:

 

Declaring the return type is meaningful only for jobs that actually return a result.  

If you want to cache the result of a job, you must declare the return type.

The return type of a job must be the same as the data type of the last step in the job. If the last step of your job returns a data type other than the one declared for the job, FlowForce Server returns an error (e.g., Types string and result do not match). When type matching errors occur, use expression functions to change the data type of the last step in the job to the data type declared as the job return type. for details, see Data Types in Steps.

 

Return type of a job

To define the return type of a job, take the following steps:

 

1.Create a new job or open an existing one for editing.

2.Select a return type in the Execution Result section (see screenshot below).

DeclareReturnType

Return types

The available return types are listed below.

 

ignore/discard

This is the default return type. It instructs FlowForce Server to ignore or discard the result of the job provided there is one. Select this option if the job does not return a result, or if you do not need to process the returned result in any way.

string

Specifies that the data returned by the job represents a text value (string).

stream

Specifies that the data returned by the job represents a stream.

number

Specifies that the data returned by the job is a numeric value.

boolean

Specifies that the data returned by the job is a Boolean value.

 

© 2016-2022 Altova GmbH