May 11, 2011 at 1:42 PM
Edited May 11, 2011 at 1:43 PM
Yes, you can start a workflow instance from the command line.
This is done using the LightweightExecutor project that comes with the Trident solution.
LightweightExecutor is a console application that accepts the Id of the workflow to be executed and an optional input of the path to the file where the workflow inputs are specified.
This model is not very flexible and gives limited control over the execution/scheduling of a new job and management of running jobs.
Follow the steps given below to achieve the same.
Download and build the Trident solution. Refer
Developer On-boarding Guide in case you are finding any issue in setting up the development environment.
Move the command line window where the LightweightExecutor.exe is placed. By default, it is placed under …\tridentworkflow-63690\Trident\Product\Debug\Executor folder.
Now, you can run a workflow using the following command LightweightExecutor –wf (workflowid)
For further details about the command format and input file format please refer the
Please let us know if this helps you in resolving your query.