cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Chitrakant27
Helper III
Helper III

Draw Pattern in power automate

Hii, How we draw the below pattern through automate.

Chitrakant27_0-1660195725212.png

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

@Chitrakant27 

Steps-

Hardesh15_0-1660304713582.png

Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

@Hardesh /Gopenly.in

View solution in original post

Sundeep_Malik
Solution Sage
Solution Sage

Hey, @Chitrakant27 , So, I did not do the exact pattern as your but I did it through looping and not directly attaching that to compose.

So here is what my flow looks like:

1) I created four variables 2 were integer and 2 were string.

Loop: is the interger variable to control the outer loop and I have given it a default value 6

Second Loop: is the integer variable to control the inner loop and the default value is 1.

Pattern: String variable to make pattern

NewLine: String variable for new line.

 

2) Then I have used 2 do until loops.

1st do until loop's condition:

Sundeep_Malik_0-1660311921264.png

 

2nd do until loop:

 

Sundeep_Malik_2-1660312042599.png

 

1st do until loops other actions:

 

Sundeep_Malik_3-1660312104977.png

 

Final Output:

 

Sundeep_Malik_4-1660312159419.png

 

I hope you like the solution. Thanks.

 

View solution in original post

7 REPLIES 7
Rhiassuring
Super User
Super User

You just ensure that whatever you're putting the characters into is right aligned...

What is the need? Are you needing to split the data into chunks of 5, 4, 3, 2, 1?  What will it be put into? Email? HTML Table? SharePoint?

Chitrakant27
Helper III
Helper III

Hey Thankyou for reply ,

I don't need split 

you heard that we create a program in java,python for pattern like 

Chitrakant27_0-1660279566383.png

Same way I want to create Automate flow and get the output like below pattern

 

Chitrakant27_1-1660279624217.png

 

 

@Chitrakant27 Here it is but its hard coded.

Hardesh15_0-1660284917928.png

Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

@Hardesh /Gopenly.in

 

Chitrakant27
Helper III
Helper III

Hi  @Hardesh15 

 

Pls can you share  step , How we achieve this ?

.

@Chitrakant27 

Steps-

Hardesh15_0-1660304713582.png

Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

@Hardesh /Gopenly.in

Sundeep_Malik
Solution Sage
Solution Sage

Hey, @Chitrakant27 , So, I did not do the exact pattern as your but I did it through looping and not directly attaching that to compose.

So here is what my flow looks like:

1) I created four variables 2 were integer and 2 were string.

Loop: is the interger variable to control the outer loop and I have given it a default value 6

Second Loop: is the integer variable to control the inner loop and the default value is 1.

Pattern: String variable to make pattern

NewLine: String variable for new line.

 

2) Then I have used 2 do until loops.

1st do until loop's condition:

Sundeep_Malik_0-1660311921264.png

 

2nd do until loop:

 

Sundeep_Malik_2-1660312042599.png

 

1st do until loops other actions:

 

Sundeep_Malik_3-1660312104977.png

 

Final Output:

 

Sundeep_Malik_4-1660312159419.png

 

I hope you like the solution. Thanks.

 

@Sundeep_Malik  Thank you so much 

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,707)