IBM Support

Adding WFTASKTYPE to View Workflow History dialog

Question & Answer


Question

Where can I find the View Workflow History dialog to add the WFTASKTYPE column to the dialog?

Answer

Dialogs that are used in multiple applications are found in the library.xml file.
You will need to use Application Designer to export the LIBRARY.XML file
and manually modify it.
Launch Application Designer.
From the Select Action menu there is an option to Export System XML,
From the list you can select the LIBRARY.XML
Save this file to your desktop or a place you can find it and make a
copy as a backup.
Open the Library.xml file using a text editor.
Find the following section:

<dialog beanclass="psdi.webclient.beans.common.WFViewHistoryBean"
id="historywf" label="View Workflow History" width="800">
<table id="historywftable" inputmode="readonly" label="Workflows"
orderby="TRANSDATE, TRANSID" parentdatasrc="MAINRECORD"
relationship="WFTRANSACTION">
<tablebody displayrowsperpage="10" filterable="true"
filterexpanded="false" id="historywftablebody">
<tablecol filterable="false" hidden="false" id="historywf_togl"
mxevent="toggledetailstate" mxevent_desc="Show Detail" sortable="false"
type="event"/>
<tablecol dataattribute="ProcessName" id="historywfcol1"/>
<tablecol dataattribute="Reassigned" id="historywfcol4">
<checkbox dataattribute="Reassigned" id="historywfcol4_cb"/>
</tablecol>
<tablecol dataattribute="Description" id="historywfcol5"/>
<tablecol dataattribute="TransDate" id="historywfcol8"/>
<tablecol dataattribute="PersonID" id="historywfcol9"/>

Add the following line:
<tablecol dataattribute="WFTASKTYPE" id="historywfcol10"/>

The changed section now looks like:

<dialog beanclass="psdi.webclient.beans.common.WFViewHistoryBean"
id="historywf" label="View Workflow History" width="800">
<table id="historywftable" inputmode="readonly" label="Workflows"
orderby="TRANSDATE, TRANSID" parentdatasrc="MAINRECORD"
relationship="WFTRANSACTION">
<tablebody displayrowsperpage="10" filterable="true"
filterexpanded="false" id="historywftablebody">
<tablecol filterable="false" hidden="false" id="historywf_togl"
mxevent="toggledetailstate" mxevent_desc="Show Detail" sortable="false"
type="event"/>
<tablecol dataattribute="ProcessName" id="historywfcol1"/>
<tablecol dataattribute="Reassigned" id="historywfcol4">
<checkbox dataattribute="Reassigned" id="historywfcol4_cb"/>
</tablecol>
<tablecol dataattribute="Description" id="historywfcol5"/>
<tablecol dataattribute="TransDate" id="historywfcol8"/>
<tablecol dataattribute="PersonID" id="historywfcol9"/>
<tablecol dataattribute="WFTASKTYPE" id="historywfcol10"/>


Save the file and use the Import Application Definition toolbar option
in Application Designer to import your modified library.xml file.
You will now see the WFTASKTYPE column in your View Workflow History dialog.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Appl Designer","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21474481