Replace Path Of All Users Using ReplaceUsersPath Action

Updated by Hari Prasad on

This custom trigger action is used to replace all users path.


How to replace the path of all users using ReplaceUsersPath Action

Let me now show you how to implement that.


1. Make sure you have ReplaceUsersPath Action installed

Before creating a custom trigger using the ReplaceUsersPath action , you need to

have build installed in the server where JSCAPE MFT Server is running. Refer the below section for the




Source code and build instructions


2. Create a Trigger to replace all users path

Login into admin console of JSCAPE MFT Server > Triggers and Click Add to create a Trigger

Give the trigger a Name and then select the Current Time event type from the drop-down list. 




Click Next to Step 2 where a condition can be set to execute the trigger. Since the trigger needs to be

executed only when needed set the expression as below. Setting the below expression ensures to

execute the trigger manually.





On Step 3 an action has to be added, in order to add an action click Add button and select the action

"Replace Users Path" from drop down list and Click OK



 If the action not listed then you need to have build installed in the server.

 On OK there would be file parameter for ReplaceUsersPath Action;

  -  User Names (Mention ALL to change for all users)

  -  Current Root Path

  -  Path To Replace

The default root path that is set by JSCAPE MFT Server is " %installdir%/users/%domain%/%username% ". In order to change the default root path set the value of "Current Root Path" parameter to installdir/users/domain/username and input the value of the path to be changed in "Path To Replace" parameter.



Once done click OK to save the settings. That's it. Now you need to execute the trigger manually to change the users path.


Download JSCAPE MFT Server

Topics: JSCAPE MFT, Triggers, Actions