Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Overview
The Salesforce Lookup transformation is an active transformation. Use a Salesforce Lookup
transformation to look up data in a Salesforce object. For example, the source table includes the
employee ID, but you want to include the employee name in the target table to make summary
data easy to read. You can use the Salesforce Lookup transformation to look up the employee
name in a Salesforce object.
You can create a Salesforce Lookup transformation from any standard or custom Salesforce
object available to your Salesforce user account. You can also include fields from related
Salesforce objects in the Salesforce Lookup transformation.
The PowerCenter Integration Service queries the lookup source based on ports in the
transformation. It generates queries in sforce Object Query Language (SOQL), which is a
derivative of SQL. It generates a query for each row that enters the Salesforce Lookup
transformation. The PowerCenter Integration Service compares the transformation port values to
lookup source field values based on the SOQL queries.
A Salesforce Lookup transformation differs from a Lookup transformation. For example, the
Salesforce Lookup transformation returns all rows that match the lookup query condition. The
Lookup transformation returns one row. When the Salesforce Lookup transformation returns
multiple rows, it assigns a sequence ID to each row that matches the condition.
The following table describes the differences between the Salesforce Lookup transformation and
the Lookup transformation:
Item
Salesforce Lookup
Transformation
Lookup Transformation
Lookup object
Salesforce object
Active
Passive
Connected
Connected or unconnected
Uncached
Cached or uncached
Transformation type
Transformation in
mapping
Cache type
Item
Salesforce Lookup
Transformation
Lookup Transformation
Return rows
All matched rows
SOQL query
SQL query
Query language
Query condition
configuration
Note: The Salesforce Lookup transformation can retrieve data in real time. To cache Salesforce
data, use a Salesforce source definition instead of a Salesforce Lookup transformation. You can
use a Joiner transformation to join two data sources and cache source data during processing.
T
r
a
n
sf
o
r
m
a
ti
o
n
t
a
b
.
Y
o
u
c
a
n
r
e
n
a
m
e
t
h
e
tr
a
n
sf
o
r
m
at
i
o
n
a
n
d
a
d
d
a
d
e
s
c
ri
p
ti
o
n
o
n
t
h
e
T
r
a
n
sf
o
r
m
at
i
o
n
ta
b
.
P
o
r
ts
t
a
b
.
T
h
e
S
al
e
sf
o
r
c
e
L
o
o
k
u
p
tr
a
n
sf
o
r
m
at
i
o
n
c
a
n
i
n
cl
u
d
e
l
o
o
k
u
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a
n
d
v
al
u
e.
Y
o
u
c
a
n
al
s
o
p
r
o
m
o
te
a
m
et
a
d
at
a
e
x
te
n
si
o
n
t
o
b
e
r
e
u
s
a
b
le
if
y
o
u
w
a
n
t
t
o
m
a
k
e
it
a
v
ai
la
b
le
t
o
al
l
tr
a
n
sf
o
r
m
at
i
o
n
s.
P
o
r
t
A
tt
ri
b
u
t
e
D
e
fi
n
it
i
o
n
s
t
a
b
.
T
h
e
P
o
rt
A
tt
ri
b
u
te
D
e
fi
n
it
i
o
n
s
ta
b
d
is
p
la
y
s
t
h
e
p
o
rt
at
tr
i
b
u
te
s
d
e
fi
n
e
d
f
o
r
a
S
al
e
sf
o
r
c
e
L
o
o
k
u
p
tr
a
n
sf
o
r
m
at
i
o
n
.
S
f
o
r
c
e
D
at
a
T
y
p
e
a
n
d
S
f
o
r
c
e
N
a
m
e
a
r
e
t
h
e
o
n
l
y
p
o
rt
at
tr
i
b
u
te
s.
The transformation includes some configurable Custom transformation properties that the
PowerCenter Integration Service does not use for lookups. The PowerCenter Integration Service
ignores those configurable properties at run time.
The following table lists configurable properties that the Salesforce Lookup transformation does
not use:
Property
Location
Description
i
m
p
o
rt
t
h
e
l
o
o
k
u
p
p
o
rt
s
fr
o
m
a
S
al
e
sf
o
r
c
e
o
b
je
ct
d
e
fi
n
Property
Location
Description
it
i
o
n
w
h
e
n
y
o
u
c
r
e
at
e
a
S
al
e
sf
o
r
c
e
L
o
o
k
u
p
tr
a
n
sf
o
r
m
Property
Location
Description
at
i
o
n
.
T
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
u
s
e
s
l
Property
Location
Description
o
o
k
u
p
p
o
rt
s
t
o
g
e
n
e
r
at
e
t
h
e
l
o
o
k
u
p
q
u
e
r
y.
P
a
s
st
Property
Location
Description
h
r
o
u
g
h
p
o
r
ts
.
Y
o
u
c
a
n
a
d
d
p
a
s
st
h
r
o
u
g
h
p
o
rt
s
t
o
t
Property
Location
Description
h
e
tr
a
n
sf
o
r
m
at
i
o
n
.
T
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
Property
Location
Description
r
v
ic
e
p
a
s
s
e
s
t
h
e
s
e
p
o
rt
v
al
u
e
s
u
n
c
h
a
n
g
e
d
t
h
r
o
u
g
Property
Location
Description
h
t
h
e
tr
a
n
sf
o
r
m
at
i
o
n
.
D
e
f
a
u
lt
p
o
r
ts
.
W
h
e
n
y
o
u
i
m
p
Property
Location
Description
o
rt
a
S
al
e
sf
o
r
c
e
o
b
je
ct
d
e
fi
n
it
i
o
n
,
t
h
e
D
e
si
g
n
e
r
c
r
e
at
Property
Location
Description
e
s
d
e
f
a
u
lt
p
o
rt
s
n
a
m
e
d
L
K
P
_
F
I
L
T
E
R
a
n
d
L
K
P
_
M
A
T
C
Property
Location
Description
H
I
D
X
.
Y
o
u
c
a
n
u
s
e
t
h
e
L
K
P
_
F
I
L
T
E
R
p
o
rt
t
o
a
d
d
a
fi
lt
Property
Location
Description
e
r
c
o
n
d
it
i
o
n
t
o
t
h
e
l
o
o
k
u
p
q
u
e
r
y.
T
h
e
P
o
w
e
r
C
e
n
te
Property
Location
Description
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
u
s
e
s
t
h
e
L
K
P
_
M
A
T
C
H
I
D
X
p
o
rt
Property
Location
Description
t
o
a
s
si
g
n
s
e
q
u
e
n
c
e
I
D
s
t
o
m
at
c
h
e
d
r
o
w
s.
Lookup Ports
When you import a Salesforce object to create a
Salesforce Lookup transformation, the Designer
creates ports to use in the lookup query. The
PowerCenter Integration Service generates the
lookup query based on connected input and
Property
Location
Description
output ports. If you rename a port that you
imported from a Salesforce object, the
PowerCenter Integration Service does not include
the port in the lookup query.
When you import a Salesforce object, the
Designer converts the Salesforce field datatypes
to transformation datatypes and stores the
Salesforce datatypes as port attributes. The
Ports tab of a Salesforce Lookup transformation
displays the transformation datatypes. To view
the Salesforce datatypes, view the port-level
attributes.
To view the port-level attributes in a Salesforce
Lookup transformation, click the Ports tab of the
transformation. Then click Edit > Port Attributes.
The Salesforce datatypes for ports appear in the
port-level attributes.
For ports that are imported from Salesforce, the
datatypes must conform to the Salesforce and
transformation datatype mapping.
Related Topics:
Salesforce Lookup Query
Salesforce and Transformation Datatypes
Pass-Through Ports
You can add ports to a Salesforce Lookup
transformation as pass-through ports. The
PowerCenter Integration Service passes the
value of these ports through the transformation
without performing lookup on the data.
To add a pass-through port, create a new port or
copy and paste a port into the transformation.
Then, connect the port to upstream and
downstream ports.
LKP_FILTER Port
Property
Location
Description
When you import a Salesforce object to create a
Salesforce Lookup transformation, the Designer
creates a default port named LKP_FILTER. Use
the LKP_FILTER port to add filter conditions in
the lookup query that you cannot generate by
connecting the lookup input ports of the Lookup
transformation.
Note: You can use the LKP_FILTER port in
conjunction with the connected lookup input
ports.
In a mapping, you can create a transformation
such as an Expression transformation that
outputs a constant, a range, or a mapping
parameter or variable value. Then, you can
connect the appropriate output port of the
transformation to the LKP_FILTER input port. The
lookup query includes the output in the WHERE
clause of the lookup query.
For example, you create an Expression
transformation that outputs the value of the
Name port as a constant, Edge
Communications. The transformation uses the
following expression:
Property
Location
Description
passes through the transformation has the
following format:
LKP_MATCHIDX Port
When you import a Salesforce object to create a
Salesforce Lookup transformation, the Designer
creates a default port named LKP_MATCHIDX.
Use the LKP_MATCHIDX output port to identify
the matched rows when a lookup query returns
multiple matches. For each matched row, the
PowerCenter Integration Service assigns a
unique sequence ID. A value of 0 means that no
match exists for the input row.
The following rules apply to matched and
unmatched rows:
M
a
t
c
h
e
d
.
T
h
e
S
Property
Location
Description
O
Q
L
q
u
e
r
y
r
et
u
r
n
s
a
r
o
w
f
o
r
e
a
c
h
m
at
c
h
f
o
u
n
d
.
It
c
a
Property
Location
Description
n
r
et
u
r
n
m
u
lt
i
p
le
r
o
w
s
f
o
r
o
n
e
i
n
p
u
t
r
o
w
.
If
y
o
u
u
s
e
Property
Location
Description
t
h
e
L
K
P
_
M
A
T
C
H
I
D
X
p
o
rt
a
n
d
t
h
e
q
u
e
r
y
r
et
u
r
n
s
m
u
lt
Property
Location
Description
i
p
le
m
at
c
h
e
s,
t
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
g
Property
Location
Description
e
n
e
r
at
e
s
a
s
e
q
u
e
n
c
e
I
D
f
o
r
e
a
c
h
r
et
u
r
n
e
d
r
o
w
.
T
h
Property
Location
Description
e
v
al
u
e
s
o
f
t
h
e
s
e
q
u
e
n
c
e
I
D
s
a
r
e
1
n
.
U
n
m
a
t
c
h
e
Property
Location
Description
d
.
If
t
h
e
S
O
Q
L
q
u
e
r
y
r
et
u
r
n
s
n
o
r
o
w
s,
t
h
e
P
o
w
e
r
C
e
n
Property
Location
Description
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
g
e
n
e
r
at
e
s
o
n
e
o
u
t
p
u
t
r
o
w
w
Property
Location
Description
it
h
a
s
e
q
u
e
n
c
e
I
D
o
f
0
.
T
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
Property
Location
Description
n
S
e
r
v
ic
e
r
et
ai
n
s
t
h
e
v
al
u
e
o
f
p
a
s
st
h
r
o
u
g
h
p
o
rt
s,
a
n
Property
Location
Description
d
it
s
et
s
t
h
e
v
al
u
e
o
f
t
h
e
l
o
o
k
u
p
o
u
t
p
u
t
p
o
rt
s
t
o
N
U
L
Property
Location
Description
L
.
T
o
p
a
s
s
n
u
ll
v
al
u
e
s
t
o
t
h
e
ta
r
g
et
,
y
o
u
m
u
st
c
o
n
fi
g
u
Property
Location
Description
r
e
it
t
o
a
c
c
e
p
t
n
u
ll
v
al
u
e
s.
If
y
o
u
d
o
n
o
t
w
a
n
t
t
o
p
a
s
s
Property
Location
Description
n
u
ll
v
al
u
e
s
t
o
t
h
e
ta
r
g
et
,
u
s
e
a
tr
a
n
sf
o
r
m
at
i
o
n
t
o
c
o
n
Property
Location
Description
v
e
rt
n
u
ll
v
al
u
e
s
t
o
a
d
e
f
a
u
lt
v
al
u
e.
Note: If you use a default port and modify or
rename it, you might get unexpected results.
Port Attribute
Definitions tab
1In
.th
e
Tr
an
sf
or
m
ati
on
D
ev
el
op
er
or
M
ap
pi
ng
D
es
ig
ne
r,
cli
ck
Tr
an
sf
or
m
ati
on
>
Cr
ea
te.
T
he
Cr
ea
te
Tr
an
sf
or
m
ati
on
di
al
og
bo
x
ap
pe
ar
s.
2Se
.le
ct
Sa
le
sf
or
ce
L
oo
ku
p
as
th
e
tra
ns
fo
r
m
ati
on
ty
pe
,
an
d
en
ter
a
na
m
e.
3Cl
.ic
k
Cr
ea
te.
4In
.th
e
I
m
po
rt
Ta
bl
es
fr
o
m
Sa
le
sf
or
ce
di
al
og
bo
x,
en
ter
th
e
fo
llo
wi
ng
in
fo
r
m
ati
on
:
Import Attribute
User Name
Password
Service URL
5Cl
.ic
k
C
on
ne
ct.
T
he
D
es
ig
ne
r
di
sp
la
ys
a
lis
t
of
ob
je
ct
s
av
ail
ab
le
to
th
e
Sa
le
sf
or
ce
us
er.
6Se
.le
ct
th
e
ob
je
ct
yo
u
w
an
t
to
im
po
rt,
an
d
cli
ck
O
K.
7In
.th
e
In
cl
ud
e
Sa
le
sf
or
ce
O
bj
ec
t
R
el
ati
on
sh
ip
s
di
al
og
bo
x,
se
le
ct
th
e
rel
ati
on
sh
ip
s
to
in
cl
ud
e,
an
d
cli
ck
O
K.
If
th
er
e
ar
e
no
co
nf
lic
ts,
th
e
D
es
ig
ne
r
cr
ea
te
sa
Sa
le
sf
or
ce
L
oo
ku
p
tra
ns
fo
r
m
ati
on
ba
se
d
on
th
e
se
le
ct
ed
ob
je
ct
an
d
rel
at
ed
ob
je
ct
s.
If
th
er
e
ar
e
co
nf
lic
ts,
re
so
lv
e
th
e
co
nf
lic
ts.
8In
.th
e
Cr
ea
te
Tr
an
sf
or
m
ati
on
di
al
og
bo
x,
cli
ck
D
on
e.
ID
Account Name
Billing City
Phone
0015000000IcEgAAAV
ABC Tiles
Los Angeles
0015000000IcEgBAAV
ABC Tiles
310-555-1212
ID
0015000000IcEgCAAV
Account Name
ABC
Billing City
San Diego
Phone
310-555-6666
The following table shows the source for the mapping that merges the records and updates the
account name in the Account object:
Master Record ID
Slave 1 Record ID
Slave 2 Record ID
Account Name
ID
Account Name
Billing City
Phone
0015000000IcEgAAAV
Textiles to Go
Los Angeles
The Salesforce Merge transformation does not overwrite the Account object attributes in the
master record with the values from the slave records. It does update the Account Name attribute
because the value is provided.
T
r
a
n
sf
o
r
m
a
ti
o
n
t
a
b
.
Y
o
u
c
a
n
r
e
n
a
m
e
t
h
e
tr
a
n
sf
o
r
m
at
i
o
n
a
n
d
a
d
d
a
d
e
s
c
ri
p
ti
o
n
o
n
t
h
e
T
r
a
n
sf
o
r
m
at
i
o
n
ta
b
.
P
o
r
ts
t
a
b
.
T
h
e
S
al
e
sf
o
r
c
e
M
e
r
g
e
tr
a
n
sf
o
r
m
at
i
o
n
c
a
n
i
n
cl
u
d
e
S
al
e
sf
o
r
c
e
o
b
je
ct
at
tr
i
b
u
te
p
o
rt
s
a
n
d
d
e
f
a
u
lt
p
o
rt
s.
P
r
o
p
e
r
ti
e
s
t
a
b
.
Y
o
u
c
a
n
c
o
n
fi
g
u
r
e
t
h
e
tr
a
ci
n
g
le
v
el
f
o
r
t
h
e
tr
a
n
sf
o
r
m
at
i
o
n
.
T
h
e
d
e
f
a
u
lt
tr
a
ci
n
g
le
v
el
is
N
o
r
m
al
.
I
n
a
d
d
it
i
o
n
,
y
o
u
c
a
n
s
p
e
ci
f
y
w
h
et
h
e
r
o
r
n
o
t
t
h
e
o
u
t
p
u
t
is
d
et
e
r
m
i
n
is
ti
c.
B
y
d
e
f
a
u
lt
,
t
h
e
o
u
t
p
u
t
is
d
et
e
r
m
i
n
is
ti
c.
I
n
it
i
a
li
z
a
ti
o
n
P
r
o
p
e
r
ti
e
s
t
a
b
.
T
h
e
S
al
e
sf
o
r
c
e
M
e
r
g
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a
r
e
t
h
e
o
n
l
y
p
o
rt
at
tr
i
b
u
te
s.
S
a
le
sf
o
r
c
e
o
b
j
e
c
t
a
tt
ri
b
u
t
e
p
o
r
ts
.
U
s
e
t
h
e
s
e
p
o
rt
s
t
o
u
p
d
at
e
v
al
u
e
s
f
o
r
t
h
e
S
al
e
sf
o
r
c
e
o
b
je
ct
at
tr
i
b
u
te
s
i
n
t
h
e
m
a
st
e
r
r
e
c
o
r
d
.
T
h
e
v
al
u
e
s
i
n
t
h
e
s
e
p
o
rt
s
o
v
e
rr
i
d
e
t
h
e
v
al
u
e
s
i
n
t
h
e
m
a
st
e
r
a
n
d
sl
a
v
e
r
e
c
o
r
d
s.
D
e
f
a
u
lt
p
o
r
ts
.
W
h
e
n
y
o
u
i
m
p
o
rt
a
S
al
e
sf
o
r
c
e
o
b
je
ct
d
e
fi
n
it
i
o
n
,
t
h
e
D
e
si
g
n
e
r
c
r
e
at
e
s
t
h
e
d
e
f
a
u
lt
i
n
p
u
t
p
o
rt
s
a
n
d
t
h
e
d
e
f
a
u
lt
M
e
r
g
e
d
I
D
,
M
e
r
g
e
d
S
la
v
e
I
D
1
,
a
n
d
M
e
r
g
e
d
S
la
v
e
I
D
2
o
u
t
p
u
t
p
o
rt
s.
Related Topics:
The session fails if you do not specify the master record ID and at least one slave ID.
The IDs for the master record and slave records must be valid Salesforce IDs.
Values of fields that are linked to the Salesforce Merge transformation overwrite existing values
in the master record.
If you project columns of the master record, but the values are null, the merge will take the
value from the slave record and update the master record with this value.
The Salesforce Merge transformation reassigns child records of each slave record to the master
record during the merge.
You can merge at most two slave records with a master record. To merge more than two slave
records, create and run the Salesforce Merge transformation multiple times using the same
master record ID.
The PowerCenter Integration Service does not merge a slave record if the slave ID is blank,
does not exist in the Salesforce object, or the slave ID does not contain 18 characters.
If the master ID or at least one slave ID does not exist in the Salesforce object, the merge fails.
1In
.th
e
Tr
an
sf
or
m
ati
on
D
ev
el
op
er
or
M
ap
pi
ng
D
es
ig
ne
r,
cli
ck
Tr
an
sf
or
m
ati
on
>
Cr
ea
te.
T
he
Cr
ea
te
Tr
an
sf
or
m
ati
on
di
al
og
bo
x
ap
pe
ar
s.
2Se
.le
ct
Sa
le
sf
or
ce
M
er
ge
as
th
e
tra
ns
fo
r
m
ati
on
ty
pe
,
an
d
en
ter
a
na
m
e.
3Cl
.ic
k
Cr
ea
te.
4In
.th
e
I
m
po
rt
Ta
bl
es
fr
o
m
Sa
le
sf
or
ce
di
al
og
bo
x,
en
ter
th
e
fo
llo
wi
ng
in
fo
r
m
ati
on
:
Import Attribute
User Name
Password
Service URL
5Cl
.ic
k
C
on
ne
ct.
T
he
D
es
ig
ne
r
di
sp
la
ys
a
lis
t
of
ob
je
ct
s
av
ail
ab
le
to
th
e
Sa
le
sf
or
ce
us
er.
6Se
.le
ct
th
e
ob
je
ct
yo
u
w
an
t
to
im
po
rt,
an
d
cli
ck
O
K.
7In
.th
e
In
cl
ud
e
Sa
le
sf
or
ce
O
bj
ec
t
R
el
ati
on
sh
ip
s
di
al
og
bo
x,
se
le
ct
th
e
rel
ati
on
sh
ip
s
yo
u
w
an
t
to
in
cl
ud
e,
an
d
cli
ck
O
K.
If
th
er
e
ar
e
no
co
nf
lic
ts,
th
e
D
es
ig
ne
r
cr
ea
te
sa
Sa
le
sf
or
ce
M
er
ge
tra
ns
fo
r
m
ati
on
ba
se
d
on
th
e
se
le
ct
ed
ob
je
ct
an
d
rel
at
ed
ob
je
ct
s.
If
th
er
e
ar
e
co
nf
lic
ts,
re
so
lv
e
th
e
co
nf
lic
ts.
8In
.th
e
Cr
ea
te
Tr
an
sf
or
m
ati
on
di
al
og
bo
x,
cli
ck
D
on
e.
The Salesforce PickList transformation is a passive transformation. Use the Salesforce PickList
transformation to retrieve a list of picklist values for a field in a Salesforce object. A Salesforce
picklist is a list of valid values for a Salesforce field. You might retrieve picklist values to validate
source data.
You can create a Salesforce PickList transformation from any standard or custom Salesforce
object available to your Salesforce user account. You can also include fields from related
Salesforce objects in the Salesforce PickList transformation.
The PowerCenter Integration Service can retrieve the picklist for each field with a defined picklist
in the Salesforce PickList transformation. In the mapping, you can use any source type with the
Salesforce PickList transformation. To retrieve the list of picklist values, connect the Source
Qualifier transformation to the PickList_Input port of the Salesforce PickList transformation. The
transformation outputs a colon-separated list of valid values for the picklist fields linked to the
target.
T
r
a
n
sf
o
r
m
a
ti
o
n
t
a
b
.
Y
o
u
c
a
n
r
e
n
a
m
e
t
h
e
tr
a
n
sf
o
r
m
at
i
o
n
a
n
d
a
d
d
a
d
e
s
c
ri
p
ti
o
n
o
n
t
h
e
T
r
a
n
sf
o
r
m
at
i
o
n
ta
b
.
P
o
r
ts
t
a
b
.
T
h
e
S
al
e
sf
o
r
c
e
P
ic
k
L
is
t
tr
a
n
sf
o
r
m
at
i
o
n
c
a
n
i
n
cl
u
d
e
p
ic
k
li
st
p
o
rt
s
a
n
d
p
a
s
st
h
r
o
u
g
h
p
o
rt
s.
P
r
o
p
e
r
ti
e
s
t
a
b
.
Y
o
u
c
a
n
c
o
n
fi
g
u
r
e
t
h
e
tr
a
ci
n
g
le
v
el
f
o
r
t
h
e
tr
a
n
sf
o
r
m
at
i
o
n
.
T
h
e
d
e
f
a
u
lt
tr
a
ci
n
g
le
v
el
is
N
o
r
m
al
.
I
n
a
d
d
it
i
o
n
,
y
o
u
c
a
n
s
p
e
ci
f
y
w
h
et
h
e
r
o
r
n
o
t
t
h
e
o
u
t
p
u
t
is
d
et
e
r
m
i
n
is
ti
c.
B
y
d
e
f
a
u
lt
,
t
h
e
o
u
t
p
u
t
is
d
et
e
r
m
i
n
is
ti
c.
I
n
it
i
a
li
z
a
ti
o
n
P
r
o
p
e
r
ti
e
s
t
a
b
.
T
h
e
S
al
e
sf
o
r
c
e
P
ic
k
L
is
t
tr
a
n
sf
o
r
m
at
i
o
n
d
o
e
s
n
o
t
u
s
e
i
n
it
ia
li
z
at
i
o
n
p
r
o
p
e
rt
ie
s.
T
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
r
et
ri
e
v
e
s
i
n
it
ia
li
z
at
i
o
n
i
n
f
o
r
m
at
i
o
n
fr
o
m
a
v
e
n
d
o
rd
e
fi
n
e
d
m
et
a
d
at
a
e
x
te
n
si
o
n
.
M
e
t
a
d
a
t
a
E
x
t
e
n
si
o
n
s
t
a
b
.
C
r
e
at
e
a
n
o
n
r
e
u
s
a
b
le
m
et
a
d
at
a
e
x
te
n
si
o
n
t
o
e
x
te
n
d
t
h
e
m
et
a
d
at
a
o
f
t
h
e
tr
a
n
sf
o
r
m
at
i
o
n
tr
a
n
sf
o
r
m
at
i
o
n
.
C
o
n
fi
g
u
r
e
t
h
e
e
x
te
n
si
o
n
n
a
m
e,
d
at
at
y
p
e,
p
r
e
ci
si
o
n
,
a
n
d
v
al
u
e.
Y
o
u
c
a
n
al
s
o
p
r
o
m
o
te
a
m
et
a
d
at
a
e
x
te
n
si
o
n
t
o
a
r
e
u
s
a
b
le
e
x
te
n
si
o
n
if
y
o
u
w
a
n
t
t
o
m
a
k
e
t
h
e
e
x
te
n
si
o
n
a
v
ai
la
b
le
t
o
al
l
tr
a
n
sf
o
r
m
at
i
o
n
tr
a
n
sf
o
r
m
at
i
o
n
s.
P
o
r
t
A
tt
ri
b
u
t
e
D
e
fi
n
it
i
o
n
s
t
a
b
.
T
h
e
P
o
rt
A
tt
ri
b
u
te
D
e
fi
n
it
i
o
n
s
ta
b
d
is
p
la
y
s
t
h
e
p
o
rt
at
tr
i
b
u
te
s
d
e
fi
n
e
d
f
o
r
a
S
al
e
sf
o
r
c
e
P
ic
k
L
is
t
tr
a
n
sf
o
r
m
at
i
o
n
.
T
h
e
S
f
o
r
c
e
D
at
a
T
y
p
e
a
n
d
S
f
o
r
c
e
N
a
m
e
a
r
e
t
h
e
o
n
l
y
p
o
rt
at
tr
i
b
u
te
s.
PickList_Input port. To enable the PowerCenter Integration Service to retrieve the Salesforce
picklist, map any field in the Source Qualifier transformation to the PickList_Input port in the
Salesforce PickList transformation. If you do not map a field to the PickList_Input port, the
session fails.
Output ports. By default, the Designer creates output ports for Salesforce object attributes that
have picklist values. To output multiple picklists for different Salesforce object attributes,
configure one Source Qualifier transformation for each attribute. When you run the session, the
PowerCenter Integration Service outputs picklist values for each Salesforce object attribute
included in the mapping.
Pass-through ports. You can add ports to a Salesforce PickList transformation as pass-through
ports. The PowerCenter Integration Service passes the value of a pass-through port through the
transformation and into the target if the port is connected to the target.
T
h
e
d
e
f
a
u
lt
le
n
g
t
h
f
o
r
p
ic
k
li
st
p
o
rt
s
is
5
1
2
c
h
a
r
a
ct
e
rs
.
T
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
tr
u
n
c
at
e
s
v
al
u
e
s
t
h
at
a
r
e
l
o
n
g
e
r
t
h
a
n
5
1
2
c
h
a
r
a
ct
e
rs
.
T
o
p
r
e
v
e
n
t
tr
u
n
c
at
i
o
n
,
i
n
c
r
e
a
s
e
t
h
e
p
o
rt
le
n
g
t
h
.
Y
o
u
m
u
st
c
o
n
n
e
ct
at
le
a
st
o
n
e
p
o
rt
fr
o
m
t
h
e
s
o
u
r
c
e
t
o
t
h
e
S
al
e
sf
o
r
c
e
P
ic
k
L
is
t
tr
a
n
sf
o
r
m
at
i
o
n
.
T
h
e
S
al
e
sf
o
r
c
e
P
ic
k
L
is
t
tr
a
n
sf
o
r
m
at
i
o
n
d
o
e
s
n
o
t
r
et
ri
e
v
e
r
e
st
ri
ct
e
d
p
ic
k
li
st
v
al
u
e
s
fr
o
m
S
al
e
sf
o
r
c
e
b
e
c
a
u
s
e
t
h
e
S
al
e
sf
o
r
c
e
A
P
I
d
o
e
s
n
o
t
e
x
p
o
s
e
t
h
e
m
.
T
h
e
S
al
e
sf
o
r
c
e
P
ic
k
L
is
t
tr
a
n
sf
o
r
m
at
i
o
n
d
o
e
s
n
o
t
r
et
ri
e
v
e
v
al
u
e
s
fr
o
m
m
u
lt
is
el
e
ct
p
ic
k
li
st
s.
1In
.th
e
Tr
an
sf
or
m
ati
on
D
ev
el
op
er
or
M
ap
pi
ng
D
es
ig
ne
r,
cli
ck
Tr
an
sf
or
m
ati
on
>
Cr
ea
te.
T
he
Cr
ea
te
Tr
an
sf
or
m
ati
on
di
al
og
bo
x
ap
pe
ar
s.
2Se
.le
ct
Sa
le
sf
or
ce
Pi
ck
Li
st
as
th
e
tra
ns
fo
r
m
ati
on
ty
pe
,
an
d
en
ter
a
na
m
e.
3Cl
.ic
k
Cr
ea
te.
4In
.th
e
I
m
po
rt
Ta
bl
es
fr
o
m
Sa
le
sf
or
ce
di
al
og
bo
x,
en
ter
th
e
fo
llo
wi
ng
in
fo
r
m
ati
on
:
Import Attribute
User Name
Password
Service URL
5Cl
.ic
k
C
on
ne
ct.
T
he
D
es
ig
ne
r
di
sp
la
ys
a
lis
t
of
ob
je
ct
s
av
ail
ab
le
to
th
e
Sa
le
sf
or
ce
us
er.
6Se
.le
ct
th
e
ob
je
ct
yo
u
w
an
t
to
im
po
rt,
an
d
cli
ck
O
K.
7In
.th
e
In
cl
ud
e
Sa
le
sf
or
ce
O
bj
ec
t
R
el
ati
on
sh
ip
s
di
al
og
bo
x,
se
le
ct
th
e
rel
ati
on
sh
ip
s
to
in
cl
ud
e,
an
d
cli
ck
O
K.
If
th
er
e
ar
e
no
co
nf
lic
ts,
th
e
D
es
ig
ne
r
cr
ea
te
sa
Sa
le
sf
or
ce
Pi
ck
Li
st
tra
ns
fo
r
m
ati
on
ba
se
d
on
th
e
se
le
ct
ed
ob
je
ct
an
d
rel
at
ed
ob
je
ct
s.
If
th
er
e
ar
e
co
nf
lic
ts,
re
so
lv
e
th
e
co
nf
lic
ts.
8In
.th
e
Cr
ea
te
Tr
an
sf
or
m
ati
on
di
al
og
bo
x,
cli
ck
D
on
e.
o
n
fi
g
u
r
e
a
n
a
p
p
li
c
at
i
o
n
c
o
n
n
e
ct
i
o
n
f
o
r
S
al
e
sf
o
r
c
e
s
o
u
r
c
e
s
a
n
d
ta
r
g
et
s
i
n
t
h
e
W
o
r
k
fl
o
w
M
a
n
a
g
e
r.
Y
o
u
c
o
n
fi
g
u
r
e
a
p
p
li
c
at
i
o
n
c
o
n
n
e
ct
i
o
n
s
t
o
r
e
a
d
fr
o
m
o
r
w
ri
te
t
o
S
al
e
sf
o
r
c
e.
C
o
n
fi
g
u
r
e
t
h
e
s
e
s
si
o
n
p
r
o
p
e
rt
ie
s
f
o
r
t
h
e
S
al
e
sf
o
r
c
e
s
o
u
r
c
e.
C
o
n
fi
g
u
r
e
t
h
e
s
e
s
si
o
n
p
r
o
p
e
rt
ie
s
f
o
r
t
h
e
S
al
e
sf
o
r
c
e
ta
r
g
et
.
O
p
ti
o
n
al
ly
,
c
o
n
fi
g
u
r
e
t
h
e
s
e
s
si
o
n
f
o
r
o
p
ti
m
al
p
e
rf
o
r
m
a
n
c
e.
Salesforce Connections
Before the PowerCenter Integration Service can connect to Salesforce, you must configure a
Salesforce application connection in the Workflow Manager. When you configure a Salesforce
application connection, you specify connection attributes the PowerCenter Integration Service
uses to connect to Salesforce. A connection object stores the Salesforce user ID, password, and
end point URL information for the run-time connection.
The PowerCenter Integration Service uses the Salesforce security mechanism to authenticate the
login. If you provide an invalid login, the following error appears:
In
1
.th
e
W
or
kf
lo
w
M
an
ag
er,
co
nn
ec
t
to
a
Po
w
er
C
en
ter
re
po
sit
or
y.
Cl
2
.ic
k
C
on
ne
cti
on
s
>
A
pp
lic
ati
on
.
T
he
A
pp
lic
ati
on
C
on
ne
cti
on
Br
o
w
se
r
di
al
og
bo
x
ap
pe
ar
s.
Fr
3
.o
m
Se
le
ct
Ty
pe
,
se
le
ct
Sa
le
sf
or
ce
C
on
ne
cti
on
.
Cl
4
.ic
N
e
w.
In
5
.th
e
C
on
ne
cti
on
O
bj
ec
t
D
efi
nit
io
n
di
al
og
bo
x,
en
ter
a
na
m
e
fo
r
th
e
ap
pli
ca
tio
n
co
nn
ec
tio
n.
E
6
.nt
er
th
e
Sa
le
sf
or
ce
us
er
na
m
e
fo
r
th
e
ap
pli
ca
tio
n
co
nn
ec
tio
n.
T
he
Po
w
er
C
en
ter
In
te
gr
ati
on
Se
rv
ic
e
us
es
thi
s
us
er
na
m
e
to
lo
g
in
to
Sa
le
sf
or
ce
.
E
7
.nt
er
th
e
pa
ss
w
or
d
fo
r
th
e
Sa
le
sf
or
ce
us
er
na
m
e.
E
8
.nt
er
th
e
Sa
le
sf
or
ce
se
rv
ic
e
U
R
L.
In
a
te
st
or
de
ve
lo
p
m
en
t
en
vi
ro
n
m
en
t,
yo
u
mi
gh
t
w
an
t
to
ac
ce
ss
th
e
Sa
le
sf
or
ce
Sa
nd
bo
x
te
sti
ng
en
vi
ro
n
m
en
t.
Fo
r
m
or
e
in
fo
r
m
ati
on
ab
ou
t
th
e
Sa
le
sf
or
ce
Sa
nd
bo
x,
se
e
th
e
Sa
le
sf
or
ce
do
cu
m
en
tat
io
n.
Cl
9
.ic
k
O
K.
T
he
ne
w
ap
pli
ca
tio
n
co
nn
ec
tio
n
ap
pe
ar
s
in
th
e
A
pp
lic
ati
on
O
bj
ec
t
Br
o
w
se
r.
Property Name
SOQL Filter Condition
CDC Time Limit
Flush Interval
CDC Start Timestamp
CDC End Timestamp
Row Limit
Use queryAll
Use SystemModstamp for CDC
Y
o
u
e
n
te
r
a
L
I
M
I
T
cl
a
u
s
e
i
n
t
h
e
fi
lt
e
r
c
o
n
d
it
i
o
n
.
Y
o
u
e
n
te
r
a
n
A
N
D
o
r
O
R
o
p
e
r
at
o
r
i
n
t
h
e
fi
lt
e
r
c
o
n
d
it
i
o
n
,
b
u
t
y
o
u
d
o
n
o
t
e
n
cl
o
s
e
t
h
e
A
N
D
o
r
O
R
st
at
e
m
e
n
t
i
n
p
a
r
e
n
t
h
e
s
e
s.
E
n
cl
o
s
e
t
h
e
A
N
D
o
r
O
R
st
at
e
m
e
n
t
i
n
p
a
r
e
n
t
h
e
s
e
s
a
s
s
h
o
w
n
i
n
t
h
e
f
o
ll
o
w
i
n
g
e
x
a
m
p
le
:
(
N
a
m
e
=
"
J
a
s
o
n
"
O
R
N
a
m
e
=
"
T
h
o
m
p
s
o
n
"
)
C
a
p
t
u
r
e
c
h
a
n
g
e
d
d
a
t
a
c
o
n
ti
n
u
o
u
sl
y.
C
o
n
fi
g
u
r
e
a
s
e
s
si
o
n
t
o
c
a
p
t
u
r
e
c
h
a
n
g
e
d
d
at
a
t
o
p
r
o
c
e
s
s
d
at
a
i
n
r
e
al
ti
m
e.
C
a
p
t
u
r
e
c
h
a
n
g
e
d
d
a
t
a
f
o
r
a
s
p
e
ci
fi
c
ti
m
e
p
e
ri
o
d
.
C
o
n
fi
g
u
r
e
a
s
e
s
si
o
n
t
o
c
a
p
t
u
r
e
c
h
a
n
g
e
d
d
at
a
d
u
ri
n
g
a
p
a
rt
ic
u
la
r
ti
m
e
p
e
ri
o
d
w
h
e
n
t
h
e
d
at
a
c
h
a
n
g
e
s.
By default, change data capture is disabled. To enable a particular method, specify the required
attributes in the session properties. Configure the attributes for one CDC method. If you
configure properties for both methods, you may encounter unexpected results.
Also, you can configure the LastModifiedDate or SystemModstamp field as the timestamp that
determines when a Salesforce record was last modified.
Related Topics:
R
1
.ea
ds
all
re
co
rd
s
cr
ea
te
d
si
nc
e
th
e
ini
tia
l
re
ad
an
d
pa
ss
es
th
e
m
to
th
e
ne
xt
tra
ns
fo
r
m
ati
on
as
ro
w
s
fla
gg
ed
fo
r
in
se
rt.
R
2
.ea
ds
all
re
co
rd
s
up
da
te
d
si
nc
e
th
e
ini
tia
l
re
ad
an
d
pa
ss
es
th
e
m
to
th
e
ne
xt
tra
ns
fo
r
m
ati
on
as
ro
w
s
fla
gg
ed
fo
r
up
da
te.
R
3
.ea
ds
all
re
co
rd
s
de
let
ed
si
nc
e
th
e
ini
tia
l
re
ad
an
d
pa
ss
es
th
e
m
to
th
e
ne
xt
tra
ns
fo
r
m
ati
on
as
ro
w
s
fla
gg
ed
fo
r
de
let
e.
After the PowerCenter Integration Service finishes reading all changed data, the flush interval
starts again. The PowerCenter Integration Service stops reading from Salesforce when the CDC
time limit ends.
When you configure the session to capture changed data and use source-based commits, the
PowerCenter Integration Service commits data to the target based on the source-based commit
interval and the flush interval.
For example, you set the CDC time limit to 4,000 seconds, the flush interval to 300 seconds, and
the source-based commit interval to 1,000 rows. After the PowerCenter Integration Service reads
all the source data, the flush interval begins. The PowerCenter Integration Service captures
changed data and commits rows to the target after reading 1,000 rows from the source and after
each 300 second flush interval. The PowerCenter Integration Service stops reading from
Salesforce after 4,000 seconds.
If you configure the session to use target-based commits, the PowerCenter Integration Service
runs the session based on source-based commits. Also, it only commits rows to the target based
on the flush interval. It does not commit rows to the target based on the commit interval.
F
o
r
e
a
c
h
C
D
C
s
e
s
si
o
n
,
c
o
m
p
le
te
t
h
e
c
o
n
fi
g
u
r
at
i
o
n
st
e
p
s
f
o
r
r
e
al
ti
m
e
s
e
s
si
o
n
s.
S
et
t
h
e
ti
m
e
li
m
it
a
n
d
fl
u
s
h
i
n
te
r
v
al
f
o
r
c
h
a
n
g
e
d
at
a
c
a
p
t
u
r
e.
R
1
.ea
ds
all
re
co
rd
s
cr
ea
te
d
be
tw
ee
n
th
e
C
D
C
st
art
ti
m
e
an
d
en
d
ti
m
e,
an
d
pa
ss
es
th
e
m
to
th
e
ne
xt
tra
ns
fo
r
m
ati
on
as
ro
w
s
fla
gg
ed
fo
r
in
se
rt.
R
2
.ea
ds
all
re
co
rd
s
up
da
te
d
be
tw
ee
n
th
e
C
D
C
st
art
ti
m
e
an
d
en
d
ti
m
e,
an
d
pa
ss
es
th
e
m
to
th
e
ne
xt
tra
ns
fo
r
m
ati
on
as
ro
w
s
fla
gg
ed
fo
r
up
da
te.
R
3
.ea
ds
all
re
co
rd
s
de
let
ed
be
tw
ee
n
th
e
C
D
C
st
art
ti
m
e
an
d
en
d
ti
m
e,
an
d
pa
ss
es
th
e
m
to
th
e
ne
xt
tra
ns
fo
r
m
ati
on
as
ro
w
s
fla
gg
ed
fo
r
de
let
e.
T
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
v
al
i
d
at
e
s
t
h
e
f
o
r
m
at
s
o
f
t
h
e
st
a
rt
a
n
d
e
n
d
ti
m
e
s
w
h
e
n
y
o
u
r
u
n
t
h
e
s
e
s
si
o
n
.
If
ei
t
h
e
r
ti
m
e
st
a
m
p
f
o
r
m
at
is
w
r
o
n
g
,
t
h
e
s
e
s
si
o
n
f
ai
ls
.
T
h
e
v
al
u
e
s
f
o
r
t
h
e
st
a
rt
a
n
d
e
n
d
ti
m
e
s
m
u
st
b
e
i
n
t
h
e
p
a
st
.
T
h
e
st
a
rt
ti
m
e
m
u
st
p
r
e
d
at
e
t
h
e
e
n
d
ti
m
e.
Y
o
u
c
a
n
n
o
t
r
u
n
t
h
e
s
e
s
si
o
n
c
o
n
ti
n
u
o
u
sl
y.
W
h
e
n
y
o
u
c
o
n
fi
g
u
r
e
t
h
e
s
e
s
si
o
n
t
o
c
a
p
t
u
r
e
c
h
a
n
g
e
d
d
at
a
a
n
d
t
o
u
s
e
s
o
u
r
c
e
b
a
s
e
d
c
o
m
m
it
s,
t
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
c
o
m
m
it
s
d
at
a
t
o
t
h
e
ta
r
g
et
b
a
s
e
d
o
n
t
h
e
s
o
u
r
c
e
b
a
s
e
d
c
o
m
m
it
i
n
te
r
v
al
.
If
y
o
u
c
o
n
fi
g
u
r
e
t
h
e
s
e
s
si
o
n
t
o
u
s
e
ta
r
g
et
b
a
s
e
d
c
o
m
m
it
s,
t
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
r
u
n
s
t
h
e
s
e
s
si
o
n
b
a
s
e
d
o
n
s
o
u
r
c
e
b
a
s
e
d
c
o
m
m
it
s.
Salesforce updates the LastModifiedDate attribute of a Salesforce record when you update the
record. Salesforce updates the SystemModstamp attribute of a Salesforce record when you
update the record or a record of a related object.
Salesforce indexes the SystemModstamp attribute, not the LastModifiedDate attribute. To
improve session performance, use the SystemModstamp attribute.
Related Topics:
Property Name
Description
Treat Insert as Upsert Select to enable the PowerCenter Integration Service to upsert any
records flagged as insert. By default, the PowerCenter Integration
Service treats all records as insert.
Treat Update as
Upsert
Select to replace values in the target with null values from the source.
By default, the PowerCenter Integration Service does not replace values
in a record with null values during an update or upsert operation. It
Property Name
Description
retains the existing values.
Use this
ExternalId/IdLooku
p field for Updates
Property Name
Description
standard Salesforce API.
Select this property along with the Use SFDC Success File or Use
SFDC Error File session properties to generate success or error logs for
the session.
Override Parallel
Concurrency with
Serial
Disable Bulk
Success and Error
File Creation
Enable Field
Truncation
Attribute
Adds a prefix to the name of the success and error log files.
When you add a prefix, the success log file uses the following naming
convention: <prefix>_<session name><timestamp>success.csv.
When you add a prefix, the error log file uses the following naming
convention: <prefix>_<session name><timestamp>error.csv.
E
x
t
e
r
n
a
l
I
D
fi
el
d
.
Y
o
u
c
a
n
u
s
e
a
c
u
st
o
m
S
al
e
sf
o
r
c
e
fi
el
d
t
o
u
n
i
q
u
el
y
i
d
e
n
ti
f
y
e
a
c
h
r
e
c
o
r
d
i
n
a
S
al
e
sf
o
r
c
e
o
b
je
ct
.
Y
o
u
c
a
n
c
r
e
at
e
a
c
u
st
o
m
e
x
te
r
n
al
I
D
fi
el
d
f
o
r
e
a
c
h
o
b
je
ct
i
n
S
al
e
sf
o
r
c
e.
Y
o
u
c
a
n
v
ie
w
t
h
e
p
r
o
p
e
rt
ie
s
o
f
a
S
al
e
sf
o
r
c
e
ta
r
g
et
d
e
fi
n
it
i
o
n
i
n
t
h
e
P
o
w
e
r
C
e
n
te
r
D
e
si
g
n
e
r
t
o
s
e
e
if
t
h
e
o
b
je
ct
i
n
cl
u
d
e
s
a
n
e
x
te
r
n
al
I
D
fi
el
d
.
i
d
L
o
o
k
u
p
fi
el
d
.
Y
o
u
c
a
n
u
s
e
a
S
al
e
sf
o
r
c
e
i
d
L
o
o
k
u
p
fi
el
d
t
o
i
d
e
n
ti
f
y
e
a
c
h
r
e
c
o
r
d
i
n
a
S
al
e
sf
o
r
c
e
o
b
je
ct
.
S
al
e
sf
o
r
c
e
c
r
e
at
e
s
i
d
L
o
o
k
u
p
fi
el
d
s
f
o
r
e
a
c
h
st
a
n
d
a
r
d
S
al
e
sf
o
r
c
e
o
b
je
ct
.
F
o
r
e
x
a
m
p
le
,
t
h
e
E
m
ai
l
fi
el
d
is
a
n
i
d
L
o
o
k
u
p
fi
el
d
f
o
r
t
h
e
C
o
n
ta
ct
o
b
je
ct
.
C
u
st
o
m
S
al
e
sf
o
r
c
e
o
b
je
ct
s
d
o
n
o
t
c
o
n
ta
i
n
a
n
i
d
L
o
o
k
u
p
fi
el
d
.
F
o
r
m
o
r
e
i
n
f
o
r
m
at
i
o
n
a
b
o
u
t
i
d
L
o
o
k
u
p
fi
el
d
s,
s
e
e
t
h
e
S
al
e
sf
o
r
c
e
d
o
c
u
m
e
n
ta
ti
o
n
.
A Salesforce target object may have multiple external ID or Idlookup fields. By default, the
PowerCenter Integration Service uses the first external ID or Idlookup field it encounters.
However, you can specify the external ID or Idlookup field to use for the upsert operation in the
session properties.
To configure the upsert operation for a session that writes to a Salesforce target:
M
1
.ap
th
e
ex
ter
na
l
ID
or
id
L
oo
ku
p
fie
ld
fr
o
m
th
e
so
ur
ce
to
th
e
tar
ge
t
in
th
e
m
ap
pi
ng
.
If
yo
u
ar
e
us
in
g
an
ex
ter
na
l
ID
,
m
ap
th
e
ex
ter
na
l
ID
to
th
e
ex
ter
na
l
ID
fie
ld
in
th
e
Sa
le
sf
or
ce
tar
ge
t
ob
je
ct.
If
yo
u
ar
e
us
in
g
an
id
L
oo
ku
p
fie
ld,
m
ap
th
e
fie
ld
to
th
e
ap
pr
op
ria
te
tar
ge
t
fie
ld.
Fo
r
ex
a
m
pl
e,
m
ap
th
e
e
m
ail
so
ur
ce
fie
ld
to
th
e
E
m
ail
fie
ld
in
th
e
Sa
le
sf
or
ce
C
on
ta
ct
ob
je
ct
tar
ge
t.
C
2
.on
fi
gu
re
th
e
Tr
ea
t
In
se
rt
as
U
ps
ert
or
Tr
ea
t
U
pd
at
e
as
U
ps
ert
se
ssi
on
pr
op
ert
ie
s
to
co
nf
ig
ur
e
a
Sa
le
sf
or
ce
se
ssi
on
to
up
se
rt
re
co
rd
s.
To
3
.us
e
th
e
id
L
oo
ku
p
fie
ld
in
st
ea
d
of
an
ex
ter
na
l
ID
fie
ld,
en
ab
le
th
e
U
se
Id
L
oo
ku
p
Fi
el
d
fo
r
U
ps
ert
s
se
ssi
on
pr
op
ert
y.
B
y
de
fa
ult
,
th
e
Po
w
er
C
en
ter
In
te
gr
ati
on
Se
rv
ic
e
us
es
th
e
ex
ter
na
l
ID
fo
r
up
se
rts
.
Y
ou
ca
n
co
nf
ig
ur
e
th
e
se
ssi
on
to
ov
er
ri
de
th
e
ex
ter
na
l
ID
,
an
d
us
e
th
e
id
L
oo
ku
p
in
st
ea
d.
To
4
.sp
ec
if
y
w
hi
ch
ex
ter
na
l
ID
or
Id
lo
ok
up
fie
ld
to
us
e,
en
ter
th
e
ex
ter
na
l
ID
or
Id
lo
ok
up
fie
ld
na
m
e
in
th
e
U
se
thi
s
E
xt
er
na
lI
d/
Id
lo
ok
up
Fi
el
d
fo
r
U
ps
ert
s
se
ssi
on
pr
op
ert
y.
N
ot
e:
If
yo
u
d
o
n
ot
e
nt
er
th
e
n
a
m
e
of
th
e
ex
te
rn
al
ID
or
Idl
o
ok
u
p
fi
el
d,
th
e
Po
w
er
C
e
nt
er
In
te
gr
at
io
n
S
er
vi
ce
se
le
ct
s
th
e
fir
st
ex
te
rn
al
ID
or
Idl
o
ok
u
p
fi
el
d
it
e
nc
o
u
nt
er
s.
If
yo
u
sp
ec
ify
a
fi
el
d
th
at
is
n
ot
a
n
ex
te
rn
al
ID
or
Idl
o
ok
u
p
fi
el
d,
or
yo
u
m
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n
t
o
t
h
e
S
al
e
sf
o
r
c
e
ta
r
g
et
.
The PowerCenter Integration Service inserts quotes around commas and quotes included in the
data.
Note: The PowerExchange for Salesforce success and error logs are different from the
PowerCenter session logs. The PowerExchange for Salesforce success and error logs contain
record-level details that are specific to sessions with Salesforce targets. PowerCenter session
logs contain information about the tasks performed by the PowerCenter Integration Service,
general session errors, and load summary and transformation statistics for the session.
The PowerCenter Integration Service uses the following naming conventions for the success and
error log files:
Naming Convention
<session name><timestamp>success.csv
<session name><timestamp>error.csv
To configure the PowerCenter Integration Service to generate success and error logs for a
session that writes to Salesforce target, configure the Use SFDC Error File, Use SFDC Success
File, and SFDC Success File Directory session properties.
You can add a prefix for the success or error log files for a session. When you configure a prefix,
the PowerCenter Integration Service adds the prefix to the log file names as follows:
<prefix>_<session name><timestamp>success.csv
<prefix>_<session name><timestamp>error.csv
To add a prefix to the success or error log, use the Set Prefix for Success and Error Files session
property.
ID
0017000000NYre4AAD
The Status field indicates whether PowerCenter Integration Service created, updated, or deleted
the record.
NAME
ACCOU
Company1
76544
Company2
76545
Company3
76546
To configure a session for monitoring, select the Monitor Bulk Job Until All Batches Processed
session property.
To see how many records are successfully loaded for each batch, set the Override Tracing session
property to a value other than None.
Log Type
Location
Naming Convention
$PMTargetFileDir
Batch_<BatchId>_success.csv
$PMBadFileDir
Batch_<BatchId>_error.csv
To generate a success log, select the Use SFDC Success File session property. To generate an
error log, select the Use SFDC Error File session property. To ensure the PowerCenter Integration
Service generates logs, select the Monitor Bulk Job Until All Batches Processed session property
to enable monitoring.
You can add a prefix for the Bulk API success or error log files for a session. When you configure
a prefix, the PowerCenter Integration Service adds the prefix to the log file names as follows:
Log Type
Location
$PMTargetFileDir
<Prefix>_Batch_<BatchId>_success.csv
$PMBadFileDir
<Prefix>_Batch_<BatchId>_error.csv
To add a prefix to the success or error log, use the Set Prefix for Success and Error Files session
property.
Colum
n
Name
ID
Description
Salesforce ID.
Success Indicates the row was successfully written to the target. For all rows in
the Bulk API success log, default is True.
Created Indicates whether the row inserted or updated in the target:
T
r
u
e
.
T
h
e
r
o
w
w
a
s
i
n
Colum
n
Name
Description
s
e
rt
e
d
.
F
a
ls
e
.
T
h
e
r
o
w
w
a
s
u
p
d
a
t
e
d
.
Error
Error message associated with the row. No errors should appear in the
Bulk API success log.
ID
001T000000HsvMdIAJ
Success
TRUE
Created
FALSE
Error
-
ID
Success
Created
Error
001T000000HsvMeIAJ
TRUE
TRUE
001T000000HsvMfIAJ
TRUE
FALSE
For more information about the Bulk API success log, see the Salesforce documentation.
Column
Name
Description
ID
Success
Indicates the row was successfully written to the target. For all rows in
the Bulk API error log, default is False.
Created
Error
In addition to these columns, the Bulk API error log includes the entire source row. You can use
the error message to correct the error in the source row.
The following table shows an excerpt of a Bulk API error log:
I Suc
D ces
s
Cre
ate
d
Error
ID
Na
me
"7000"
"000"
MD
M
Wat
er
Utili
ty
QHP1N
''
RAA
Elec
tric
&
I Suc
D ces
s
Cre
ate
d
Error
ID
Na
me
Gas
For more information about the Bulk API error log, see the Salesforce documentation.
D
T
M
b
u
ff
e
r
si
z
e.
Y
o
u
c
a
n
i
n
c
r
e
a
s
e
o
r
d
e
c
r
e
a
s
e
t
h
e
v
al
u
e
o
f
D
T
M
B
u
ff
e
r
S
iz
e
t
o
s
p
e
ci
f
y
t
h
e
a
m
o
u
n
t
o
f
m
e
m
o
r
y
t
h
e
P
o
w
e
r
C
e
n
te
r
I
n
te
g
r
at
i
o
n
S
e
r
v
ic
e
u
s
e
s
a
s
D
T
M
b
u
ff
e
r
m
e
m
o
r
y.
P
r
e
ci
si
o
n
o
f
st
ri
n
g
fi
el
d
s.
M
o
d
if
y
t
h
e
p
r
e
ci
si
o
n
o
f
fi
el
d
s
t
h
at
m
a
p
t
o
t
h
e
st
ri
n
g
tr
a
n
sf
o
r
m
at
i
o
n
d
at
at
y
p
e.
For more information about these parameters see the PowerCenter Performance Tuning Guide.
Edit the Salesforce source or target definition to change the precision of fields that map to the
String transformation datatype in PowerCenter. Do not change the precision of fields that do not
map to the String transformation datatype in PowerCenter.