Picture of IF Statements with a Multiple Condition and Action in Invent | IV_Logic_012

IF Statements with a Multiple Condition and Action in Invent | IV_Logic_012

This segment discusses the concept of multiple conditions and multiple actions in if statements, explaining how multiple conditions can trigger multiple actions. An example is given where changing one condition, like selecting a logo option, results in multiple actions, such as hiding a logo and a variable field. The explanation includes the setup of such conditions and emphasizes the flexibility to specify whether all conditions (AND) or any condition (OR) must be met to trigger the actions. The importance of covering all potential conditions, including alternative states, is highlighted.

Tutorial Video Transcript

A transcript of our tutorial video, ensuring you can find exactly what you need, when you need it.

You can search this page to find the relevant time-stamp in the video. Also, this text can be used as part of the tutorial search feature.

00:00:07:04 - 00:00:07:19
All right.

00:00:07:19 - 00:00:12:15
The next one down is the ability to do
multiple conditions and multiple actions.

00:00:12:22 - 00:00:17:00
So if a single condition can work,
that's all.

00:00:17:05 - 00:00:18:23
That's all well and good. That's great.

00:00:18:23 - 00:00:21:15
However, in many situations
you might have it

00:00:21:15 - 00:00:25:05
that multiple conditions have to be met
to perform a certain action.

00:00:25:26 - 00:00:30:28
Or it might be that if you change
one condition, multiple actions happen.

00:00:31:03 - 00:00:33:24
So like we saw in our business card there,

00:00:33:24 - 00:00:37:16
I changed one condition
which was that variable value.

00:00:37:24 - 00:00:41:26
And as a result about 50
things changed in the actual action list.

00:00:43:20 - 00:00:44:24
so this is possible as well.

00:00:44:24 - 00:00:47:01
And you can combine
that to multiple conditions

00:00:47:01 - 00:00:50:01
and multiple actions in one statement.

00:00:50:29 - 00:00:53:29
So our example we've got here

00:00:54:06 - 00:00:57:27
is we've got two dropdown lists.

00:00:58:18 - 00:01:00:27
So one which is saying do we want a logo.

00:01:00:27 - 00:01:04:11
And one which is saying to select a brand
which only has one option in it

00:01:04:11 - 00:01:05:15
at the moment.

00:01:05:15 - 00:01:10:17
And what we're showing here
is one condition but multiple actions.

00:01:11:02 - 00:01:13:03
So if I change my logo to say

00:01:14:04 - 00:01:14:23
I don't want a

00:01:14:23 - 00:01:18:02
logo that has two resulting actions,
so it's hidden

00:01:18:02 - 00:01:22:17
the logo on the actual canvas itself,
and it's also hidden

00:01:23:11 - 00:01:25:18
the variable field which is present

00:01:25:18 - 00:01:28:18
in the form here.

00:01:29:07 - 00:01:32:07
And how that's set up.

00:01:36:22 - 00:01:38:27
Is something like this.

00:01:38:27 - 00:01:39:17
So this actually

00:01:39:17 - 00:01:42:17
does have multiple conditions set up
or it doesn't specifically need it.

00:01:43:10 - 00:01:46:10
So that's saying that
if these conditions are met

00:01:46:13 - 00:01:49:13
then we're performing multiple actions.

00:01:50:28 - 00:01:52:06
In the alternate condition.

00:01:52:06 - 00:01:54:29
So if that particular conditions
are not met

00:01:54:29 - 00:01:57:04
then we're performing this action.

00:01:57:04 - 00:01:58:16
And again I hope this is making sense.

00:01:58:16 - 00:02:01:23
Please put questions in
if you've if you need some clarification.

00:02:03:13 - 00:02:04:26
One of the thing to mention about

00:02:04:26 - 00:02:08:28
multiple conditions,
is the ability to specify

00:02:08:28 - 00:02:11:28
whether it's an end condition
or an or condition.

00:02:12:08 - 00:02:15:09
So what this means is
if you've got multiple conditions.

00:02:15:09 - 00:02:17:10
So let's say,

00:02:19:00 - 00:02:21:00
variable one was set to

00:02:21:00 - 00:02:25:23
a variable two was set to be
it can be an and condition.

00:02:25:23 - 00:02:29:11
So both of those have to be met in order
to get the actions to work.

00:02:30:15 - 00:02:33:05
Alternatively you can have it set to or so

00:02:33:05 - 00:02:37:00
if either of those conditions are met,
then the action will be followed.

00:02:37:26 - 00:02:40:02
And again,
it's up to you under which condition you

00:02:40:02 - 00:02:43:02
you need those to be in.

 

Incomplete
Guide unavailable