Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Context

&pagelevel(4)&pagelevel

An activity's context describes the context objects and error handling mechanisms (faulthandler). Using the "context object" language tool, you can specify an element, for example a partner, once in the Ftscript and then re-use it whenever necessary. To do this, you reference the context object at the point at which it is to be used. Using appropriate referencing, it is also possible to combine the properties of multiple context objects.

Each context object has an ID which must be unique within the context. This ID is used to address (reference) the context object.

If a referenced context object is not found in the current context then a (recursive) search is performed in the higher-level contexts. Context objects other context objects with the same ID in higher-level contexts.

A context is always present even if it has not been defined. There are certain activities (foreach, listDirectory) which automatically incorporate data in a context.

The context objects are described in more detail in section “context”.