public SuspendedExecutionData(SuspendedExecution suspendedExecution) {
   id = suspendedExecution.getId();
   activityInstanceId = suspendedExecution.getActivityInstanceId();
   currentActivityId = suspendedExecution.getCurrentActivityId();
   operationType = suspendedExecution.getOperationType();
   currentTransitionId = suspendedExecution.getCurrentTransitionId();
   breakPointType = suspendedExecution.getBreakPoint().getBreakPointSpec().toString();
   variables = new ArrayList<VariableInstanceDto>();
   VariableMap variables = suspendedExecution.getVariablesTyped();
   for (String name : variables.keySet()) {
     this.variables.add(new VariableInstanceDto(name, variables.getValueTyped(name)));
   }
 }
 protected static DecisionInvocation createInvocation(
     DecisionDefinition decisionDefinition, VariableMap variables) {
   return createInvocation(decisionDefinition, variables.asVariableContext());
 }