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

build.

 

Downloads

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. 

 

replace_root_path_action_img1

 

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.

 

"Hour=25"

 

replace_root_path_action_img2

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

 

replace_root_path_action_img3

 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.

 

replace_root_path_action_img6

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

Downloads

Download JSCAPE MFT Server

Topics: JSCAPE MFT, Triggers, Actions

Get A Free Trial

Download Your 7-Day Free Trial Version of JSCAPE MFT Server.

Get Your Free Trial