Workflow to compare two inputs and only use the larger one

Sure thing.

One way to do that would be that you need to create a workflow that will consist of the following steps:

  1. First step in your workflow to populate the field “Larger” with Input A*2 value
  2. Second step in your workflow to populate the field “Larger” with Input B*5 value

Set conditions for both steps to only run if the result of the math is what you need (A2>B5 or vice versa for the appropriate step).

Sometimes Bubble math behaves funny, so you may need to use setStates to store the results of the A2 and B5 operations, but I believe you get the idea.

Here’s the link to the WF conditions feature description and discussion:

Vlad.

GM at Bubblewits - Bubble Certified Partner

http://bubblestore.io – a place to buy Bubble templates for landing pages, e-commerce, workflows, APIs etc.
http://iambubble.com - one page Bubble demo
http://builtonbubble.com - Collection of apps built on Bubble