cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
arslanarif
Helper I
Helper I

Dynamically Create New Records with based on calculated field

Good Day and thank you for your interest. 

 

We have a business requirement where we want to dynamically create a new record based on a specified whole number (calculated column). I tried the apply to each method but maybe I am missing an expression. The calculated column is "Prepaid Periods" i.e.  'crbdd_prepaymentperiods' which ranges between 1-12 represting the months in a year.

 

The scope of the flow is to create a new record (General Ledger entry for financial tracking) for each and every month as calculated by the 'crbdd_prepaymentperiods' column. So if the calculated column is '3'; we would need for the create a new record every month for 3 months. Hopefully thats simple enough. 

 

This is what we have so far, it creates on a single record, but we need it to create a dynamic number of new records based on the calculated item. Any and all help would be much appreciated. 

Regards, Sunny

 

Prepaid Billed Services.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Mira_Ghaly
Dual Super User II
Dual Super User II

@arslanarif 

I think you need to use do until action to be able to do this dynamic records creation , hope this gives you an idea!

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

2 REPLIES 2
Mira_Ghaly
Dual Super User II
Dual Super User II

@arslanarif 

I think you need to use do until action to be able to do this dynamic records creation , hope this gives you an idea!

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
arslanarif
Helper I
Helper I

Got it. Thank You

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,737)