Naming Conventions
  • 24 May 2023
  • Dark
    Light
  • PDF

Naming Conventions

  • Dark
    Light
  • PDF

Article Summary

IAP Naming Conventions

This guide highlights the set of rules around naming conventions for certain values inside of the Itential Automation Platform (IAP).

Application Names

For custom applications, the id in the pronghorn.json file is a combination of the scope and the application name, which also represents the file path for the application within the node_modules directory. For example, the scope could be @scope and the name app-name which would make this id @scope/app-name.

The rules for the scope and the application name are listed below:

  1. Must have a length of at least one character.
  2. Must not contain any uppercase characters.
  3. Must start with a lowercase character.
  4. Can contain a dot (e.g. ".").
  5. Can contain a dash (e.g. "-").
  6. Can contain an underscore (e.g. "_").

Parameter and Return Value Names

Parameter and Return values in methods and manual tasks are defined in the pronghorn.json model for an application. The names of these values are restricted to the following rules:

  1. Must have a length of at least 1 (one) character, with a maximum length of 255.
  2. Can contain letters and characters from any written language that is supported in Unicode. Please see the Note below for the recommended approach.
  3. Can contain numbers.
  4. Can contain underscore (e.g. "_").
  5. Can contain dash (e.g. "-").
  6. Cannot contain punctuation from any written language that is supported in Unicode.
  7. Cannot start with a number or dash.
  8. Cannot contain other special characters.
  9. Cannot contain whitespace characters.

Note: It is recommended that parameter and return value names be limited to alphanumeric characters only and not unicode characters.

Examples

  • device
  • Device
  • router_device
  • _device
  • device2
  • gerät
  • 端末

Job Variable Names

Any job variable names created by an automation designer within Automation Builder must follow the naming conventions and rules set forth by the Parameter and Return Value Names section above.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.