id: d7_workflow_state
label: Migrate workflow states
audit: true
migration_tags:
  - Drupal 7
  - Workflow
source:
  plugin: d7_workflow_state
process:
  id: name
  status: status
  label: state
  wid:
    -
      plugin: migration_lookup
      migration: d7_workflow
      source: wid
  weight: weight
  sysid: sysid
destination:
  plugin: 'entity:workflow_state'
migration_dependencies:
  required:
    - d7_workflow
  optional:
    - d7_workflow
