• nandu s 15
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies
I created several process builder proceeses around check boxes on the contact object.  I wanted to trigger these to update in mass so I created a hidden checkbox field on the contact object called 'Mass Update', set the value to true for all and trying to do an update. I got the error: The record couldnt be saved because it failed to trigger a flow. <br>A flow trigger failed to execute the flow with version ID 30116000000PPKL. <br/> Contact your administrator for help.

I don't have any active conflicting workflow rules on these fields.  When I tested the active processes they all individually worked. Why am I getting this for all 16K contacts i'm trying to update using Jitterbit? 

How to query records from recycle bin?

hello 

    i am using test,startTest()  and test.stopTest() method in test class.

   i am  facing a error   :

    Method does not exist or incorrect signature: Test.startTest() at line 16 column 9

    my code is : 

       

 

      

@isTest

private class testclass{

public static testMethod void TestOverwriteTestAccountDescriptions(){
// Perform our data preparation.
List<Account> accounts = new List<Account>{};

for(Integer i = 0; i < 200; i++){
Account a = new Account(Name = 'Test Account ' + i);
accounts.add(a);
}

// Start the test, this changes governor limit context to 
// that of trigger rather than test. 
Test.startTest();

// Insert the Account records that cause the trigger to execute.
insert accounts; 

// Stop the test, this changes limit context back to test from trigger.
Test.stopTest();

// Query the database for the newly inserted records.
List<Account> insertedAccounts = [SELECT Name, Description 
FROM Account 
WHERE Id IN : accounts];

// Assert that the Description fields contains the proper value now.
for(Account a : insertedAccounts){
System.assertEquals(
'This Account is probably left over from testing. It should probably be deleted.', 
a.Description);
}
}
}