cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

While creating a workflow, you might get a message like "results <data (12345678 bytes)>" in the Output tab when there is a high amount of returned data. That's only a visualization issue; all data is retrieved without problems. However, it might make workflow creation more challenging, as the returned data is not in a readable format.

Data in Output tab.png

Here are some options you can do in this case. We'll take as an example the "List of Assets" action:

Limit the number of Max Records: some actions have a "Max Records" input to limit the maximum number of results. During the workflow creation, you can, for example, limit the number of assets to 100; you will see the results in the Output tab, and the test execution will be faster. Remember to remove the Max Records input when you finish creating the workflow.

Max Records.png

- Add a Filter: the Max Records input returns the first items found, but you might want to use a different data set during your testing. You can also add your filtering criteria to the Filter input, like filtering an asset type or asset names containing a string. Here is more information about how to use the List of Assets filtering input: https://community.lansweeper.com/t5/connectors/lansweeper-connector/ta-p/85179#toc-hId--13128466.

List of assets filter.png

- Use the Sample Output to reference previous steps: Let's say you don't want to limit the output data while building your workflow. The main issue is how to reference that data in the following steps if you can't see any examples. In those cases, we created a Sample Output, that you can select in the following steps. That Sample output contains an example of the data you expect to see in that Step. See the example below when referencing data from a Loop step.

Sample output.png

Other options exist, like using the Filter action from the Collection Tools component if the filtering option is not available in the action showing with the data message.

About the author

Moderator
26 69 11

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now