How to setup saleforce instance ID for up-serting data

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

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?

https://gist.github.com/taylordowns2000/960df36f4c2e21588c24aebc2dfc01f4

Best,
Taylor