
Hi,
How can I detect the Record Type in Salesforce to write a trigger condition based on the record type?
When a record type is created in SalesForce for the Custom Object
IF record type = Bulk,
then create a folder in SharePoint.
IF record type NOT = Bulk then
then do nothing.
I am thinking I can create a field in SFDC that will contain the Record Type and base the trigger on the value of the, but I don't know how to extract the record type to that field, or if the API can filter on Record Type.
Use the first four digits of the item ID to map the record type. NOTE: case sensitive.