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

Question

Question

string manipulation in workflow

asked on June 9, 2016 Show version history

Greetings,

I am creating a Business process that, when initiated from a specific folder will copy all subfolders and documents (as shortcuts) to another folder structure. This structure is identical except that it is prefixed by department. For example:

Structure 1: AAA\BBB\CCC\DDD where AAA is the repository name.

Structure 2: AAA\Department\BBB\CCC

In the example above DDD does not exist in structure 2. Ideally I would navigate to CCC in structure 1 and then initiate the business process which would create folder DDD and also any shortcuts to documents that are in structure 1 in structure 2.

This business process would use Find Entries and a For Each Entry loop to copy and a condition based on either documents or sub folders.

My question is using token CurrentEntry_FullPath how do you manipulate it to insert 'Department' as per above? I do not see string manipulation such as trim, left, right etc . Ideally I would like to create a new token with 'AAA' stripped off and then just prefix with 'AAA\Department'

I see examples in help for date manipulation but not for simple string manipulation.

Help?

0 0

Replies

replied on June 9, 2016

Paths don't contain the repository name. So you would just add "\Department" in front of it.

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

Sign in to reply to this post.