Process Automation Flashcards

1
Q

Debug Production Issue Steps

A
  1. Debug Trace On User
  2. Log Inspector
    3.Verify process/trigger is active
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When do validations fire?

A

Custom validations fire after field updates by processes but not after workflow field updates.

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

Do processes fire after workflow rules?

A

Yes

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

What is required on a custom exception class

A

It should extend the Exception Class

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

How is Metadata Type defined

A

Using the <name> element</name>

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

What is the <Types> element</Types>

A

it contains the metadata type to be retrieved or deployed in package

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

what is package.xml

A

defines components that need to be retrieved or deployed

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

Requirements to expose Rest class that makes callout

A

annotate exposed methods with http method
define url mapping
annotate top-level class with @RestResource

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

Outline Continuation Class

A

3 callouts can be made using addHTTPRequest()
Use async call outs
Chain requests

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

Prevent loss of published event messages

A

Suspend subscription of Apex Trigger to event

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

Get metadata of object to display on VF Page

A
  1. getLabel()
  2. getMap() - returns map to access field names
  3. getPicklistValue()
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Prevent duplication of Queueable Apex

A

QueueableDuplicateSignature class

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

Chain async jobs

A

Use queueable apex

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

Schedule Batch class

A

System.schedule

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

When can you directly access a field via a SOQL Query

A

When the query only returns one result

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

Make callouts to a SOAP Service

A

Webservice.Callout.invoke()

17
Q

Control queueable apex call depth

A

MaximumQueueableStackDepth

18
Q

How does SOSL Return data

A

In a list of a list of sObjects
Search result can be accessed by creating arrays

19
Q

How to describe sObjects

A

Schema.describesObjects

20
Q

return App specific info in Apex

A
  1. List<Schema.DescribeTabSetResult> abc = Schema.DescribeTab</Schema.DescribeTabSetResult>
  2. Loop through List<Schema.DescribeTabResult></Schema.DescribeTabResult>
  3. DescribeTabResults.getLabel() (returns App Name)
21
Q

Where can the webservice keyword be used?

A
  1. Top Level Outer Class Variables
  2. Top Level Outer Class Methods
  3. Member variables of an inner class
22
Q

Points about URLMapping

A
  1. Is case sensitive
  2. can have a * wildcard
23
Q

Ideal automation to publish platform events

24
Q

Testing Flow With External Services

A

Can be tested using Apex Unit Tests

25
External Service Operations
Indiviual operations from the schema can be registered in the external service
26
External Lookup Relationships - SF Connect
When you sync two external system tables with a lookup relationship field, an external lookup relationship for the mapped external objects is automatically created. This auto mapping happens only if 1. The parent and child objects are synced from the same data source. 2 . The parent object is already synced or the parent and child objects are in the same sync operation.
27
SF Connect Sync Operations
Can run asynchronously in the background
28
External Object/Internal Object Name Conflicts
External Object name can be edited to update
29
Get metadata about all Standard and Custom fields
Schema.Describe.sObjectResult Map
30
Try Catch Block Execution
Only one executed if multiple in class A generic exception can be used with other exeception types
31
Invocable Method
Only one per class Only one input parameter
32
REST Based Webservice: Method used to specify type of method being used
setMethod()
33
Requirements for a GET Method HTTP request
Method Endpoint
34
Create a Parent and Chile record in a single SOAP API Call
Use External ID create() method Parent Reference Record Child sObject > parent ref. sObject > parentObj > specify External ID on parent ref and sObject > create()
35