You need to sign in to do that
Don't have an account?
Michael Svacha
problem with flow from workbook
I'm working through the workbook to get familar with everything but keep coming up with an issue in the flow section. I am getting this error message. Can anyone help me please?
Sorry, an error occurred in the flow.
For help, provide your flow administrator with the following information: UPSERT --- UPSERT FAILED --- ERRORS : (REQUIRED_FIELD_MISSING) Required fields are missing: [Invoice__c] --- for SFDC record with ID : null,
Thank you
Sorry, an error occurred in the flow.
For help, provide your flow administrator with the following information: UPSERT --- UPSERT FAILED --- ERRORS : (REQUIRED_FIELD_MISSING) Required fields are missing: [Invoice__c] --- for SFDC record with ID : null,
Thank you
You need to add a step in your flow to populate this field, or turn off the requirement on that object to have that field always populated!
List<Account> accountsWithContacts = new List<Account>();
List<Account> accountsWithTenContacts = new List<Account>();
List<Account> accs = [SELECT Id, Name, (SELECT Id FROM Contacts) FROM Account];
for (Account a : accs) {
if (a.Contacts != null && a.Contacts.size() > 0) {
accountsWithContacts.add(a);
if (a.Contacts.size() == 10) {
accountsWithTenContacts.add(a);
}
}
}
Thanks,
AutoRabit
http://www.autorabit.com/