- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 06:34 PM
In Flow Designer if I have an existing if statement how do I make that if statement an else if statement and insert a new if statement before it. For example if we look at the OOB Create Incident SubFlow it has an if statement "If Alert is not already closed". The bulk of the work for creating the incident occurs if that if is true. I need to insert some logic before that if statement such as:
if condition
then do something
else If "Alert is not already closed"
then do all the OOB incident creation actions.
I can of course start over and rebuild the entire SubFlow but I don't want to do that.
Or I can add an else if after the if and rewrite each but then I have to move all the content from the if to the else if and that will loose all the data pills already in place.
I need to be able to select before the if and say make a new if and make this if an else if.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 06:40 PM
Hi @kbsimm
Unfortunately flow designer doesn't support converting an if logic to else if logic . And you have to move them to the new block.
.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 06:40 PM
Hi @kbsimm
Unfortunately flow designer doesn't support converting an if logic to else if logic . And you have to move them to the new block.
.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 08:58 PM
Hi @kbsimm ,
The **Else If** logic was evaluated true and went to the next step of **Update Record** where **Request Cancelled** stage was used.
When the flow hits this stage, it will trigger the **cancel flow on request cancelled** business rule and cancels the entire flow execution.
So, it will not run the action.