Skip to main content

Adding an Attribute (Service Entity)

Steps to Add an Attribute:​

  1. Navigate to the Explorer Menu.
  2. Right-click an existing Service Entity and select Add Attribute.
  3. Click ‘+New’ in the properties panel.
  4. Configure the attribute properties.
  5. Click Save to apply changes.
  6. A confirmation message "Attribute Added Successfully" appears.

Attribute Properties​

PropertyDescriptionComments
Name*Name of the attribute.Must start with a letter. No spaces or special characters except '_'.
Data Type*Defines the type of data stored.Options: String, Integer, Long, Double, Boolean, DateTime, Binary, Complex, Map, Any, FormFile.
Is ArraySpecifies if multiple values can be stored.Accepts either Yes or No (default: No).
ExampleProvides a sample value.Used in Swagger documentation.
Reference Entity*Links the attribute to another entity.Required if Complex datatype is selected.
MandatoryDefines if the attribute is required.Accepts either Yes or No (default: No).
ScaleSpecifies decimal precision.Only applicable for Double data type. For example, in the number 123.456, the scale is 3 because there are three digits after the decimal point: 4, 5, and 6.
PrecisionTotal number of significant digits.Only applicable for Double data type. For example, in the number 123.456, the precision is 6 because there are six significant digits: 1, 2, 3, ., 4, 5, and 6
Date OptionDefines date formatting rules.Options: Fixed (specific format) or Current Date (dynamic timestamp).
Default ValueDefines a preset value.Optional. Useful for setting standard values.
Reference KeyAssigns a key when Map datatype is selected.Required for mapping relationships.
Reference ValueAssigns a value when Map datatype is selected.Can store multiple values if IsArray is enabled.
DescriptionShort description of the attribute.Useful for documentation purposes.
note

An asterisk (*) denotes that the property is mandatory for creating an attribute.