• Andy In The Cloud
  • 0 Points
  • Member since 2014
  • CTO
  • FinancialForce.com

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 3
Is there any Template Engine like FreeMaker(in Java) which can be used to generate XML or JSON based on Changing data? I am looking for this feature so that I dont have to hardcode the XML structure in my Apex code, instead I will be creating a template and the engine will be able to take the required dataMap as an input along with the template (Static Resource) and will create the XML dynamically. This will enable me to create XMLs without any further coding even if I have any change in the XML template/structure.
I have a bulkified flow which updates the user record. The error specifically occurs in a FastUpdate element which updates the user records stored in a SObjectCollectionVariable.

FLOW_ELEMENT_ERROR| Argument must be a big decimal java.lang.Integer|FlowRecordUpdate|UpdateUserRecords 
Error executing flow: Update_User_Fields An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information.




I have been looking for a way to access the setup audit trail programatically, using apex or webservice api. But without any luck. 

Is there a way to achieve this.. 


Maybe by using some URL Tricks ?


The basic requirement is to get a list of all the actions performed by a user in a given time (as displayed in the setup audit trail). It would be great if I could simply query that from some Table ?


Any Ideas , Leads, Comments please.



  • September 14, 2011
  • Like
  • 1