Replace Root Path Of The Users Using ReplaceUsersPath Action

Posted by Hari Prasad on Mar 12, 2019 11:08:05 AM

This custom trigger action is used to replace the users default root path.

 

How to replace the root path 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 the users default 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 the usernames delimited by comma)

  -  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_img4

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 Server, Triggers, Actions