Draft draft = getOverlaidDraft(object);
UUID variationId = param(UUID.class, "variationId");
Site site = getSite();
try {
state.beginWrites();
state.as(Workflow.Data.class).changeState(null, user, (WorkflowLog) null);
if (variationId == null ||
(site != null &&
((state.isNew() && site.getDefaultVariation() != null) ||