0

I have a flow expression formula for one of the date columns as:

addDays(startOfMonth(addToTime(triggerBody()['DueDate'],1,'Month')),sub(dayOfMonth(triggerBody()['DueDate']),1),'yyyy-MM-dd')

In above case, the trigger used is 'When item is created or modified'. Now i have another flow where I am using Recurrence as trigger so I can no longer use triggerbody but i have a get items action that gets all items from sharepoint list.

So I modified the formula as

addDays(startOfMonth(addToTime(body('Get_items')['DueDate'],1,'Month')),sub(dayOfMonth(body('Get_items')['DueDate']),1),'yyyy-MM-dd')

but its giving me syntax error, can someone help me with the correct syntax please, thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.