Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A api
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ironapi
  • api
  • Wiki
  • Api
  • Transitions
  • Successor

Last edited by Andrea Pavlovic Sep 19, 2022
Page history

Successor

The successor attribute for any delete type transition may be used to update any instances referring to the instance which is being deleted to be updated with the instance defined in successor.

When defining an entity in a xml schema, the delete flag may be set to false, which means that when deleting an instance, the successor flag must always be defined.

Otherwise, as in the following example, any instance may be deleted without defining a successor:

<entity name="sensor" label="Sensor" description="Sensor" delete="true" translatable="false">
Clone repository
  • API
    • Available Endpoints
    • Changing Passwords
    • Form Input Types
    • Introduction
    • Logout
    • Plugins
    • Queries
    • Queries
      • Attributes
      • Context
      • Query Examples
      • Query Search Options
      • Referenced Instances
      • Saved Queries
    • Schema_Changes
    • Storing Files
View All Pages