You need to sign in to do that
Don't have an account?
Nitesh 22
flow deployment failing
Hi,
I am using a new Winter 20 Flow feature that in Get Records step I am allowing SF to automatically store the record in a variable. I am later in the flow updating the SF db using that automatic variable.
Everything is working fine on my SB (I have done ant retrive/deploy multiple times) but when I am packaging it and givin it to admin to deploy to other environments deployment is failing in those environments with the following error:
flows/Candidate_Questionnaire.flow -- Error: updateCandidateQnRecord1 (Update Records) - The sObjectInputReference field can reference only elements with data type SObject. Replace the value "getCandidateQnRecord".
Any ideas on what artifact/types I am missing in my package?
I am using a new Winter 20 Flow feature that in Get Records step I am allowing SF to automatically store the record in a variable. I am later in the flow updating the SF db using that automatic variable.
Everything is working fine on my SB (I have done ant retrive/deploy multiple times) but when I am packaging it and givin it to admin to deploy to other environments deployment is failing in those environments with the following error:
flows/Candidate_Questionnaire.flow -- Error: updateCandidateQnRecord1 (Update Records) - The sObjectInputReference field can reference only elements with data type SObject. Replace the value "getCandidateQnRecord".
Any ideas on what artifact/types I am missing in my package?
for some reason the following lines did not get added to the package properly and were the cause of the problem (they are new lines as part of Winter 20):
> <getFirstRecordOnly>true</getFirstRecordOnly>
..
> <storeOutputAutomat
All Answers
Assigning new values to the record variable from above:
now updating the record back into the db:
for some reason the following lines did not get added to the package properly and were the cause of the problem (they are new lines as part of Winter 20):
> <getFirstRecordOnly>true</getFirstRecordOnly>
..
> <storeOutputAutomat