Documentation Center

Server tools and Workflow triggers

The following table describes the information and switches passed by Contenta for Server tools and Workflow triggers.

Triggers for ContentRoutingProject objects also receive an additional comma separated list of BLOB IDs on the command line for each object being forwarded.

SwitchDescription
-p pcm_path Path name of the selected object within the Contenta database.
-i export_path Only if the export clause is used in the tool/trigger command; the export path (on the server).
-b object_id Internal Contenta identifier of the selected object (also called the BLOB ID); number is not preceded by #.
-r rev_code Revision code of the selected object.
-cfg config_id Configuration identifier; number is not preceded by #.
-idpath id_path

Only if # used in command line; the ID path of the selected object.

-cookie A tool cookie used to connect to the Contenta Server.
-socket socketCurrent socket number
-host Contenta server node Name of current Contenta Server node.
-d arg_num task user

Only passed to triggers, not server tools.

arg_num is the number of arguments being passed. This is always 2 (task and user).

task (first argument) is the name of the workflow task. user (second argument) is the name of the user (or desktop) to which the project is being forwarded.