DMXzone Server Connect Support Product Page

Answered

Using condition in server connect

Asked 22 Sep 2016 22:26:45
1
has this question
22 Sep 2016 22:26:45 Hans Haverlach posted:
Hi,
I've a server connect action with several steps.
The last step should be an insert OR an update step, depending if a certain value is found in a database table.
So my pre last step is query that table with a filter on that specific field. If that query gives back a record, I want the condition to use Update step else I want the condition use the insert step.

Is this possible and how do you do that?
I hope you can shine your light on this!

Replies

Replied 24 Sep 2016 16:30:35
24 Sep 2016 16:30:35 George Petrov replied:
Hi Hans,

Yes this can be done very easy. Just use as condition the query name. It will check if records are returned then and the condition will be valid if there are so you can do an update at the "then" step or insert record at the "else" step.

Greetings,
George
Replied 29 Sep 2016 09:58:32
29 Sep 2016 09:58:32 Hans Haverlach replied:
Thank you George!

Reply to this topic