I am trying to call a Autolaunched Flow from Process. In flow I have two elements, that the first element to call apex method with passing few parameters from flow to perform logic and updating records. After completion of this the second element will send email.
When I insert/update a record from UI its working fine without error. When I try to insert bunch of records from developer console its throwing error from process builder.
Error: Encountered unhandled fault when running process Rollup_Process_with_Flow/30124000000PJwI exception by user/organization: 00D2400000*****/{4}
An error occurred when executing a flow interview.
caused by element : FlowActionCall.myRule_1_A1
caused by: An error occurred when executing a flow interview.
Any idea on this error ?