Hi @sharepointuser1,
The challenge is that the when an item is created trigger action doesn't include the RecurrenceData field. You have to add another request in your flow to retrieve these values.
After that you could create a new event item in the target list with a Send an HTTP request to SharePoint action.
Below is an example of that approach.
Btw, you can still reuse your create Item action in the If no section.
Uri to retrieve RecurrenceData of created item
_api/web/lists/getbytitle('Events')/items(@{triggerOutputs()?['body/ID']})?$select=*,Duration,RecurrenceData
Expression to retrieve fRecurrence field in the Condition action:
body('Send_an_HTTP_request_to_SharePoint_-_GET_RecurrenceData')['d']['fRecurrence']
Body for the creating the new event item in the target list. It includes an expression to retrieve the RecurrenceData (xml) value. The replace function is used to replace " by the ' character.
{
"Title": "@{triggerOutputs()?['body/Title']}",
"EventDate": "@{triggerOutputs()?['body/EventDate']}",
"EndDate": "@{triggerOutputs()?['body/EndDate']}",
"EventType": @{triggerOutputs()?['body/EventType']},
"fRecurrence": true,
"RecurrenceData": "@{replace(body('Send_an_HTTP_request_to_SharePoint_-_GET_RecurrenceData')['d']['RecurrenceData'], '"', '''')}"
}
