Process Automation and Logic Flashcards
If there are 2 process with same criteria and two distinct action, is there way to predit which will fire first?
No
What can be used to run Apex code from flow?
Process.Plugin or @InvocableMethod
What will happen if max size limit for debug log is reached?
Older events will start truncating (partially, starting from System.debug statements)
When custom validation rules are fired again in Order of Execution?
After processes occured that cause record reevaluation and save procedure repeating
Does workflow rule with field update affects fields values that will be in Trigger.old?
No
When same triggers, flows with same criteria defined. Does order guaranteed?
No
What method of Flow.Interview is used to start the flow?
FlowInterview.start()
In Debug Log, which suffixes are used to identify old and new value?
_old and _current
What error raised if required fields are missing when performing DML on sObject?
DMLException
List of all debug categores?
Database, workflow, validation, Apex code, callout, Apex profiling, Visualforce, Wave, System
What can be used to modify look-and-feel of Flow?
flow:interview in Visualforce
Does workflow rules and processes are supported for External Objects?
No
Will duplicate rules fired after workflow field updates?
No
Can user be created in the same transaction as other records?
Yes, but only without role
How Apex class can be scheduled?
Using scheduleBatch for standard Apex class schedule for batch apex class
How Apex class can be scheduled?
Using scheduleBatch for standard Apex class schedule for batch apex class
How to monitor progress of Apex job?
Query AsynchApexJob or open ApexJobs in UI
How Queueable can be run?
Using System.enqueueJob
What Visualforce tags can respond on user interaction
actionSupport
actionFunction
What objects can be retrieved using describesObjects?
Standard or custom. One or more
How batch apex should be created?
Apex class that implements Database.batchable and have global access modifier in class declaration and in methods.
What SOSL returns?
List>
Which Visualforce tag can be used to set autorefresh
apex:actionPoller
What happens under the hood when using FOR loop with SOQL
Inner calls to queryMore()