Skip to main content

SFHub Identifiers

All SFHub variables must be identified with unique names called identifiers.

Enumerator identifiers MUST be string literal and follow the below general rules for constructing their names:

  • Cannot start with $ or _

  • Cannot contain special characters { } [ ]

  • Cannot contain operators

  • Names are NOT case sensitive

  • Keywords cannot be used as names


Valid identifiers

Enum

My_Enum

Enum1


Invalid identifiers

_enum

$Enum

{Enum}


Task

An enumerator, defined outside the task, should not be referenced within any function executed as a task. The reason for this is that tasks run in parallel to the analytic and therefore, the result will be unpredictable.