Can anyone provide details on how fields should be named when attempting to use Alteryx Designer Desktop to insert records? Im mainly asking how RecordtypeID and referenced object fields should be titled or if they are required at all.
Pretty sure these are the problem fields in my workflow. I initally had account__c named "ID" and that did not work. Updating to other fields on existing records works fine.
Currently, when I attempt inserting records, the flow freezes at the output tool for a long time.
It needs to match the Salesforce API naming exactly. So for record type the field name should be "RecordTypeId"
That's a standard field name, so that will never change no matter the object. There are custom fields like the Account__c that are configured specifically in your org and will differ from object to object.
Outside of the Alteryx scope, I would recommend getting access to the "Setup" section of Salesforce if you're going to be interacting with it a lot. It should be a gear with a lightening logo in the top right of your SF interface.
Once in there, you can view every object, every field, and the API name for each field. It's like a SF cheat sheet.
__PRESENT
The flow is still stalling when I want to insert only 5 records. Do you use the api name to label fields for referenced / look up objects in your workflows?
I am currently having the same issue. We are trying to insert work orders through an Alteryx process. The insert doesn't seem to work in our UAT environment, but I have another workflow that will insert just fine on our PROD Weekly Snapshot object.
Unable to tell whether this is a testing environment issue or if tables outside of the snapshot have issues with data inserts.
Did you ever find a solution?
No solution or new attempt at it from me. So sorry.
Some progress was made by doing the following :
Hope this helps.
@sorierop please review the points above
To be more specific about Inserts - you need to reorder the fields to be to the top of all other fields in the select tool - even ones that are unselected. The related object ID should be the field on the very top and "RecordTypeId" following. All other fields should follow directly behind this. If unselected fields are in the middle or at the top, the process will stall.
Also- capitalization matters. For Updates, "ID" will not work due to the capital D.
The screenshot in OP has "recordTypeId" which will not work with the lowercase R. Alteryx and SF is very specific this way.
Here is an example of select tools on flows that are successfully inserting records. Below, we are making records against Accounts so "Accounts__c" needs to be the very first field - followed by RecordTypeId". Note that Business_Contract__c looks to be an api name but its not the way its named in the record we are creating. That is an API name of the field that was pulled from another object.
Therefore, it needed to be corrected to the API name utilized by that the object that we are inserting to.
In this below example, I believe the records we are creating only has one record type. So a RecordTypeId field is not necessary.
"Name" is the API name of the field we are creating so "Name" as the field name is correct here.
@sorierop i apologize - last time ill @ you. you are going to want to see the information above as well.
Oddly enough, this issue has come up again for me. Having the same issues in UAT as a couple months ago with the other project.
Building a quick pipeline between two systems. The weird thing about this issue is that inserts work properly on our Weekly Snapshot object in the Production environment, but I can't get it to work on our Account object in UAT.
I've gone over your replies (thank you for the level of detail provided) but I still get the same issue. As I understand from your screenshots, I'll want my Id and RecordType columns as close to the top of my select tools as they can be. So for example on the Account insert:
RecordTypeId
Phone
Website
Dynamics_Unique_Id__c
etc etc
Do I need to include anything else here? I would think that creating records would not require the Id column to be present. I've tried inserting both as null and as "#N/A" which is what Salesforce needs to push a column to null when updating.