Are there methods (setCurrentTask and getCurrentTask) predefined or OOTB. If so can anyone point me to the right class for these methods.Er.. are you asking about workflow tasks, or OD steps in a deployment instance?[font color="blue"]In either case are these predefined in any jar? I didn't find them..[/font]Should I be writing these classes with these default constructors?What classes? What's the execution context?[font color="blue"]I was referring to setCurrentTask.[/font]Are there any classes for datadeploy, basically for querying, I mean we can easily set up jdbc for querying and fetching, was wondering any API from OOTB teamsite to do the same?DataDeploy only does content updates, not content reads. You can't use it to query a database for purposes like reporting. You'd need to set up your own JDBC connection for such things, ideally supported by an ORM framework.[font color="blue"]Good, that's what i thought.[/font]