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

Question

Question

Workflow Error Message: "Path contains empty components"

asked on July 1, 2024

We are rarely and seemingly randomly getting an error message at the last stage of a Human Resources Workflow that does the following: renames personnel documents based on metadata, files those documents in a folder structure based on metadata, assigns records management properties, and finally creates a document shortcut in a separate folder. The message is "Create Shortcut in Manila Structure Path contains empty components. Parameter name: path" 

This has happened only 33 times out of 4,635 instances of this workflow over the past year, and the 33 times are isolated to only 4 different employees.  In a couple of cases, the employee folder already existed and documents had previously stored to their folders, in other cases the employee folders were new.  When I manually copy a shortcut to the folder, it works without issue. Here is a screenshot of the activity configuration...

0 0

Answer

SELECTED ANSWER
replied on July 2, 2024

I would check the value for the PatternMatching_FLLN token, that's likely the one that came up blank.

0 0

Replies

replied on July 1, 2024

It looks like you may be setting the folder path with tokens, but I can't quite tell because your screenshot seems to have scrolled to the right to the end of the value. If you are using tokens, the error usually indicates that none of the tokens specified in the path had values, so Workflow ended up with an empty path to create the shortcut in.

You can try adding a Track Tokens activity right before this one to log the values of the tokens used in the path.

0 0
replied on July 2, 2024

Here is a screenshot not cutting off the tokens I'm using. All of the field values had to be populated as they are all required fields in the repository.

 

0 0
SELECTED ANSWER
replied on July 2, 2024

I would check the value for the PatternMatching_FLLN token, that's likely the one that came up blank.

0 0
replied on July 25, 2024

Thank you! That was the culprit. The FLLN, i.e. First Letter Last Name, had a space. 

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

Sign in to reply to this post.