Skip to content

Commit

Permalink
Added "sf texei source flow convert" command
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienTaillon committed Sep 10, 2024
1 parent 6efe471 commit 76a45e2
Show file tree
Hide file tree
Showing 6 changed files with 6,085 additions and 1,233 deletions.
9 changes: 7 additions & 2 deletions messages/texei.source.flow.convert.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Convert a Flow to a Subflow

# description

Convert a Flow to a Subflow
This command converts a record-triggered flow to a subflow, either by overriding it (default behavior) or saving it to a new file.
If the source Flow has Entry Conditions there are not kept (subflows don't have entry conditions) and a warning is displayed.

# flags.name.summary

Expand All @@ -20,7 +21,7 @@ Name of for new Flow file. If not provided, converted source Flow is overridden

# examples

- sf texei source flow convert --name My_Flow
- sf texei source flow convert --name My_Flow --save-to-file-name My_Converted_Flow

# warning.beta

Expand All @@ -29,3 +30,7 @@ This command is in BETA, test the converted Flow, and report any issue at https:
# warning.filters

The source Flow has Entry Conditions that can't be moved to Subflow, review them and add them either as a decision node or to the parent Flow according to the needs

# error.no-scheduled-paths

The source Flow has Scheduled Paths, which are not possible in subflow. Review your Flow manually.
Loading

0 comments on commit 76a45e2

Please sign in to comment.