package cn.stylefeng.workflow.instance.modular.task.taskopt;

import cn.stylefeng.workflow.api.entity.design.Node;
import cn.stylefeng.workflow.api.entity.task.RuTask;
import cn.stylefeng.workflow.api.pojo.InstanceVariable;
import cn.stylefeng.workflow.instance.modular.task.pojo.operate.DelegateTaskByInstanceIdRequest;
import cn.stylefeng.workflow.instance.modular.task.pojo.operate.DelegateTaskRequest;

public interface TaskDelegateService {

    void delegate(DelegateTaskRequest delegateTaskRequest);

    void updatePointNodeUserId(Node currentNode, RuTask originRuTask, RuTask newTransferTask, Long instanceId, InstanceVariable instanceVariable);

    void delegateByInstanceId(DelegateTaskByInstanceIdRequest delegateTaskByInstanceIdRequest);
    
}