Working with resources
In this recipe, we will work with resources. We will see how we can integrate files with Orchestrator and use them in workflows and for other purposes, such as storing configuration information.
Getting ready
We need a functional Orchestrator. We also need a text file in a directory that Orchestrator can access. To create such a text file, you could use the example workflow 09.02.1 Write a File
. Also see the recipe File operations in Chapter 9, Essential Plugins.
How to do it...
This recipe contains multiple parts, each dealing with different aspects of resources.
Adding resources manually
Let's start by adding a resource to Orchestrator manually:
- Switch Orchestrator to Design mode.
- Click on Resources (the white page with a blue symbol on it).
- Create a new folder where you can store your resources by right-clicking the root in the tree and selecting New folder.
- Right-click on the new folder and select Import resources.
- Select a file such as an image or text file from...