snaker-core/src/main/java/org/snaker/engine/core/OrderService.java
public void addVariable(String orderId, Map<String, Object> args) {
        Order order = access().getOrder(orderId);
        Map<String, Object> data = order.getVariableMap();
        data.putAll(args);
        order.setVariable(JsonHelper.toJson(data));
        access().updateOrderVariable(order);
    }
public void addVariable(String orderId, Map<String, Object> args) {
        Order order = access().getOrder(orderId);
        Map<String, Object> data = order.getVariableMap();
        data.putAll(args);
        order.setVariable(JsonHelper.toJson(data));
        access().updateOrderVariable(order);
    }
向活动实例临时添加全局变量数据
@param orderId 实例id
@param args 变量数据