Managing Job Conflicts

If you work with several jobs, you can cause conflicts. For example, if you modify a feature in one job, and then modify it differently in another job, the modifications may conflict.

You can lock features to avoid conflicts, using two types of feature locking: pessimistic feature locking and optimistic feature locking. For more information, see the “Infrastructure Administrator Guide.”

Pessimistic Feature Locking

With pessimistic feature locking, you cannot modify a feature in Job A if the feature is being used in Job B. To resolve the conflict, perform a partial posting in Job B. The feature then becomes available in Job A.

When you modify a feature in a job, the feature will be locked automatically. To prevent job conflicts in advance, you can lock a feature manually, before they are modified. This ensures that no other job will use the features.

You cannot unlock a feature that is being modified in another job. A feature that is locked by a job will be unlocked, either when you undo the modification or when you set the job to live.

To lock and unlock features

  1. In the Industry Model Explorer, select a job and click .
  2. Expand the Locked Features node.
  3. Select a feature class.
  4. Click Lock Features.
  5. Select the features in the map.

    Features that are modified in the job are locked automatically.

  6. To unlock the features, click Unlock Features.

The selected features are added to the Locked Features item, where only manually locked features are listed. Automatically locked features are listed under the Inserted, Updated, and Deleted nodes.

Optimistic Feature Locking

With optimistic feature locking, job conflicts can be detected only when you change the job state of all jobs.

To manually check for job conflicts, use Job Manager or Job Explorer. Job conflicts are detected only if a concurrent job has a different job state. For example, no conflicts are detected as long as the jobs are open.

To use Job Manager to manually check for job conflicts

  1. In the Industry Model Explorer, click to start Job Manager.
  2. In Job Manager, expand JobsJob States.
  3. Right-click the open job and click Check Job Conflict.
  4. Select the job state for the check and click OK.

To use Job Explorer to manually check for job conflicts

  1. In the Explorer, select a job and click .
  2. Select the features to check.
  3. Click Check For Job Conflicts.
  4. Select the job state for the check and click OK

    The Job Conflict Explorer displays any conflicts that are detected.Each conflict is shown in a separate tab.

  5. Expand the items in the Job Conflict Explorer. Do any of the following:
    • To cancel a modification, select the feature and click Delete Modification.
    • To see all features of the current job, expand the MyJob node
    • To see all jobs that are affected by the feature conflict, expand the <other jobs> node.

    For example, if you modify a feature in one job and then delete that feature in another job, you cannot set them both to pending: a conflict will result. Use Delete Modification to undo one of your changes and eliminate the conflict.

To use automatic job conflict validation