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()
How to create sObject dynamically?
Obtain sObjectType from Schema and use newSObject method
What can be used for chaining jobs?
Queueable Apex
What interface should be implemented on Aura component to use it in flows
lightning:availableForFlowScreens
Lightning Data Service: considerations
Allows for multiple components to be refreshed when one component changes, usually without any additional code.
LDS is only available for Lightning page in certain contexts.
LDS provides CRUD capability without having write any Apex code
Which keyword used in SOQL to inspec polymorphic fields?
TYPEOF
WHEN … THEN
How to setup configuration component (property editor) for LWC?
Property editor registered in component configuration and the automaticOutputVariables defined in JS file of configurator
How to setup configuration component (property editor) for LWC?
Property editor registered in component configuration and the automaticOutputVariables defined in JS file of configurator
What Background Jobs sections shows?
It monitors platform jobs such as paraller sharing recalculation
How to enfore security settings in SOQL?
WITH SECURITY ENFORCED
How to execute dynalic SOSL?
Search.query()