• Articles
  • API Documentation
Show / Hide Table of Contents
  • Introduction
  • Wavefire Manager
    • Index
    • Concepts...
      • Organisations
      • Applications
      • Products
      • Tasks
      • Vendors
    • Wavefire Manager Walkthrough
    • How To...
      • Create a new Customer Organisation
      • Delete a Customer Organisation
      • Create a New User
      • Delete a User
      • Edit a User
      • Create a New Product
      • Delete a Product
      • Quota a Product to a Customer
      • Subscribe a User to a Product
    • Wavefire Manager Command Line
    • Tasks and Scripts
  • Cloud Client
    • Index
    • Cloud Client Installation Guide
    • Cloud Client Quick Start Guide
    • Command Line Switches
    • Error Codes
    • Version History

CreateOrg Event

The CreateOrg Event is triggered whenever a new organisation is created. A task attached to this event may be restricted to one or more types of organisation (e.g. ISV or Client) using the event filter.

Powershell Variables

The following variables are available to a Powershell script attached to this trigger:

  • $Org - Describes the organisation being created including, if applicable, its parent organisations. This variable is of type OrgScriptObject.

Examples

$OrgType = $($Org.Template.Name)
$AdGroupName = $($Org.AdSecurityGroupName)

The parent organisation (e.g The parent ISV of a newly created client) can be accessed through the 'Parent' property:

$ParentOrgName = $($Org.Parent.Name)

Custom fields are supported through the 'Custom' property:

$MyCustomField = $($Org.Custom.MyCustomField)

Legacy Support

The following legacy variables are available to a Powershell script attached to this trigger - they are provided for backward compatability only and should not be used in new scripts:

Warning

These variables are obsolete and will not be supported in the future

  • $orgGroupName - The name of the AD Security Group associated with this organisation.

  • $orgOuName - The name of the AD OU associated with this organisation.

  • $orgUid - The GUID of the AD OU associated with this organisation.

  • $orgName - The name of this organisation.

  • $orgShortName - The short name of this organisation.

Back to top © Virium Innovations 2017