I want to delete datatype instances in other environments through PDM.I tried adding Delete SQL query in RunTask activity by creating a custom task and added the custom task in pipeline.Will the query delete the instance in the target datatable during run time in other environment(say dev,stg,etc.,) in which the application has pegadevops as built on.
Is there any other approach to add post import activity to execute delete query in other environment from PDM during deployment?
I referred below article to create custom task in the pipeline.
Also exposed service where i added logic for deleting instances in the target environment and invoked the service in the RunTask activity(created under my customized task class) and now i’m able to achieve this.