Hello,
I have a Flow Action on an Agentforce Service Agent that should be able to create Event records. The flow works in debug mode but when the agent tries to run the flow I get this error:
an error occurred while your "Create Conference Event for Contact" flow was running.
Debug this flow in Flow Builder.
Error element Create_Event (FlowRecordCreate).
This error occurred when the flow tried to create records: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: entity type cannot be inserted: Event. You can look up ExceptionCode values in the
.
I tried to give the agent access to events with a permission set, but there is no option in aa permission set to give Create access to the Event object. Only to change some it's field's access. I thought maybe then that you could do it from the Activity object in the permission set (since tasks and events stem from Activity) but this does not appear to be the case either. I cannot see an Activities object at all in the Object Settings in a new permission set.
Please help if you have any idea how to make it possible for a Service Agent to have access to create Event records.
Thank you!
#Agentforce #Permissionset
Honestly, I am not sure. If the following fail to resolve your issue, I would open a ticket with support. Here are a few things to check that might clear this up:
- System Permissions: Can you double-check the Permission Set for the Edit Events toggle under System Permissions?
- Related Object Access: Does the agent have at least Read access to the records they are trying to link the event to (like the specific Lead, Contact, or Account)?
- Field Level Security (FLS): Are all the fields you're trying to map in that Create_Event element marked as editable for the agent?
Be well- Katende