I have been trying to find effective ways to use filters to create reports (that can be emailed or saved) based upon criteria. My problem is, I am looking for information to display and sort, not to act on / action (as input for other commands). The workflows that I have been establishing use a loop based on the filter, per line, which will give me the full output, but not in a format that I am able to copy / paste or otherwise use, it just outputs it to the screen following execution. The wonderful thing about WFA is that I can cross reference several tables and values for my entire environment utilizing OCI and OCUM all in one go, rather than just using sql tools to build tables from each, then finding a way to merge them.
I have run into a few problems with this.
1. Not all fields that exist as entries in the OCUM database are queryable by stock WFA (and my attempts to define specific values from keys has had very mixed results, mostly bad)
2. how do you take the results of these filter queries and generate a file / email?
The goal:
1. continue to create custom filters to query information based on criteria from within WFA
2. output the results into a format that I can use externally (email, excel, etc)
3. create custom workflows using selected filters on an as needed / desired basis (for use in one-offs, environmental checks, pre-checks for specific actions, etc)