1
Completed

Create a Post Action Run a Script - TaskActionPlugins field in Server Settings

To use the post action  -  Action Type: Script File, the field must contain the full path to the script.

Example -  C:\Program Files\IMAGINiT Technologies\Clarity Central Administrator\TaskActionPlugins\17-1556-100 West Park Hospital\Clarity Scripts\Weekly Upload - PDF\ClarityScripter.exe.

Create a field that is in server settings that would contain the location of te TaskActionPlugins 

Example  -C:\Program Files\IMAGINiT Technologies\Clarity Central Administrator\TaskActionPlugins\

Then in the task we can just put in the rest for the projects location.

Example - 17-1556-100 West Park Hospital\Clarity Scripts\Weekly Upload -

PDF\ClarityScripter.exe.

Right now we are moving this folder to a network location for easier setup instead of logging on the host console.

2 replies

Peter,

I suspect that you can setup an Environment Variable on the server, and then use that in the Post Task Action.

- Make it a System Environment Variable

- Probably won't take effect until after IIS is restarted.

Then you can use:  %TaskActions%\Clarity.Scripter.exe

Matt is this now added ? How do we setup the environment variable?

Environment variables are built in with Windows. You go into Windows system settings to define/modify them. Then I would think that you could use something like %ScriptDir%\mybatch.exe