| | | Supreme Being
       
Group: Forum Members Last Login: Wednesday, January 04, 2012 Posts: 15, Visits: 25 |
| | Hi, at BPM.NET 2007 is it possible to add a new column to Main/Root Inbox, like for instance: "Workflow trigger Date/Time", i.e., the time of the workflow instance of a particular inbox activity, was initiated/trigered? Regards, Mario. |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, November 19, 2009 Posts: 21, Visits: 34 |
| | Hi Mario, Looking at your query, we feel that you want to have a new column in the inbox. When you click on the workitemslist in the left tree, on the right side you want to have an additional column with name say 'Workflow trigger Date/Time' and which should display the date and time of the workflow triggered for each activity relating to that particular workflow instance. If this is your scenario, then you can create the new column by going to the settings menu in the process designer and select the workitem fields option. Here you may select the scope of the field to either application scope so as to display this column across all the workflows in the repository or if this is unchecked, this column will be displayed only for that particular workflow. Then you may select the value for this column as a variable which you need to create in the start activity of type 'Date'. In the process design, after the start activity, place an update variable action and update this variable to the date time when the workflow was triggered using the expression editor. If this is not the scenario that you are trying then please elaborate your scenario. Regards,
Arvind |
| | | | Supreme Being
       
Group: Forum Members Last Login: Wednesday, January 04, 2012 Posts: 15, Visits: 25 |
| | Hi Arvind, Sorry, my scenario description is somewhat incomplete. (Your solution is correct for the scenario you assumed). Here the complete scenario: At workitems list you have application level "fixed" fields (not custom worklist fields) like Internal Status or Id. My goal is to add as one more "fixed" field, this time the "Workflow trigger Date/Time", without using the WorkItem Fields technique, meaning that I would like to avoid to add for each of my 56 workflows an update action, to update the custom application level WorkItem Field. So basically my requirement is to add a field with the characteristics of InternalStatus or Id "fixed" fields at Workitems list general inbox, and also available for each process individual inboxes, without using the custom workitem fields usual technique. Best regards, Mario. |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, June 02, 2011 Posts: 90, Visits: 150 |
| Hi Mario,
You can try below code to add new column.
WIL.InitializeLayoutEvent+=new Skelta.HWS.WorkListChannel.Web.WorkItemListControl.WorkItemControl.InitializeLayout(WIL_InitializeLayoutEvent);
void WIL_InitializeLayoutEvent(object sender, Skelta.HWS.WorkListChannel.Web.WorkItemListControl.WorklistInitialzeLayoutEventArgs e) { Skelta.HWS.WorkListChannel.Web.WorkItemListControl.WorkitemListColumns workitemListcolumn = new Skelta.HWS.WorkListChannel.Web.WorkItemListControl.WorkitemListColumns(); workitemListcolumn.Name = "SkeltaExID"; workitemListcolumn.Caption = "Skelta ExID"; workitemListcolumn.DataMember = "Executionid"; workitemListcolumn.Bound = true; workitemListcolumn.ColumnType = "text"; workitemListcolumn.Width = 100; workitemListcolumn.AllowGrouping = true; workitemListcolumn.AllowSorting = true; workitemListcolumn.AllowSizing = true; workitemListcolumn.WorkitemListColumnCollection.Add(workitemListcolumn.Name, workitemListcolumn); e.WorkItemColumnsList = workitemListcolumn.WorkitemListColumnCollection; }
Try this and let meknow if this code helps you.
Regards,
Moderator |
| | | | Supreme Being
       
Group: Forum Members Last Login: Wednesday, January 04, 2012 Posts: 15, Visits: 25 |
| | Hi Arvind, thank you for your reply. One last question before testing the code you just post: For our solution, we are using Out-Of-The-box BPM 2007 + SharePoint Connector solely, meaning that we are note using Skelta components within any VS.NET ASP.NET project. Main Question: How can we apply the code you post, so it creates the intended new column in our "out-of-the-box" environment? Secundary question: In order to try to answer the question above, shall we (1) create an VS.NET ASP.NET project, (2) pointing skelta components to the same Application Name/Repository as our "Out-of-the-box" solution, and (3) by running once the code you post, we aleays get the new columnn at that Application Name/Repository? Is this the way? Regards, Mario. |
| |
|
|