Basic Administration > Supporting Collaboration > Workflow Administration > Workflow Tools > Workflow Template Administration > Workflow Template Editor > Workflow Editor Nodes > Workflow Robots > Execute Expression Robot
  
Execute Expression Robot
The Execute Expression robot node allows you to enter a Java expression to be executed in a workflow template. The execution is synchronous. By default, the expression returns true. A return of false indicates a problem during execution, and an exception is thrown on the server.
General Tab
The General tab allows you to specify the basic attributes of the robot.
A name for the expression. This field is required.
Category from a drop-down list. There are several predefined Windchill categories, which are enumerated types. They are defined in wt.workflow.definer.WfTemplateCategory. New categories can be added to this file as needed.
Responsible role, from a drop-down list, to designate who is responsible for the completion of this activity. People in the responsible role can be designated to be notified in case of missed deadlines or errors.
A description.
Expression Tab
The Expression tab allows you to enter a Java expression to be executed in a workflow template. Click Check Syntax to verify that the Java code you entered is correct.
For code samples that you can copy and paste, see Execute Expression Robot Samples.
* 
The expression code entered into the workflow expression text field is limited to 4000 characters. To execute code that requires more than 4000 characters, or to make the expression code more portable, create an external class file and invoke the class from within the expression robot.