Use the model schema to update an existing model

You can use the schema of an existing model to add and configure entities and relationships for the Write to Model stage. The schema guides adding entities and relationships to the stage.

Before you perform this procedure, configure the source and control stages in a data flow to define and process the source data that you want to write to an existing Context Graph model.
  1. In Flow Designer, drag the Write to Model stage icon from the Context Graph panel to the canvas.
  2. Click the default "Write to Model" stage icon label to give the stage a more meaningful name.
  3. Drag an upstream connection to the input port on the Write to Model stage icon.
  4. Double-click the Write to Model icon to open its settings.
  5. In the Model box, click to select an existing model from the drop-down list.
    After you complete this step, the Show schema toggle switch appears in the top right. It is initially set to NO.
  6. In the Write mode box, click Exclusive lock or Concurrent write mode.
    For more information, see Write mode.
  7. Optional: If you want to remove entities without relationships from the model before closing the stage, check the Remove orphaned entities check box.
  8. Click the toggle to switch Show schema to YES.
    This displays entities and relationships from the selected model on the canvas. Items appear dimmed until they are configured.
  9. Click dimmed entities to configure and add them to the stage.
    Entities appear undimmed after they are configured.
  10. Click dimmed relationships between configured entities to configure and add them to the stage.
    Before you can configure a connecting relationship, both the source and target entity must be configured.
    Relationships appear undimmed after they are configured.
  11. Click Apply.
  12. On the toolbar, click the Save button .
Completing this procedure saves configured entities and relationships from the model schema in the Write to Model stage. Entities and relationships that have not been configured continue to appear dimmed on the canvas. Dimmed items are not saved in the Write to Model stage.