I'am SharePoint 2013 beginner and i have a project where i need to create a workflow (With Visual Studio), so i started my workflow as flowchart workflow then at some point i needed to write custom code (like to get something from DB) but couldn't find anyway to do that (i can't call the class's functions), whereas in 2010's sequential workflow the wf already has a code behind class.
So my question is: Is there anyway i could call custom code like in sequential workflows !?
Note: I already added a class and tried to use "InvokeMethod" with it, but couldn't reach the class's functions.