Process Automation and Logic Flashcards

1
Q

If there are 2 process with same criteria and two distinct action, is there way to predit which will fire first?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What can be used to run Apex code from flow?

A

Process.Plugin or @InvocableMethod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What will happen if max size limit for debug log is reached?

A

Older events will start truncating (partially, starting from System.debug statements)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When custom validation rules are fired again in Order of Execution?

A

After processes occured that cause record reevaluation and save procedure repeating

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Does workflow rule with field update affects fields values that will be in Trigger.old?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When same triggers, flows with same criteria defined. Does order guaranteed?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What method of Flow.Interview is used to start the flow?

A

FlowInterview.start()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In Debug Log, which suffixes are used to identify old and new value?

A

_old and _current

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What error raised if required fields are missing when performing DML on sObject?

A

DMLException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

List of all debug categores?

A

Database, workflow, validation, Apex code, callout, Apex profiling, Visualforce, Wave, System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What can be used to modify look-and-feel of Flow?

A

flow:interview in Visualforce

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Does workflow rules and processes are supported for External Objects?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Will duplicate rules fired after workflow field updates?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Can user be created in the same transaction as other records?

A

Yes, but only without role

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How Apex class can be scheduled?

A
Using scheduleBatch for standard Apex class
schedule for batch apex class
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How Apex class can be scheduled?

A
Using scheduleBatch for standard Apex class
schedule for batch apex class
16
Q

How to monitor progress of Apex job?

A

Query AsynchApexJob or open ApexJobs in UI

17
Q

How Queueable can be run?

A

Using System.enqueueJob

18
Q

What Visualforce tags can respond on user interaction

A

actionSupport

actionFunction

19
Q

What objects can be retrieved using describesObjects?

A

Standard or custom. One or more

20
Q

How batch apex should be created?

A

Apex class that implements Database.batchable and have global access modifier in class declaration and in methods.

21
Q

What SOSL returns?

A

List>

22
Q

Which Visualforce tag can be used to set autorefresh

A

apex:actionPoller

23
Q

What happens under the hood when using FOR loop with SOQL

A

Inner calls to queryMore()

24
Q

How to create sObject dynamically?

A

Obtain sObjectType from Schema and use newSObject method

25
Q

What can be used for chaining jobs?

A

Queueable Apex

26
Q

What interface should be implemented on Aura component to use it in flows

A

lightning:availableForFlowScreens

27
Q

Lightning Data Service: considerations

A

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

28
Q

Which keyword used in SOQL to inspec polymorphic fields?

A

TYPEOF

WHEN … THEN

29
Q

How to setup configuration component (property editor) for LWC?

A

Property editor registered in component configuration and the automaticOutputVariables defined in JS file of configurator

29
Q

How to setup configuration component (property editor) for LWC?

A

Property editor registered in component configuration and the automaticOutputVariables defined in JS file of configurator

30
Q

What Background Jobs sections shows?

A

It monitors platform jobs such as paraller sharing recalculation

31
Q

How to enfore security settings in SOQL?

A

WITH SECURITY ENFORCED

32
Q

How to execute dynalic SOSL?

A

Search.query()