"System couldn’t find the environment option that was entered"
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
- Labels:
- Scheduler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
