• Ashley Zhao
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
Hi,all. I am back again.
This time, I meet a problem about batch load data.

The details is the following:
     For example, when I create or update a contact, it will trigger a process to execute a flow, which can search a template from a custom object called SMS, and when the flow find a template, it will send a message to the contact. Besides, if the flow can not find a template, it will send me an email to tell me that. But now, when I create or update greater than 3 records, it will send me the email. what's more, I can use the variables search the correct data by writing a query code on sublime. Could anybody please help me solve it?

Yours sincerely,
Best wishes!
Hi,all. I am back again.
This time, I meet a problem about bunch load data.

The details is the following:
     For example, when I create or update a contact, it will trigger a process to execute a flow, which can search a template from a custom object called SMS, and when the flow find a template, it will send a message to the contact. Besides, if the flow can not find a template, it will send me an email to tell me that. But now, when I create or update greater than 3 records, it will send me the email. what's more, I can use the variables search the correct data by writing a query code on sublime. Could anybody please help me solve it?

Yours sincerely,
Best wishes!
hey,guys.i meet a problem again.
The detail problem is the following :

Account a1 = new Account(
        Name = 'aiao1',
        Phone = '+34543331',
        Industry = 'Energy',
        Site = '12' );
Account a2 = new Account(
        Name = 'aiao2',
        Phone = '+34543332',
        Industry = 'Energy',
        Site = '34');
Account a3 = new Account(
        Name = 'aiao3',
        Phone = '+34543333',
        Industry = 'Energy',
        Site = '56');
Account a4 = new Account(
        Name = 'aiao4',
        Phone = '+34543334',
        Industry = 'Energy',
        Site = '78');       



List<Account> a6 = new List<Account>();
    a6.add(a1);
    a6.add(a2);
    a6.add(a3);
    a6.add(a4);
    

try {
    insert a6;
}
catch (DMLException e) {
    trigger.new[0].addError(e.getDMLMessage(0));
    System.debug(' DML Exception: ' + e);
}

when i insert these data, it will trigger a process, and the process will Execute a Flow 
User-added image

the flow will execute the  following :
User-added image
it will create a record,and when the record created success,it will update a field .
when a insert less than 4 records, it will execute successly.
but when the records equal or greater than 4, i will meet a error.
User-added image

so can everyboby help me to solve this ?
very thx.
yours sincely .
hi,all.
i am new here .
i want to combine process bulider and flow to complete that when i delete a record  ,the process will be trigger..can everybody help me?
for example , the Account object,i want to delete an account's case, when i delete it,it will trigger an outbound msg...
thx....
Hi,all. I am back again.
This time, I meet a problem about bunch load data.

The details is the following:
     For example, when I create or update a contact, it will trigger a process to execute a flow, which can search a template from a custom object called SMS, and when the flow find a template, it will send a message to the contact. Besides, if the flow can not find a template, it will send me an email to tell me that. But now, when I create or update greater than 3 records, it will send me the email. what's more, I can use the variables search the correct data by writing a query code on sublime. Could anybody please help me solve it?

Yours sincerely,
Best wishes!
hey,guys.i meet a problem again.
The detail problem is the following :

Account a1 = new Account(
        Name = 'aiao1',
        Phone = '+34543331',
        Industry = 'Energy',
        Site = '12' );
Account a2 = new Account(
        Name = 'aiao2',
        Phone = '+34543332',
        Industry = 'Energy',
        Site = '34');
Account a3 = new Account(
        Name = 'aiao3',
        Phone = '+34543333',
        Industry = 'Energy',
        Site = '56');
Account a4 = new Account(
        Name = 'aiao4',
        Phone = '+34543334',
        Industry = 'Energy',
        Site = '78');       



List<Account> a6 = new List<Account>();
    a6.add(a1);
    a6.add(a2);
    a6.add(a3);
    a6.add(a4);
    

try {
    insert a6;
}
catch (DMLException e) {
    trigger.new[0].addError(e.getDMLMessage(0));
    System.debug(' DML Exception: ' + e);
}

when i insert these data, it will trigger a process, and the process will Execute a Flow 
User-added image

the flow will execute the  following :
User-added image
it will create a record,and when the record created success,it will update a field .
when a insert less than 4 records, it will execute successly.
but when the records equal or greater than 4, i will meet a error.
User-added image

so can everyboby help me to solve this ?
very thx.
yours sincely .