Workflow and sequence

How workflows and sequences different?

Please refer to these documents:
State Machine

cheers @Ananya6

welcome to uipath community

Workflow is actually a generic term which includes both FLOWCHART and SEQUENCE

so Flowchart is used when we can integrate different applications and use different windows, along with that if we want to make multiple decision making, then it would be easy to work with FLOWCHART

while Sequence is used when we are doing in a single application or a single window with a sequence of activities to be done with less decision making (like IF condition), then it would be easy to go for Sequence

and moreover we can use include a Flowchart inside a Sequence and a sequence inside a Flowchart, both are possible

Cheers @Ananya6