cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NurNida
Level: Powered On

AddDays - to pick up day to add form field

adddays.PNGI have a lookup colum for Days to send reminder. Sample above, I hardcode -1 days but need it to be auto select from the list.

 

How to modify this?

 

Reminder Prompt Day is form lookup list which I am not able to create compute field to calculate the add days.

 

adddays2.PNG

 

 

 

 

3 REPLIES 3
Community Support Team
Community Support Team

Re: AddDays - to pick up day to add form field

Hi @NurNida,

 

What’s the type of column Product ClassificationReminder Prompt vale? Is it of type number?

Please try to enter the code in the formula bar under Expression tab. When configuring the code, you could just select the corresponding dynamic content from Dynamic content tab.

I have made the following test. The code is configured likes below:

formatDateTime(addDays(utcnow(),triggerBody()?['Number']),'yyyy-MM-dd')

 1.PNG

Besides, you could also just copy the part items(‘Apply_to_each’)?[‘Product_x0020_Classification_x00’]?[‘Value’] and replace the dynamic content you selected from the previous action.

Please take a try with both, and feel free post back if you have any questions.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
NurNida
Level: Powered On

Re: AddDays - to pick up day to add form field

Hi       

 

Product ClassificationReminder Prompt is a number.

I have done it as below and it works.

 

2.PNG

 

 

NurNida
Level: Powered On

Re: AddDays - to pick up day to add form field

Btw, how do I know my output result. 

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,571)