Versions Compared

Key

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

...

  1. Create a language type called ps workflow, set
    1. Set the file extension to ps1
    , set
    1. Set the command to PowerShell -ExecutionPolicy Bypass -File "$SCRIPT_NAME$"
    and assign it a Workflow category
    1. Set the category field to Workflow.
    2. Click OK.
      Image Modified
  2. Add a new Metadata Object Type called Print Context and set the type to Host Script.
    1. To add a new object, right click on the Host Script node.
    2. Select New Object.
    3. For this example, enter Print Context as a name.
    4. Click OK.
      Image Modified
  3. In the configuration window, set the type to ps workflow script, set the appropriate Owner and Connection Name for your data.

  4. The new script should appear on the Host Script node.
  5. Right click on Print Context and select Edit the Script. This will open the script on a new tab.
  6. On the edit script tab enter the following code:

...