pastedImage_1.png

Setting the SFDC Record Type

Brian_Law_MKTO
Marketo Employee
Marketo Employee

If you use Record Types in SFDC, you can set the Record Type ID in Marketo. Set the value before using the “Sync Lead to SFDC” flow step. Insert the 18-character ID, not the name of the Record Type.

pastedImage_1.png

Work with your SFDC Admin to get the Record Types IDs and to determine the logic for which records should get which IDs.  Since the Record Type is a lookup field it will contain an ID instead of a name. Here is an interesting article about viewing the name.

17340
5
5 Comments
Grégoire_Miche2
Level 10

HI Brian,

When using record types, it is strongly recommended to add Formula fields in SFDC that will bring back the Record Type Name (the typical formula will be recordtype.name). These fields will enable to control the setting made and debug what is done, much more efficiently than trying to read and memorize SFDC IDs

-Greg

Brian_Law_MKTO
Marketo Employee

Greg, thanks for adding the great tip.

Josh_Hill13
Level 10 - Champion Alumni

Brian Law​ do you have answers for applying the Record Type ID when SFDC sees

CODE\n ??

and the flow step has no extra characters? Marketo is saying SFDC saw a malformed ID  of XXXXXXXXXXXXXX\n and I'm not sure how to fix this.

Anonymous
Not applicable

I have seen this \n. It looks like from the sfdc logs that there is an extra \n coming from marketo> but i cant get marketo to agree or id how to fix it. I have seen this with ID's, and Picklist Fields. I am not sure why.

Grégoire_Miche2
Level 10

Check you have not added a carriage return in the change data value flow step new value.

-Greg