Worksoft Community

Using variable for the target process in an Execute process step

Wiki Table of Contents

Page Details

First published by:
Yujira
on 19 Nov 2009
Last revision by:
Yujira
on 15 Apr 2011
2 people found this article useful.

100% of people found this useful
Using variable for the target process in an Execute process step

 

One can specify the called process using an absolute path or relative path.  In both cases, embedding a slash "/" in a process name can result in ambiguous results.  The variable value could refer to a folder and process or just a process.

/project/folder/folder/processname
../../../folder/folder/processname

For example, say that the folder structure is as follows

Project name = Myproject
Folder structure =
           FolderA
              SubfolderB


The parent process Myparentprocess is in FolderA while the child process Mychildprocess is in SubfolderB.

If the user would like to use a variable to call Mychildprocess from Myparentprocess, they can use the following value in the variable.

1. Relative path for Mychildprocess
/Subfolder B/Mychildprocess
2. Absolute path for Mychildprocess
/Myproject/FolderA/SubfolderB/Mychildprocess

If the name is incorrect the user will get an error when executing the parent process:

The given key was not present in the dictionary.

Note: Certify execution will still execute the process even if the path is incorrect as long as the target process name is correct and the target process exists in the same folder as the calling process.

Recent Comments

Leave the first comment for this page.
©2009-2011 Worksoft, Inc.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems