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
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 472 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 198 Visualize
- 254 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 178 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive