This is used to check if the code is executed from the trigger or not. There might be scenerios where the method should be executed when it is run by trigger or visual force page call but some part of code should not be excuted while running trigger in that method. In this scenerio we can use and check it.
Let me know if you need any details.
If this solution helps, Please mark it as best answer.
This is used to check if the code is executed from the trigger or not. There might be scenerios where the method should be executed when it is run by trigger or visual force page call but some part of code should not be excuted while running trigger in that method. In this scenerio we can use and check it.
Let me know if you need any details.
If this solution helps, Please mark it as best answer.
Ok Could you please share any example of apex class and trigger.isExecuting if you have any. That will help me top understand practically,So i can do handson aswell. Thank you in Advance :)
This is used to check if the code is executed from the trigger or not. There might be scenerios where the method should be executed when it is run by trigger or visual force page call but some part of code should not be excuted while running trigger in that method. In this scenerio we can use and check it.
Let me know if you need any details.
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
This is used to check if the code is executed from the trigger or not. There might be scenerios where the method should be executed when it is run by trigger or visual force page call but some part of code should not be excuted while running trigger in that method. In this scenerio we can use and check it.
Let me know if you need any details.
If this solution helps, Please mark it as best answer.
Thanks,