I’ve run into a problem with our AWS implementation for Salesforce with Rules.
Right now, when multiple SF records are changed to update their position in a given Rule, we trigger a lambda function that’ll update the Rule. However, the saveRule function doesn’t update in time for the next triggered event. This causes the Rule to only contain the updated params for the most recent event.
Is there a way to update a Rule and keep the existing conditions and params without having to query for the rule, grab the existing conditions and params, and then add them to the updated rule?
I tried looking into adding delays between Lambda functions, but failed to do re-create via SQS.