跳到主要内容

onAfterAutoScheduleConflictResolve

信息

This event requires the Gantt PRO auto_scheduling plugin and prompt or adjust mode.

Description​

Fires after Gantt completes an interactive or automatic constraint conflict resolution

onAfterAutoScheduleConflictResolve: (choice: AutoScheduleConflictChoice, conflicts: AutoScheduleConflict[], changedTaskIds: Id[], changedLinkIds: Id[]) => void;

Parameters​

  • choice is "adjust", "deactivate", "remove", "keep" or "cancel".
  • conflicts describes the constraint conflicts that led to the resolution.
  • changedTaskIds lists the tasks whose constraints were adjusted or removed.
  • changedLinkIds lists the links that were deactivated.

Details​

The two ID arrays describe the changes made by the selected remedy. Both arrays are empty for "cancel".

Change log​

  • Added in v10.1.
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.