How to setup saleforce instance ID for up-serting data

12 views
Skip to first unread message

nhlanh...@gmail.com

unread,
Nov 1, 2018, 8:35:08 AM11/1/18
to OpenFn Community

I have been trying to set up attendance job for the youth profiles and currently I am stuck at setting up an “instance id”  on the script (I inherited the code)


My confusion is that:

·         An instance ID is setup as an external ID on programme activities object in Sales Force, and yet on doc string I should set it up in sales force. I need help, I have attached both the code and error. Thank you




OpenFN_SF_code.png


SF_Openfn_error.png

downs....@gmail.com

unread,
Nov 1, 2018, 9:23:46 AM11/1/18
to OpenFn Community
Hi there. I've put together a gist that you can try using—it pulls that data array from ODK (which only ever contains one item) into its own item so you can use each and beta.each less. Does this work for you?


Best,
Taylor
Reply all
Reply to author
Forward
0 new messages