How to empty the field or picklist values using Salesforce Update activity?

How to empty the field or picklist values using Salesforce Update activity?

book

Article ID: KB0072090

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Salesforce.com 6.9.0

Description

The salesforce plugin will not make the respective field/picklist empty or null if the user tries to pass the value null as "" in Salesforce update activity.

Issue/Introduction

The salesforce plugin will not make the respective field/picklist empty or null if the user tries to pass the value null as "" in Salesforce update activity.

Environment

OS=All

Resolution

If the user wants a null value, Its better to set the field or picklist to null by adding it to fieldsToNull in SalesforceUpdateActivity input section rather than setting the field to "".
If the user wants to update it to empty then the user should be using " "(quotes with space)
Please note : fieldsToNull is an array element. If you want to set several fields to null use a loop around the element and add all field names there.

For more information about this, please refer below link:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_concepts_core_data_objects.htm#i1421117