Hi gliders!
Seems Workflow is a great new feature!
But can we to store and change values for internal variables inside webhook Action by Action Editor?
Action Editor Interface looks like we can do this, just picking variables as we do it usualy in Layout Editor with the Columns.
But Glide AI Assistant answers for this Question it’s impossible(
Is there some experience?
There is no internal variables inside webhook at the moment. If I understand what you mean by internal variables (workflow instance’s variables?).
By the way, that number of depth level! Damn :
@MaximeBaker Thank you, Maxime!
It’s my first expirience with Workflow using loops, needed for planning Operations, Materials, Work Orders for Work Centres, starting from Customer Orders) Almost MRP
Probably too much, will think turnarounds…
Anytime!
Just curious, what’s your use case for internal variables?
Hi @ThinhDinh
My usecase is to count of iterations in a feew of nested loops.
Using the number of current iteration to jump out of a current loop.
E.g. i need to fill out the schedule of workcentres loading for the currect shift, using a few approaches like as using the most power centres for the most bigger work orders.
May be i misunderstand your needs, but you already have loop counter and ite switcher on input of every loop
So your issue is at the moment you don’t have access to the “index” of the loop you’re working on?
Maybe you can pre-number them in your data using some computed columns? Is that an option?
It’s does not works as expected, values not stored in variable. Seeems only way is to store to a table)
Yes, @ThinhDinh, correctly. I need to get the index (number) of which iteration of loop is going.
And seems you are right, only way for now is to store this value into a table.
But why you mean a COMPUTED column for this? Explain please, and thank you in advance.
Because it allows you to be dynamic and don’t have to add them manually when you have more rows than previously configured.
The steps would be:
- Add a lookup column returning all rowIDs from relevant table/relation/query.
- Add a find element index column, returning the current rowID’s index amongst the lookup above. It will give you a dynamic list of 0-based index.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.