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

import cn.stylefeng.workflow.api.entity.design.Definition;
import cn.stylefeng.workflow.api.pojo.InstanceContext;
import cn.stylefeng.workflow.api.pojo.InstanceVariable;
import cn.stylefeng.workflow.api.pojo.config.node.approver.ApproverConfig;

import java.util.Set;

public interface RuApproverService {

    Set<Long> getNodeApproverResult(ApproverConfig approverConfig, InstanceContext instanceContext);

    Set<Long> customGetNodeApproverResult(ApproverConfig approverConfig, Long applicantOrgId, Definition flowDefinition,
                                          InstanceVariable instanceVariable);

}