Problem Variable

Hi @armingrudd how are you? I hope well.
I send you another question if you can answer me pls: when i set a Variable Value with “Table Column to Variable node” and the Variable Value could be unknown in same case, how i can bypass “unknown error message” of the Variable? in this case in photo attached “Variable Row20”.

thankx for help me

@umberto75 in CC:

Hi @Rico_Rico,

Unlike the Table Row to Variable where the node can handle missing values, the Table Ciolumn to Variable skip them by default (or fail in case of missing values based on the configuraiton).

So, you can handle missing values beforehand by using a Missing Value node. e.g. in case of numbers (double) give them “NaN” or for strings “missing”, and then convert them to variables.

1 Like

thenkx, i test it! See u later to news

1 Like

good morning @armingrudd, i test and test more solution but, i haven’ t the solution. Maybe i explained my need badly. I mast check “unknow” varible and and i’m starting to think that it can’t be done. Can you please, a good solution to me?

@umberto75

Thankx

So it is not testing if a specific flow variable has a “missing value”, but to test if a variable “Row20” exists?

Maybe take a look at this solution:

2 Likes

Hi,
as you meantioned, that you create this variable “Row20” from a table it would be maybe a good way to use the “empty table switch” before turning it into a variable “Row20”.

In general I would avoid using a generic name like “Row20” for a variable name.

i will not know if the row is know or not know before! i wish make in “column expression” the check it after

Is it possible to share your workflow? Otherwise its quite hard to help you.

For me it seems that you have a “row filter” or similar prior to the “table row to variable” node, or?
So depending on the input data, the output of the “row filter” changes. As a workaround you can reset the RowID using the “RowID” node.

1 Like

image

thank you @ActionAndi . i share to you a cut of workflow

@umberto75

What comes out of Node 808? I think it would better to use a Table Row to Variable Node but lets check the input.

the node 808, filters only same items in column. The items after they become Variables but, the rows variables/items may change depending on the file input. so, i don t know the correct range of the varaibles before. The variabels rows, gruop by more output different output blocks

Hi everyone, I found the solution to my need! I “doped” the variables, joining them with the “Catch Error Var Ports” node so that those which are unknown have the “X” character as their interceptor in this case:

image

I share it to caring.

Thank u @armingrudd
out put Variables KNOW and UNKNOW

thanks we to collaboration: @armingrudd , @ActionAndi , @MartinDDDD, @umberto75 and @Iris for the shared post inspired me

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.