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

Question

Question

When using the Workflow Activity, Find User, the Folder Token Settings cannot resolve tokens when Publishing

asked on November 12, 2013

 I was trying to specify a working folder inside the 'Find User' Workflow activities "Folder Token Settings" and I wanted to have a user path based on the tokens from the Find User activity itself. The working folder allowed me to use such tokens but it says it does not resolve when I publish. 

 

Will these tokens work anyways when I run the workflow? Is this not the proper way to use this activities feature?

0 0

Answer

SELECTED ANSWER
replied on November 12, 2013

I'll look into why we're displaying that warning, but it is just a warning. You can safely ignore it when publishing and the token will be set.

0 0
replied on November 12, 2013 Show version history

Thank You, I look forward to your response. If there is a change to be made, will this potentially be in a future release or in a hotfix? (If it is addressed at all)

 

It makes sense that if the tokens are available that it should not error, unless of course it errors because it needs to be inside a try-catch activity to ensure it finds a user.

 

EDIT: Just tried the Try-Catch idea and it still reports a warning when Publishing. At least in this situation I should not be getting this warning

0 0

Replies

replied on November 12, 2013

Since this is just a superfluous warning, it would not warrant a hotfix. Any fixes would be in future releases.

 

TheTry-Catch activity only works on runtime errors, not warnings. Publishing errors/warnings are handled by the Designer and have nothing in common with Try-Catch.

0 0
replied on November 12, 2013

Thanks. 

 

What I meant by the Try-Catch was that it would make sense if Workflow Designer was saying that it was not able to resolve the values because it may fail that activity and then it would not have any tokens. That's why trying it inside a Try-Catch seemed like an interesting idea to try out because of the fact that if the activity would fail during runtime then it would not run into that problem, which I had hoped Workflow Designer would have found to be okay. 

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

Sign in to reply to this post.