Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Delete Records Through Groovy

edited Dec 28, 2020 11:03AM in Sales 2 comments

Summary

Delete Records Through Groovy

Content

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!