Update records into salesforce from AWS

0

Hello,

We are trying to update records in salesforce with some data, Intially we tried to use the python library called "simple-salesforce" in bulk update mode in aws lambda but everything was working fine but when we are thousands of records coming into the sqs queue and lambda is processing them it was failing with an error ""CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY:HDFC_DASH_LeadTrigger: System.LimitException: Too many queueable jobs added to the queue: 51".

So most of the time updating into salesforce is failing and we integrated aws appflow. Right now data is inserted from sqs into s3 bucket as csv by a lambda function and aws appflow runs every 5 minutes in increamental basic using bulk mode it will update the records appflow if able to handle a little more records than simple-salesforce python library but it is still failing at times of high messages with the same error which is mentioned above.

Is there anything I can do to overcome this error, or is there any AWS service or anyway to update records into salesforce rather than these two options which would not fail upon thousands of requests?

1개 답변

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠