0

Get Value from Global Context

  • updated 1 yr ago

Description

This part allows you to access a variable in the global context when processing in a different (local) context.

Use

This part is most often used when using the Repeating Inputs within the LogicNets Assessment Framework. If the user has set a value in the main application that is required for a rule or processing step in the repeated section, use this part to "get" the global variable and include it in the collection generated by the repeater.

Tips and Tricks

If your repeating logicnet model just needs some information from the main application temporarily, then you can do the following:

  • copy the full path of the main variable from the global context
  • rename it to a short/simple name for the local context - it will be shown as part of the repeater collection set
  • set a delete object part at the end of the repeating net (not the main application)
    This will remove the variable/container from the collection and keep the size of the overall context down (if you don't do this, the variable will be added to EVERY collection record in the repeater - you can see this if you inspect the context using the DATA button).

Make sure you place this part BEFORE the local logic that requires the information, but in the same logicnet. This should not go into the same net that has the call node to the repeating/local logicnet.

Editor Fields

Field Name Description/Use Type/Options Optional/Mandatory
Target data object in current ctx This specifies the name of the variable in the current context Data Object
Container
Mandatory
Source data object in global ctx This is the name of the object in the global context that is required in the current context

Data Object
Container

Mandatory

Example

Download and import the following example project in your workspace. COMING SOON!

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 1 yr agoLast active
  • 19Views
  • 3 Following

Home