Skip to main content

Define the Working Space

As previously mentioned, the default working space of a SFHub analytic consists of all the elements collected in the selected Sigmafine Case (Transfer included). SFHub Studio allows you to modify the Working Space, to limit the number of elements to be processed according to the purpose of the analytic itself.

The following topics provide additional information.

Empty Working Space

SFHub Studio analytic can be designed to work with an empty Working Space using the string NULL in the Select code block configuration (see the Select SFCodeBlock section topics for more information).

Example: Select Code Block - NULL string

Select code block - NULL string

When working with an empty Working Space, SFHub Studio grants access to database objects like AF Tables, and it allows the creation and manipulation of analytic variables.

Example: Empty Working Space Code

Select Code Block - NULLCode Transcription
danger

You are not allowed to create element variables when a NULL (empty) working space is selected, as it will result in an error.

Working Space Based On a Condition

SFHub Studio allows you to narrow the Working Space based on a condition.

Example: Narrow the Working Space Based on a condition

In the example below, the working space is narrowed to only those elements having the ObjectStatus attribute equal to 'OS'.

Select Code Block - ObjectStatus = OSCode Transcription