Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error calling Flow #15

Closed
douglascayers opened this issue Jan 14, 2018 · 1 comment

Comments

1 participant
@douglascayers
Copy link
Member

commented Jan 14, 2018

Per Brian:

I’m getting this error, after I already had one successful manual run (adding to campaign automatically just like your video). Ideas?

Error: System.HttpResponse[Status=Bad Request, StatusCode=400]
[{“actionName”:”Add_to_Current_Month_Collections_Campaign”,”errors”:[{“statusCode”:”UNKNOWN_EXCEPTION”,”message”:”An error occurred when executing a flow interview.”,”fields”:[]}],”isSuccess”:

Long MessageThe full error message, particularly if more than 255 characters.
Error: System.HttpResponse[Status=Bad Request, StatusCode=400]
[{“actionName”:”Add_to_Current_Month_Collections_Campaign”,”errors”:[{“statusCode”:”UNKNOWN_EXCEPTION”,”message”:”An error occurred when executing a flow interview.”,”fields”:[]}],”isSuccess”:false,”outputValues”:null},{“actionName”:”Add_to_Current_Month_Collections_Campaign”,”errors”:[{“statusCode”:”UNKNOWN_EXCEPTION”,”message”:”An error occurred when executing a flow interview.”,”fields”:[]}],”isSuccess”:false,”outputValues”:null}]
System.HttpRequest[Endpoint=callout:Mass_Action_Scheduler/actions/custom/flow/Add_to_Current_Month_Collections_Campaign, Method=POST]
{
“inputs” : [ {
“SObjectId” : “0033B00000IYgOc”
}, {
“SObjectId” : “0033B00000IYlIW”
} ]
}

@douglascayers douglascayers self-assigned this Jan 14, 2018

@douglascayers

This comment has been minimized.

Copy link
Member Author

commented Jan 14, 2018

By chance does your Flow or Process Builder do any checking to prevent trying to insert the contact as a CampaignMember twice? Salesforce will only allow a Contact or Lead belong to a campaign once, any attempts to insert a second CampaignMember with same Contact and Campaign IDs will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.