• ips
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 7
    Replies

Hi,

 

For batch program execution my total batches count is inconsistent.

 

I am running batch program on 1000 records with batch size as 85. When salesforce prepare a batch it shows me the total batch count as 12, which is correct. But, as my batches processed, that count increase as follow.

Total Batches

Batches Processed

12

0

13

2

15

5

16

9

17

13

18

16

19

19

 

Can anyone tell me about this behavior?

  • March 22, 2012
  • Like
  • 0

Hi,

I need to abort entire batch job if I get exception in any particular batch.

For e.g.. I have 10 batches for batchJob and exception occurred while executing 1 batch, next execution of batches are need to be aborted.

 

I have used System.abortJob()  method to abort the batch. But still I am not able to stop the next batch execution.

 

Thanks in advance..:)

  • February 15, 2012
  • Like
  • 0

Hi,

I have one junction object 'C' with 'A' and 'B' as parents.

I have written a trigger on 'C' junction object for after delete event. When I delete a junction object,it gets called properly.

But, when I delete a parent object 'B', it deletes a junction object with it, but not fired the trigger written on junction object.

 

Can any one tell me why this is happening?

 

Thanks in advance....

  • November 07, 2011
  • Like
  • 0

I have created a one user with Custom: Marketing User Profile. He is able to schedule a job and run a job, but not able to abort it.

What is the minimum permission required to run System.abortJobs() method?

  • September 19, 2011
  • Like
  • 0

How to check that particular Vf page is accessible to current User/Profile or not , using apex?

 

Thanks in advance....

  • September 13, 2011
  • Like
  • 0

How to get Application Id and Tab Id in salesforce?

  • September 09, 2011
  • Like
  • 0

Hi,

    Is there any way to check whether territory is enabled or not in current org using apex (programmatically)?

 

 

Thanks in advance...

  • September 02, 2011
  • Like
  • 0

Hi,

I am unable to create  New App in my professional Org even there is only one custom app is available.Limit on PE org for number of Custom App is 5.

Please help me on this...

 

 

Thanks in advance.

  • August 26, 2011
  • Like
  • 0

Hi,

I need to abort entire batch job if I get exception in any particular batch.

For e.g.. I have 10 batches for batchJob and exception occurred while executing 1 batch, next execution of batches are need to be aborted.

 

I have used System.abortJob()  method to abort the batch. But still I am not able to stop the next batch execution.

 

Thanks in advance..:)

  • February 15, 2012
  • Like
  • 0

Hi,

I want to evaluate my prefix expression. For this I am using logic in which

1. I reversed the expression, (on reverse it's not converted to post fix)

2. And then evaluating this reversed expression using stack.

 

Is my logic correct?

Will this cause any error / invalid evaluation?

 

Thanks in advance... :)

  • December 13, 2011
  • Like
  • 0

Hi,

I have one junction object 'C' with 'A' and 'B' as parents.

I have written a trigger on 'C' junction object for after delete event. When I delete a junction object,it gets called properly.

But, when I delete a parent object 'B', it deletes a junction object with it, but not fired the trigger written on junction object.

 

Can any one tell me why this is happening?

 

Thanks in advance....

  • November 07, 2011
  • Like
  • 0

How to get Application Id and Tab Id in salesforce?

  • September 09, 2011
  • Like
  • 0

Hi,

    Is there any way to check whether territory is enabled or not in current org using apex (programmatically)?

 

 

Thanks in advance...

  • September 02, 2011
  • Like
  • 0

Hi,

I am unable to create  New App in my professional Org even there is only one custom app is available.Limit on PE org for number of Custom App is 5.

Please help me on this...

 

 

Thanks in advance.

  • August 26, 2011
  • Like
  • 0