Technote (FAQ)
Question
How to create a custom column in the Taskmaster Client Job Monitor.
Answer
To add a column:
- In the tmBatch table in the Taskmaster engine database, add a column, giving it the desired name preceded with pb_ (ex: pb_MyColumn).
- Save the table.
- For SQL only, also do the following:
- Open the JMView view for design.
- Delete each item appearing in the 'Alias' column.
- Press the ! (exclamation mark) icon.
- Save the view.
- Open the JobMonitor view for design.
- Press the ! (exclamation mark) icon.
- Save the view.
- Restart Taskmaster Server.
- To populate this field with dynamic content, scripting is required.
- If using a Batch Pilot form, the following command is used.
pilot.XtraBatchFieldValue("pb_MyColumn") = "my value" - If using a Rulerunner action, the pilot.XtraBatchFieldValue parameter must be uppercase. For example:
sValue = pilot.XtraBatchFieldValue("PB_MYCOLUMN") - The value passed to the property must be valid for the database field. That is, it cannot exceed the maximum number of characters that can be held in the database field or contain characters not valid for that field type.
- If using a Batch Pilot form, the following command is used.
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.