Number calculation to trigger a workflow

Hello Bubblers!
I am having trouble working out how to create a user flow so that a user is shown a different set of content based on their average blood pressure here:

Right now the user has to choose their content based on their result but I want this to be triggered to only show the relevant content. As you can see the numbers won’t be exact, so if a user has a top number average of <90 they will get the ‘Too Low’ content, if they get a top number that is between 120 and 135 they get the ‘normal’ content etc.
I can’t work out a way to trigger this :frowning:

There are different ways to do this like using option sets to centralize those blood pressure info, including colors and pressure range in case you will use them in multiple places in the app. Or use conditionals in that elements you already have to control the visibility. Or use just one element with custom text/color controlled by conditions, etc.

The post below may provide an approach that you can also use or give you an idea for implementation.

1 Like

Presumably the user will be able to add any number in those boxes, so I dont think an option set is the best way.

I’d probably just set up a conditional express on the coloured boxes, to only display when the average BP is within the specified range.

It might look something like this:

When top number is > MIN and < MAX
AMD botton number is > MIN and < MAX

Show WHICHEVER GROUP

2 Likes

Thank you so much for your help! it took me a little while to get the right numbers in as there are so many variables but it’s working now!

1 Like