Typically a process flowchart starts with the Source block that generates new agents.
AnyLogic also provides users with an unique possibility to let agents live in an agent population and at a certain point in their lifetime become injected into a process via Enter block. Having finished the process, agents are not removed from the system, but they just leave the flowchart (via the block Exit) and continue living in the agent population (possibly waiting for the next time they need to go through the process).
This video shows how to combine agent-based and process-based modeling approaches in your model. You will learn how to make an agent whose behavior is defined by a statechart go through a process defined by a flowchart.
How-To video: Using agents in a process flow