Workflow to edit multiple lines in another grid

At a high level, I'm trying to create a workflow to conditionally edit one grid (an inventory grid) based upon any new rows created in another grid (a reservation grid).
Here's the basic workflow:
- Via a web form in my reservation grid, user submits a request for 10 widgets
- Workflow in reservation grid triggers upon creation of the new row, looks in my inventory grid for the last row of widgets that are not reserved
- In my inventory grid, 10 unreserved widgets are then marked as reserved for the submitting user
I found a community article pertaining to Bridge which may be related, but I'm not sure, as my org doesn't have the add-in:
Does anyone have any experience with a problem like this?
Answers
-
Are you able to provide some screenshots for context?
-
Hi,
I hope you're well and safe!
We could use cross-sheet formulas to make it work.Can you share some screenshots and/or paste the formula(s)? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help.
I hope that helps!
Be safe, and have a fantastic day!
Best,
AndrΓ©e StarΓ₯ | Smartsheet Expert Consultant & Partner / CEO @ WORK BOLD
β Did I help answer your question/solve the problem? Please support withπ‘ β¬οΈ β€οΈ, and/or β Answer. This will make it easier for others to find a solution/help to answer! I appreciate it, thank you! πSMARTSHEET EXPERT CONSULTANT & PARTNER
AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hello, here are some screenshots to illustrate.
Each line in this grid represents a web form submission by Person 1, Person 2, Person 3, etc. including the number of widgets requested.
Each line in this grid represents a widget available for requests.
So, when Person 1 in the first screenshot requested 6 widgets, widgets 1 through 6 were tagged as reserved for Person 1. I would like to automate the process of getting these widgets assigned out as requests come in. Does that clarify my intent? Thanks.
-
hi @Drakej,
If you try to Trigger data changing workflow in Sheet B based on the changes from Sheet A it will not be triggered - Smartsheet blocked such kind of triggering to avoid workflow looping between sheets. It's for cell linking and Data Range in formulas case.
but as @Paul Newcome and @AndrΓ©e StarΓ₯ are involved here i am pretty sure they will come up with something :)
Experienced IT PM and the Real Smartsheet Enthusiast.
Is there anything else we can help you with? - book your time.
MASA Consult - Your Aligned Smartsheet Gold Partner
Find us on LinkedIn & Check our Smartsheet Solutions!
Tag my name: @kowal if you want me to respond :)
-
You are going to need to insert a text/number column (called "Cumulative" in this example) in the sheet that collects the form entries and enter this column formula:
=SUMIFS([Widgets Requested]:[Widgets Requested], [Request Number]:[Request Number], @cell <= [Request Number]@row)
Then in the reservation sheet, your formula would be:
=IFERROR(INDEX({Form Sheet Requester}, MATCH(MIN(COLLECT({Form Sheet Cumulative}, {Form Sheet Cumulative}, @cell >= [Widget Number]@row)), {Form Sheet Cumulative}, 0)), "")