
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given a complex number $z=(2m^{2}-3m-2)+(m^{2}-3m+2)i$, where $i$ is the imaginary unit, and $m\in R$.<br/>$(1)$ If $z$ is a purely imaginary number, find the value of $m$;<br/>$(2)$ If the point corresponding to $z$ in the complex plane is in the second quadrant, find the range of values for $m$.

Present the answer in LaTex format: \boxed{Your answer}
user