Delete Records Through Groovy
Summary
Delete Records Through GroovyContent
Dear All,
I wanted to delete object records through groovy.
Scenario:-
1- we are creating asset against Accounts when opportunity is "WON" (Developed)
2- We want to delete the assets when Opportunity Status is "LOST", we are saving opptyId in Asset to identify from which opportunity it is created.
Is is possible to delete Asset / Any records through groovy? or else we will use API call to achieve the same scenario.
Thanks,
Mohanraj D
Tagged:
0