This page is what we are working with. The operator enters a name, table number from dropdown, seat from dropdown, then configures the Dealer Add-on, Rebuy, and Add-on numbers before hitting “Enter player”
Not sure how this particular plugin works, but looks like you’re referencing the plugin element’s state.
I’d check if the action Evaluate Expression returns the result. Then you can set the value on your 2nd Action as step 1’s result
I’d look for an event from the same plugin that triggers when the result is complete. The result evaluation might be async and that’s why it doesn’t show up on your next action.
Else, you can try adding a pause before next action before the 2nd action - this isn’t as reliable as using the plugin’s event though.
I’ve never used that plugin but it’s quite likely that it doesn’t operate synchronously, so that output value isn’t available in the second workflow step.
But why bother using it anyway? You can do that math in a regular Bubble expression. (Or series of expressions setting the value of a custom state. Those actions ARE synchronous.)
Thanks for the responses so far. While I was waiting for some responses I tried changing the workflow such that It does the math evaluation and then stores that in a custom state like this:
You can see here that it does have the correct value of 110 in the “spent” column. However it does not appear in the DB.
Additionally, before this version, I had bubble doing the math operation and I had the same result.
I’m admittedly amateur with bubble but so far everything I’m seeing is telling me there is some kind of disconnect at the DB level?
The data type for “Spent” is set to be a number so I really just don’t understand what is going on here.
That the output value from that plugin isn’t available in the second workflow step because it’s asynchronous. It doesn’t matter what the next workflow step is, the value is simply not available yet.
If that is true why does the next step show the value as being entered? “110” is shown as being entered, but it is not entered. Additionally, as I said, in a previous version I did not use this plugin and I had bubble doing the calculation and got the same result.
Because the inspector is running AFTER the workflow. By the time you inspect it, the value is there. And I just looked at the code for Mathjs Local. It’s asynchronous.