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

A

Flow

24
Q

Testing Flow With External Services

A

Can be tested using Apex Unit Tests

25
Q

External Service Operations

A

Indiviual operations from the schema can be registered in the external service

26
Q

External Lookup Relationships - SF Connect

A

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
Q

SF Connect Sync Operations

A

Can run asynchronously in the background

28
Q

External Object/Internal Object Name Conflicts

A

External Object name can be edited to update

29
Q

Get metadata about all Standard and Custom fields

A

Schema.Describe.sObjectResult
Map<String, SchemasObjectFields>

30
Q

Try Catch Block Execution

A

Only one executed if multiple in class
A generic exception can be used with other exeception types

31
Q

Invocable Method

A

Only one per class
Only one input parameter

32
Q

REST Based Webservice:
Method used to specify type of method being used

A

setMethod()

33
Q

Requirements for a GET Method HTTP request

A

Method
Endpoint

34
Q

Create a Parent and Chile record in a single SOAP API Call

A

Use External ID
create() method
Parent Reference Record

Child sObject > parent ref. sObject > parentObj > specify External ID on parent ref and sObject > create()

35
Q
A