Click Add Path and then click the block to set the value that flips the switch (for example, if you want the flow to take one path based on "High" priority and another based on "Medium" priority, add paths for High and Medium).For example, in our priority scenario, you could use the priority output of a trigger as the switch property. This list is populated with available properties, and you can quickly find properties or outputs with the Search bar. Select the property you want to use to decide which path the flow takes.Enter a label for the switch (for example, if the split in your flow is based on alert priority, you might label the switch Priority).Double-click the step to open the setup screen (or move your cursor over the step and click the pencil icon).The value of a "Team" property: "Alpha" follows one path that includes a "Post to Alpha Chat" step and "Beta" follows another path that posts to the Beta Chat channel.A success response from a Create Ticket step: "201" continues the flow, while "400" sends a notification that something went wrong.The value of a "Severity" property: "Critical" goes one way, "High" another, everything else follows a third, default path.Here are a few examples of how you can use a switch step: ![]() You can base this decision point on the value of almost any property in the flow such as trigger outputs, constants, or outputs of previous steps. It determines which route the train - or flow - needs to take next. Switch stepĪ switch step functions like the switch on a set of railway tracks. The Utilities steps let you do things such as modify your flow based on information coming from previous steps or send information coming through the flow to other systems. For example, if you wanted the specify a string of six characters or shorter, you could select String 10 characters or shorter and then modify the expression. ![]() Note that you can select a predefined pattern from the Pattern Library drop-down list and then modify it to suit your needs (it will automatically be saved as a Custom pattern).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |