I am currently working exclusively with UiPath Apps and facing a challenge while trying to upload a file to a Salesforce Case object. On the Salesforce interface, files can be manually attached to a Case during updates. My goal is to automate this process for the business directly from Apps.
Here’s what I’ve tried so far:
Salesforce Connection:
I created a connection to Salesforce and explored activities related to file uploads.
Steps Followed:
-Added an “Upload File” field in UiPath Apps.
-Used the “Salesforce: Upload File” activity, passing the .Value of the “Upload File” field into the “Attachment” field.
-Followed this with the “Salesforce: Add File to Record” activity, where I mapped the File ID output from the “Salesforce: Upload File” activity to the “File ID” field.
Issue Encountered:
Despite following the above steps, I encounter a generic error: Internal Failure while handling request
My general question is: How can I upload a file and link it to a Salesforce Case object directly from UiPath Apps?
I didn’t find any documentation about Salesforce activities on Apps (but I did for Studio), the goal is to complete the good fields with the correct values.