How to simply assign a value from one variable to another?
Hey all,
Looking to execute actions for a list of cards (around 700). l have already built a query that returns a list variable with the object IDs I need. I am now trying to get the length of the list in a variable to set up a loop. I know there are several functions availabe in workflows, but I have not found one that works well for this. Any suggestions @Zoolander?
Thanks!
Trey
Best Answer
-
thoffman, good question! There is a function in the Domo General Utilities Package called "getListOfObjectLength". This function is authored to accept a list of objects and return a count of the length. If you have a list of objects variable in your workflow, you should be able to map that variable to the input and get a result back.
1
Answers
-
thoffman, good question! There is a function in the Domo General Utilities Package called "getListOfObjectLength". This function is authored to accept a list of objects and return a count of the length. If you have a list of objects variable in your workflow, you should be able to map that variable to the input and get a result back.
1 -
Thanks Zoolander. That function takes a text input. What do I enter for the value?
0 -
That function can be mapped to a list of objects. Do you have a variable in your Workflow that's a list of objects?
0
Categories
- All Categories
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 819 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 9 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive