I have a workflow that runs quite nicely. It dynamically fetches a list of groups based on a server that i choose from a drop down. Once the user selects a group, the workflow adds a member (vm) to that group on the server selected.
It uses the powershell module to do so. However, the powershell module is quite slow.
This results in the user waiting some time before the workflow is ready to run.
I thought perhaps, I could create another workflow that on a scheduled basis (maybe every few hours) fetches the list of groups for each server that's in my dropdown list and then updates a resource.
when the workflow runs, it simply looks at the resource for the list of groups as opposed to fetching it manually every single time.
is this a silly way to do things or am i on the right track? if so, just trying to figure out how i can create a resource that i can update dynamically on a scheduled basis.
thanks!