Although creating an Advanced Workflow is quick and easy, you might want to share workflows between Sites, import them from other users, or import them from Globalscape Customer Support. When you create a workflow, the Advanced Workflow Engine creates a file with an extension of .aml and saves it in EFT's AWE folder. The filename is the name of the workflow, prepended with an underscore and the name of the Site.
For Sites in an active-active (HA) configuration, AML files are saved in the shared configuration location.
Importing workflows into EFT
In the EFT administration interface, connect to EFT and click the Server tab.
In the left pane, click the Advanced Workflows node. The Advanced Workflow manager appears in the right pane.
In the right pane, click Import. The Open dialog box appears.
In the Open dialog box, navigate to the workflow that you want to import (an .aml file), then click Open. The imported workflow appears in the list of workflows.
Importing Multiple Workflows
You can also "import" multiple workflows at once by copying their .aml files to the AWE folder and prefacing each file name with the Site's name. For example, suppose you have created a workflow called FTP on a Site called MySite, and the workflow's filename is MySite_FTP.aml. You can import the .aml file into Advanced Workflow by saving it in the AWE folder, then changing the filename to include the name of the Site that you want to use it in. On HA Sites, the AML files are saved in the shared configuration location.
You must preface the file name with the name of the Site and an underscore, e.g., MySite_FTP.aml, and then restart the Server service for the workflows to appear in the Advanced Workflows node.
To import Advanced Workflows
In the AWE directory, do one of the following:
Copy the .aml file into the AWE folder.
Create a new text file, copy and paste the text from the .aml file to the text file, then save the new file with an extension of .aml.
Copy the steps in the imported .aml file and paste them into an existing .aml file.
Rename the file by prepending the filename with the name of the Site and an underscore. For example, if the workflow is named FTP and the Site is named MySite, name the workflow MySite_FTP.aml. (You do not have to keep the original name of the workflow.)
Restart the EFT service, then log in to the EFT administration interface.
Expand the Advanced Workflows node of the Site. The imported workflow appears in the tree.