New answers tagged

0

Try this: case when previous('fieldnameofthiscomputedfield') is null then current('weeklymeasure') else (current('weeklymeasure') + previous('fieldnameofthiscomputedfield')) end


0

List<Object> myData = (List<Object>)(attachmentJSON.get(key)); works in my case.


-2

Using a generic Object identifier should work. Once in Apex, it will need to be explicitly typecast to an object to be processed further and have any DML operation. If you are sending the Salesforce recordIds, then you can get the sObjectType of the record Id and cast your Object instance to the corresponding sObject instance. Schema.SObjectType ...


Top 50 recent answers are included