You are viewing limited content. For full access, please sign in.

Question

Question

Permissions for importing documents through workflow

asked on May 30, 2017

I am attempting to use workflow to import some documents. Currently I am experiencing permission issues. When I open the SDK script activity and run it I don't receive the same permission denied. Do I have to try to pass through some type of authentication. I thought that changing the service account on the workflow service would allow workflow to find the folder location though it does not. I receive an error in workflow stating "could not find part of the path." Should I try to have the sdk run under a specific account or is it an issue with the account the workflow service is running under?

0 0

Answer

SELECTED ANSWER
replied on May 31, 2017

That looks like the service user doesn't have rights to the path. When you run the script from the Designer it runs as the currently logged in user. When it runs in a workflow, it runs as the WF Server's service user.

1 0

Replies

replied on May 30, 2017 Show version history

Are you trying to import from a mapped network drive? Can you post the full error message?

0 0
replied on May 30, 2017

Here is the error that I receive. I have also attempted to place another back slash to escape the first slash. If I log into the server with another user (domain admin) I don't experience this issue.

0 0
SELECTED ANSWER
replied on May 31, 2017

That looks like the service user doesn't have rights to the path. When you run the script from the Designer it runs as the currently logged in user. When it runs in a workflow, it runs as the WF Server's service user.

1 0
replied on May 31, 2017

Does the workflow run on the user account that is currently logged in the machine when clicking on the run workflow button when in the workflow designer?

0 0
replied on May 31, 2017

No, it runs as the user specified in the Workflow Server's service login.

0 0
replied on May 31, 2017

Thanks for the confirmation

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.