Create Folder with Workflow

Out of the box is there a canned template to create folders with workflows?
  • No, there is no pre-built activity that creates a folder but there are several ways to do it, for example via a VBScript or PowerShell script. If you want to pass in the folder path dynamically you will need two activities: Format a String and Run Script. There are separate activities for running a script on the Aegis server or on a Remote Computer so select the appropriate one. In the Format a String activity, paste this VBS code into the Input String value:

    Dim objFS
    Set objFS = CreateObject("Scripting.FileSystemObject")
    Const NewFolder= "{0}"

    If Not objFS.FolderExists(NewFolder) Then

    If Not objFS.FolderExists(NewFolder) Then
    WScript.Echo "Failed to create folder "