Is it possible to use a variable for File Event directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2015 07:16 AM - edited 03-01-2019 09:17 AM
Is it possible to insert a variable for the Directory of a file event? In the below example I would like to replace 'F:\QA' with a variable.
Variable:
Name: PMRootDir_QA
Value: F:\QA
File Event:
Directory: F:\QA\Test
- Labels:
-
Cisco Workload Automation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2015 08:30 AM
I don't think so. I agree it's a pain specifically if you have many file agents and folder locations need to be updated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2015 12:01 PM
Hi Michael,
As Dinesh pointed out a variable is not possible in a File Event.
Have you tried looking into a File Dependency instead? With a File Dependency you can utilize variables.
Cheers,
Derrick Au
