Interface CreateBatchOperationCommandStep1.ProcessInstanceMigrationStep<E extends TypedFilterableRequest.SearchRequestFilter>

All Superinterfaces:
CreateBatchOperationCommandStep1.CreateBatchOperationCommandStep2<E>
All Known Implementing Classes:
CreateBatchOperationCommandImpl
Enclosing interface:
CreateBatchOperationCommandStep1

public static interface CreateBatchOperationCommandStep1.ProcessInstanceMigrationStep<E extends TypedFilterableRequest.SearchRequestFilter> extends CreateBatchOperationCommandStep1.CreateBatchOperationCommandStep2<E>
  • Method Details

    • migrationPlan

      Sets the whole migration plan for the batch operation. The migration plan contains the detailed instructions how to migrate single active elements from the source process definition to the target process definition.
      Parameters:
      migrationPlan - the migration plan to use for the batch operation
      Returns:
      the builder for fluent use
    • addMappingInstruction

      CreateBatchOperationCommandStep1.ProcessInstanceMigrationStep<E> addMappingInstruction(String sourceElementId, String targetElementId)
      Adds a single migration mapping instruction to the command.
      Parameters:
      sourceElementId - the id of the source element to migrate
      targetElementId - the id of the target element to migrate into
      Returns:
      the builder for fluent use
    • targetProcessDefinitionKey

      CreateBatchOperationCommandStep1.ProcessInstanceMigrationStep<E> targetProcessDefinitionKey(long targetProcessDefinitionKey)
      Sets the target process definition key for the migration.
      Parameters:
      targetProcessDefinitionKey - the key of the target process definition to migrate to
      Returns:
      the builder for fluent use