
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\in \mathbb{R}$, the function $f\left(x\right)=(x^{2}+ax)e^{x}$, where $x\in \mathbb{R}$.  
$(1)$ When $a=0$, find the monotonic intervals of the function $f\left(x\right)$.  
$(2)$ If the function $f\left(x\right)$ is monotonically decreasing on $(1,2)$, find the range of values for $a$.

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