FF-1148: Added option to Goto Flow to update flow in the file

This commit is contained in:
John Andrews
2024-04-16 16:01:47 +12:00
parent 7e9a96c762
commit f68d9b4eae
2 changed files with 9 additions and 1 deletions
+6
View File
@@ -24,6 +24,12 @@ public class GotoFlow : Node
/// </summary>
[Select("FLOW_LIST", 1)]
public ObjectReference Flow { get; set; }
/// <summary>
/// Gets or sets if the flow this file is processing with should be updated to this new flow
/// </summary>
[Boolean(2)]
public bool UpdateFlowUsed { get; set; }
/// <inheritdoc />
public override int Execute(NodeParameters args)
+3 -1
View File
@@ -181,7 +181,9 @@
"GotoFlow": {
"Description": "This lets you switch to a different flow to process. This flow will exit and the parameters and working file will be passed into the new Flow",
"Fields": {
"Flow": "Flow"
"Flow": "Flow",
"UpdateFlowUsed": "Update Flow",
"UpdateFlowUsed-Help": "If the files `Flow` should be updated to reference this new Flow or leave it as the original Flow."
}
},
"Reprocess": {