You need to sign in to do that
Don't have an account?
sumitha
Batch Apex Class - How to pass the String and Use into Query inside the Execute Function(Batch method).
Hi All,
I Have an Visual force page with some Set of List and String.
I have given those List and string While calling the Batch apex
Please advice.
Thanks in advance
Sumitha P
I Have an Visual force page with some Set of List and String.
I have given those List and string While calling the Batch apex
Extension_Batch batch = new CloneNSTExtension_Batch(List name,String name); batch.executeBatch(batch);My clarification is how to take the String name inside the excute method in batch apex.Because,those string(which have value from the normal apex class) I have added as the Condition value in query.
Please advice.
Thanks in advance
Sumitha P
-greg
All Answers
-greg
-Sumitha
I have attached the code where I have passed the variable through contructor in Batch Apex class
I have written Batch apex with constructor and execute and written system.debug for checking.
Where it is not seeing the system.debug statement inside Execute method in debug logs.
I need help on execution method in Batch Apex.I am unaware why the execute method is not working on my side.
Apex class: Batch Apex class: