docs: public Object getPersistentState() {
      Map<String, Object> persistentState = new HashMap<>();
      persistentState.put("processDefinitionId", this.processDefinitionId);
      persistentState.put("businessKey", businessKey);
      persistentState.put("activityId", this.activityId);
      persistentState.put("activityInstanceId", this.activityInstanceId);
      persistentState.put("isActive", this.isActive);
      persistentState.put("isConcurrent", this.isConcurrent);
      persistentState.put("isScope", this.isScope);
      persistentState.put("isEventScope", this.isEventScope);
      persistentState.put("parentId", parentId);
      persistentState.put("superExecution", this.superExecutionId);
      persistentState.put("superCaseExecutionId", this.superCaseExecutionId);
      persistentState.put("caseInstanceId", this.caseInstanceId);
      persistentState.put("suspensionState", this.suspensionState);
      persistentState.put("cachedEntityState", getCachedEntityState());
      persistentState.put("sequenceCounter", getSequenceCounter());
      return persistentState;
    }