SalesForce API (Update Record activity)

I am attempting to get an output status from the “Update Record activity” for SalesForce. Typically, an output like this should be “True” or “False”; however, I am getting back a status of “UiPath.Salesforce.Activities.Models.SalesforceStatus”. Can anyone tell me what I am doing wrong.

Hi @Dammy

In UiPath, the Update Record activity returns a SalesforceStatus object. To get a true/false output, access the IsSuccess property of the returned SalesforceStatus object, which will indicate if the update was successful (True) or not (False).

If this information is helpful, please mark as solution. Thanks

I don’t see “IsSuccess” in the property window. Can you provide more information on this please.

@Dammy

You have to use UpdateOutput.Success which would give you boolean as expected

Cheers

@Dammy
Please use in output - UpdateOutput.Success

If this information is helpful, please mark as solution. Thanks

Thank you so much that worked! “UpdateOutput.Sucess.ToString”

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.