Process Automation Flashcards
Debug Production Issue Steps
- Debug Trace On User
- Log Inspector
3.Verify process/trigger is active
When do validations fire?
Custom validations fire after field updates by processes but not after workflow field updates.
Do processes fire after workflow rules?
Yes
What is required on a custom exception class
It should extend the Exception Class
How is Metadata Type defined
Using the <name> element</name>
What is the <Types> element</Types>
it contains the metadata type to be retrieved or deployed in package
what is package.xml
defines components that need to be retrieved or deployed
Requirements to expose Rest class that makes callout
annotate exposed methods with http method
define url mapping
annotate top-level class with @RestResource
Outline Continuation Class
3 callouts can be made using addHTTPRequest()
Use async call outs
Chain requests
Prevent loss of published event messages
Suspend subscription of Apex Trigger to event
Get metadata of object to display on VF Page
- getLabel()
- getMap() - returns map to access field names
- getPicklistValue()
Prevent duplication of Queueable Apex
QueueableDuplicateSignature class
Chain async jobs
Use queueable apex
Schedule Batch class
System.schedule
When can you directly access a field via a SOQL Query
When the query only returns one result