0

Generate Data-Log

  • updated 3 yrs ago

Description

In LogicNets, context is session memory that contains all data objects that can be managed by the logicnet in an application. The data log is the meta-data structure inside the session that contains meta data about the data-objects in the context. This part allows you to retrieve data log items and place them in the context. The system removes all items that are already in the context but not in the data log. Since the data log stores more information than the value, you can use this part to generate data structures to export data objects.

Note: in the LogicNets Designer this process step will be displayed with the label convert_ctx_to_data_log.

Data Log Example

log = {
    ['mypath'] = {
        path = 'mypath'
        value = 1,
        data_type = 'number'
    },
    ['mypath2'] = {
        path = 'mypath2'
        value = { “a”, “b” },
        data_type = 'number'
    }
}

Node Type: This part is located in the Misc dropdown menu in the Process node.

Used With: You can use this part with all framework and non-framework projects.

Editor Fields

Configure the part using the following editor fields:

Field Name Description/Use Type/Option Optional/Mandatory
Output path This is the location in the context where the system stores the data objects. Text Mandatory
Input path This is the location from which the system retrieves the data objects. If you leave this field empty the system retrieves all items in the data log. Text Optional
Set max level When you check this checkbox you can define the level to which the system processes tables. Checkbox Optional
Max level With Set max level checked, this field allows you to set the level to which the system processes tables. Number Optional
Set exclude filter With this checked you can define a filter of items the system should not place in the context. Checkbox Optional
Exclude filters With Exclude filters checked you use this field to define a list of objects the system should filter. Collection Optional
Export specific keys Check this to define a list of specific keys. Checkbox Optional
Datalog keys With Export specific keys checked you use this field to define a list of keys for the system to export. The system will place these keys of the data object in the context. Collection Optional
Export as data log items Check this option to have the system define a list of data log paths. Checkbox Optional
Export as data log paths With Export as data log items checked you use this field to define a list of data log paths for export. Collection Optional
Keep non-data log items Checking this item allows you to define a list of data objects the system should keep when they are not in the data log. Checkbox Optional
Keep items With Keep non-data log items checked you use this field to define a list of the names of data objects the system should keep even if they are not in the data log. Collection Optional
Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 3 yrs agoLast active
  • 63Views
  • 3 Following

Home