Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PFUN-21265

...

  • uniqueName* – Name of the Model Object, used in other parts of the application to reference a Model Object when using api.model(String). It can be modified but the references will not be updated automatically.

  • label – Human readable name of the Model Class, displayed to the user.

  • modelClassUN* – Unique name of the Model Class describing what the Model Object will look like and how it will behave.

  • state – JSON representation of all the inputs that were saved while manipulating the Model Object. This field is not to be manipulated directly by users but only by the frontend and read in logics by the special methods on the model context.

Model Object States

  • DRAFT – The model is not fully calculated.

  • CALCULATING – The model is being calculated.

  • ERROR – There was an error in the last calculation.

  • READY – The model is fully calculated and/or is submitted/approved/denied.

  • INVALID – There is something is wrong with the configuration, for example a ModelClass contains incorrect JSON or a ModelObject refers to a ModelClass that does not exist. If a user sees this state, it is best to contact the project CEs or support.

Associated Domain Objects

...