Thanks!
3 answers
Hi Tim,
When an sObject variable is created, its default value is null. Before reference an sObject variable’s values in another element, make sure that the sObject variable has a value by using the is null operator in a Decision element.
To determine whether a field value that’s stored in an sObject variable was ever set, even if it’s currently set to null, use the was setoperator in a Decision element. If the entire sObject variable is set to null (rather than one of its field values), you can’t use was set. You can’t access any fields in an unpopulated sObject.
Use this link for sobject collection:
https://help.salesforce.com/apex/HTViewHelpDoc?id=vpm_designer_resources_sobject_collection.htm&language=en_US