Hi All,
I am trying to duplicate an action that is under one Switch Case to all other cases. However, when i copy to clipboard and try to select the action from "My Clipboard", it gives me the following error message - "Failed to find SWITCH"CASE in definition". I can move the actions between cases, but i'd like to replicate the actions. It does not matter which Case I pick, the error message is the same, just the Case number changes.
Has anyone come across this issue before? or is aware of a potential solution?
Thanks.
Solved! Go to Solution.
Hi @silpiaskz
The copy actions to clip board and paste is a preview feature and currently there are a couple of issues including the switch case action control.
You can raise it as a bug here: https://powerusers.microsoft.com/t5/I-Found-A-Bug/bd-p/BugFound
This should be fixed in the upcoming releases.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @silpiaskz
This seems to be a bug
same case for me
reason is because the definition of the copied action is different when used inside switch case
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @silpiaskz
The copy actions to clip board and paste is a preview feature and currently there are a couple of issues including the switch case action control.
You can raise it as a bug here: https://powerusers.microsoft.com/t5/I-Found-A-Bug/bd-p/BugFound
This should be fixed in the upcoming releases.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
As a workaround you can place your copied activity somewhere near to switch case block but mind that out side the block . then you can drag that inside switch block smoothly without any error
I have figured out a workaround even when dealing with controls. It can be very useful when you have a lot of cases on your switch.
1. Create a parallel branch above your control
2. Create a scope under the parallel branch
3. Within the scope create the entire process you want for the case
4. Copy your scope to clipboard
5. Paste a new scope under the parallel branch as well
6. Drag your duplicate scope into the desired case
7. Update small changes accordingly per case
8. Rinse Repeat
best answer..thanks!
This is hilarious! Probably MS thought this way but didn't broadcast the message to the end users and hence their feature became bug! Alas!
Hi,
I encountered the same issue with Switch Case and the work around trick I did is, Every time I Update the item eq. Task Status from what is inputted in Post Adaptive Card with response, I will copy exactly the same case name as encircled with red in the expression below But not on the other cases which has a different Case Name.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
26 | |
25 | |
24 | |
22 | |
18 |
User | Count |
---|---|
58 | |
42 | |
36 | |
30 | |
30 |