Create an object from Workflow

Hello, I hope you have a nice day.

I have a shopping cart table and it has a field of type product list, I need from a workflow to create a new record in the shopping cart table if there is not one related to the current user in the application, the problem is that I want to add a product with all the information, but modifying a field of the product, the stock.
Similar to what one does in javascript.
shoppingcart[0].products.add(new product(, input.stock, currentProduct.price) );


I don’t know how to make an expression like this in bubble.
Products add new Product(, input.value, currentProductPage. price)


Me pueden responder en español o en ingles.

This topic was automatically closed after 70 days. New replies are no longer allowed.