Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

"System couldn’t find the environment option that was entered"

oshin
5 - Atom

The Last step of workflow, we have a batch file which updates the output file from our shared drive to share point.

The share point address changed and we are facing issue since then.

I have modified the workflow, batch file and updated in scheduler as well.

The workflow runs successfully if we run it manually. But it fails when we run it through scheduler at the last step with the below error:

"System couldn’t find the environment option that was entered"

Can anyone help with solving this problem? 

1 REPLY 1
danilang
19 - Altair
19 - Altair

Hi @oshin 

 

It sounds like the batch file is looking for an environment variable that is only set when the user logs in.  Since the scheduler runs as a service account and doesn't actually log in, this environment variable is not set.   You can probably work with your IT department to get the variable configured as part of the system variables.  These are available to all sessions, logged in or not.   

 

Dan

Labels
Top Solution Authors