A bug?: Iterate table + Populate automatically don't work if INPUT changes (debugging)

Hi,

the Input-Action is not updated when Data in ParentModule changes .

It's a little bit difficult to explain :slight_smile:
So see also attached Project

  1. Run (opMODE=GetBOTH)
    --> OK, both tables with Data

  2. Open (opMODE=GetUPPER)
    --> OK, Out1 with Data

  3. enable DummyColumn(s) to change Date for INPUT

    • enable calculate new column C (UPPER)
    • enable calculate new column c (lower)
  4. Open Module --GetSurrKey

  • enable STOP
  • RUN Main (GetKeyLOWER)
  • Open Module with new Parameters
  • disable STOP
  • push input populate auto
    --> !!!INPUT has old values (UPPER)
    --> !!!Debugging don't work
    --> !!!where is Column c?
    --> error: Error:
    At least 1 column must be selected.
    Source: action "Select columns by lookup", module "--GetSurrKey", table "DataTableOut"
  1. paste new Input Data (in Main via Clipboard)
    --> INPUT has new values (lower)
    --> Debugging works fine again

I hope your can reproduce this :wink:

regards,

Adrian
Input_and_populate.morph (16.4 KB)

Hi Adrian,

The Input action is similar to Sandbox - it stores a snapshot of data. It's not linked to another table (because multiple modules can call the same module with Input) and therefore it doesn't update automatically. You need to manually re-populate the Input action if you need to run that module with another input dataset.

You can re-populate it by right-clicking the necessary Iterate action and selecting "Send to":

Hi Dmitry, thanks for reply... i know.. a litle late :slight_smile: The sandbox function is great. Unfortunately, there is no possibility to overwrite the parameters of the called module. That's why my example project in this post doesn't work either.
image

image

is it possible, to get this feature by sending to Module?
Example:
image

regards,

Adrian

In your case, to restore the state of the called module, you will need:

  1. Use the "Open module" button in the error message to restore parameters.
  2. Use the "Send output to..." menu command to populate the Input action

We're working on the possibility of restoring the state of the called module exactly as it was at the moment of error, with all the parameters and action outputs.

1 Like

Hi Dmitry, thanks again for the feedback.
Yes, that's clear so far.

What is missing, however, is the option to override the parameters in the target module, even if there is no error or STOP (debugging).

... something like this ... "Send To Module and ask for overridden parameters"

At the Moment i have to activate/deactivate the STOP in target Modul to provoke an error to have the posibility for overwriting parameters.

regards,

Adrian

2 Likes

Update on the topic:

The related feature request is here:

We will address it in v5.9.