You need to sign in to do that
Don't have an account?
Priya Mishra
Getting error while submitting the form
Hi All,
when a user is trying to submit the visualforce page he is getting this error what can be the resion to solve this issue.
Thanks in advance.
when a user is trying to submit the visualforce page he is getting this error what can be the resion to solve this issue.
Thanks in advance.
Greetings to you!
According to Salesforce knowledge article (https://help.salesforce.com/articleView?id=000239860&type=1):
This error can show up when saving a record, running an apex test class manually or via deployment and performing and insert/update through the API.
Here are the various options that will help you understand the cause for the error,
1. Get the version Id from the error message
2. Login to Workbench
3. Go to Utilities > REST Explorer >> Perform a GET
4. Add the following to the URI field and change the Id with the FlowId you are investigating /services/data/vXX.x/tooling/sobjects/flow/30124000000PcNDAA0 [NOTE: vXX.x refers to the API version and as new tooling API features are released, use the latest version]
5. Click Execute
6. Open the 'attributes' folder
7. Check the 'ProcessType', if the value is 'Flow' then this is a normal flow, if the value is 'Workflow', this is a Process. Here you can also see the MasterLabel, which should provide you with the name of the flow/process.
8. Explore the Flow Metadata tree to see what a specific element is doing, this is more useful when it's a Process Builder Flow since the error email and other error messages sometime refer to the auto-generated name like myRule1_1.
NOTE: Executing a DELETE in REST explorer will in fact delete the flow if inactive. Please be careful when using DELETE option in REST Explorer.