Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Configuration Items → Scripts Management The Configuration Items → File Repository page can be reached by clicking the Image Removed Image Added menu item.
On this page can be defined a multitude of scripts and their versions that can be assigned to workflow timestamps and included in the execution of the workflow using PSscript using PSscript or RunBashScript activities.Image Removed


Image Added


A version will be available for assigning to a workflow timestamp only after selecting it and making it active (by clicking the the Make Active Active button). The scripts are kept under folders and/or subfolders. The scripts versions are kept under the scripts. Each Each script will  will have at least one one version, which is actually the one that contains the script code.
A folder can  can be defined by clicking the the Add Folder button  button from the Folder Actions drop-down list.


  Image Removed Image Added
The The Add new folder window  window will open:


  Image Removed Image Added

  • insert a name for  for the new folder
  • insert a description for  for the new folder (optional)
  • click click Save changes in order to finish creating the new folder


When you click on a folder name, the the Details for scripts folder section  section will be displayed:


Image RemovedImage Added


  • edit the the name for  for the folder
  • edit the the description for  for the folder (optional)
  • click click Edit Folder Rights, if you want to give certain administrator rights for the version. Administrators can only see and work with the folders to which they have rights, but SuperAdmins but SuperAdmins can access all folders. 
    When you give certain administrator rights on a folder, the same rights will be automatically propagated to all the scripts under that folder.
  • click click Yes/No on the Confirmation window on the Confirmation window, depending on your choice
  • click click Save Changes in  in order to save the changes


A subfolder can  can be defined by defined by right-clicking on a folder and selecting the selecting the Add Folder option option


 Image Removed Image Added

  • insert a name for  for the new sub-folder
  • insert a description for  for the new sub-folder (optional)
  • click click Save changes in  in order to finish creating the new sub-folder


script can be defined after selecting a folder, by clicking the the Add Script option from the Folder Actions drop-down list or by selecting the the Add Script option  option after right click over the folder. The The Add Script Script window will open:Image Removed


Image Added


  • insert a name for  for the script
  • insert a description for  for the script(optional)
  • click click Save changes in  in order to finish adding the new script


A script script version can  can be defined after selecting a script, by clicking the the Add version version option from the Version Actions drop-down list or by selecting the the Add Version Version option after right click over the script. The The Add new version version window will open:


 Image Removed Image Added


  • insert a name for  for the version
  • select the script's version version type: powershell or ssh
  • insert a description for  for the script version (optional)
  • insert a value for  for the script version
  • click click Save changes in  in order to finish adding the new script version


When the new version is created, a corresponding timestamp is automatically added to it.

There are three options that can be set by right-clicking on version: Clone version to other script, Remove and Export.


Image Added


Clone version to other script

  • click on Clone version to other script
  • select the Target Folder
  • insert a New script name
  • insert a New script description
  • insert a New version name
  • insert a New version description
  • click OK in order to save the settings

Image Added


Remove

  • click on Remove
  • click Yes in order to delete the version


Image Added


Export

  • click on Export
  • the version is downloaded

Image Added

When you click on a version name under a script, the the Details for version section  section will be displayed:Image Removed

  • edit the the name for  for the version
  • edit the the description for  for the version (optional)
  • click click Edit rights, if you want to give certain administrator rights for the version. Administrators Administrators can only see and work with the scripts to which they have rights, but SuperAdmins but SuperAdmins can access all scripts. This This will also affect which script versions are sent to sent to the Designer when an administrator checks-out a workflow
  • edit the the script content  content for that version or or browse after  after an already existing script


Image Added


Image Added


  • click on Make Activeon Is Active, if you want to activate the version. Making it active, it will mark it also as active in the Scripts tab in Workflow Details panel
  • edit the Script Type Version Type: Powershell Powershell or SSH
  • click  Save Changes in Test Script in order to test the script.

Image Added

NOTE: the errors returned by the script execution are now visible in the Test Script area, unlike previous versions of Flowster Studio, when a generic error was thrown and an execution test was required in Powershell/SSH applications

  • click Save Changes in order to save the changes. You can overwrite existing version or save as a new version

Image RemovedImage Added