cancel
Showing results for 
Search instead for 
Did you mean: 

problems with the new switch operator

Former Member
0 Kudos

Hi Everybody,

after Eyal explained in [this thread|; to me what the Switch Operator is supposed to do, I finally found time to test this switch.

Now, I remember what the problem is:

The switch operator has two inputs. Only when both inputs receive data, the switch delivers data (the latter one in this case). If one input port is not supplied with data, the switch does not deliver a single table line.

Thus, I don't understand, how to use this switch or how to define these two data flows.

Is this a bug in VC 7.0 SP15, that both input ports have to be supplied with data?

Who can help me?

Thanks in advance and kind regards,

Benni

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member203343
Contributor
0 Kudos

Hi Benni,

I tried it just now (only one port gets input) and for me it worked. Maybe I didn't get you right. Can you maybe send me the gml file? natty D_O_T slomianski A_T g-m-a-i-l D_O_T com.

Regards,

Natty

Former Member
0 Kudos

Hi Natty,

thank you very much for your help at the SDN Forum. I emailed the model with the switch problem.

Of course, you don’t have the queries. But you can replace them with any queries you like. It’s just invented test data anyways.

I'm looking forward to your reply. Either I modeled it incorrect or - if it works in your environment - we have a bug on our system.

Thanks in advance and kind Regards,

Benni

former_member203343
Contributor
0 Kudos

Hi Benni,

Sorry for not responding earlier, things are quite hectic around here for the last couple of weeks...

I viewed your model on my system. Of course, I didn't use the data sources in it but I got the general idea. You are correct. This is happening because you have a guard condition on the submit lines. Of course, you must have the guard condition, since you submit from one form, but if you can change it (just for testing) to 2 forms (without guard condition), you'll see that it's working. I will be consulting our VC architect about this problem, since it's a basic one - on one side, guard conditions are AND'ed one with the other, but Switch op is all about OR, so it's a conflict.

I'll keep you updated

Thanks,

Natty

Former Member
0 Kudos

Hi Natty,

thank you very very much for that information. This is really valuable! In the end, I was not wrong. Using two forms is at least a little workaround.

However, in most cases you'll need guard conditions. I'd be very happy, if this could be fixed.

Looking forward to hear from you.

Thanks a lot and kind regards,

Benni