mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-22 10:57:59 +00:00
feat(ui): duplicate workflow node
This commit is contained in:
@@ -22,7 +22,6 @@ func NewExecuteFailureNode(node *domain.WorkflowNode) *executeFailureNode {
|
||||
|
||||
func (n *executeFailureNode) Process(ctx context.Context) error {
|
||||
// 此类型节点不需要执行任何操作,直接返回
|
||||
n.logger.Info("the previous node execution was failed")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
@@ -22,7 +22,6 @@ func NewExecuteSuccessNode(node *domain.WorkflowNode) *executeSuccessNode {
|
||||
|
||||
func (n *executeSuccessNode) Process(ctx context.Context) error {
|
||||
// 此类型节点不需要执行任何操作,直接返回
|
||||
n.logger.Info("the previous node execution was succeeded")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
@@ -22,7 +22,7 @@ func NewStartNode(node *domain.WorkflowNode) *startNode {
|
||||
|
||||
func (n *startNode) Process(ctx context.Context) error {
|
||||
// 此类型节点不需要执行任何操作,直接返回
|
||||
n.logger.Info("ready to start ...")
|
||||
n.logger.Info("workflow is started")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user