mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-31 12:19:48 -06:00
25 lines
693 B
C#
25 lines
693 B
C#
namespace FileFlows.BasicNodes.Functions
|
|
{
|
|
using FileFlows.Plugin;
|
|
using FileFlows.Plugin.Attributes;
|
|
|
|
public class GotoFlow : Node
|
|
{
|
|
public override int Inputs => 1;
|
|
public override int Outputs => 0;
|
|
|
|
public override FlowElementType Type => FlowElementType.Logic;
|
|
public override string HelpUrl => "https://docs.fileflows.com/plugins/basic-nodes/goto-flow";
|
|
public override string Icon => "fas fa-sitemap";
|
|
|
|
[Select("FLOW_LIST", 1)]
|
|
public ObjectReference Flow { get; set; }
|
|
|
|
|
|
public override int Execute(NodeParameters args)
|
|
{
|
|
args.GotoFlow(Flow);
|
|
return 0;
|
|
}
|
|
}
|
|
} |