Hi Swap,
Can you not set to Read permission the Test 2 Lib to avoid mistakes.
Regards,
Christophe
Thank you Christophe for your reply. I'll set to read permission the test 2 Lib, but I'm looking different solution.
Whenever user click on document set in Test 2 lib, workflow will import or copy all files from Test 1 lib.
Thanks.
Swap
Hi,
I've managed to resolve above issue by using below process.
1. Add Variables
2. Add Regular expression
Pattern - ^(.**\/])
Operation - select Replace Text
Input Text - {Common:ContextItemUrl}
store result in - textDocSetRaw
3. Add Build String
Text - fn-Replace({WorkflowVariable:textDocSetRaw}, %20, )
store result in - textDocSetName
4. Add Build string
Text - fn-Replace({WorkflowVariable:textDocSetName},&OpenIn=browser,)
store result in - textDocSetName
5. Add Query list
Editor Mode - select Query builder
List - <source list name>
Select XML encode inserted Tokens
Field -
Select Encoded Absolute URL - store in varSourceColl
Select Name - store in varSourceFileName
6. Add for each loop
Target collection - varSourceColl
Store result in - SourceURL
Index - CollIndex
7. Add Collection operation in loop
8. set variable in loop
9. Add Call web Service
Workflow Snapshot
I hope this will help.
Thanks,
Swap