Hello
I need to parse through a 'work log' and grab the last entry into the field. The table i am working with does not have a time stamp field for the specific entries. The entries are prefaced by a datetime stamp (dd/mm/yyyy hh:mm:ss am/pm), and a username. If the user is part of any groups their group is appended as the next line in the entry followed by their work log update.
Below i colored the work log stamp in read and the users entry in blue.
In this example i would like to grab user2's 2nd entry.
I've tried to split using time stamp fields and 'modified by' fields but they are not consistently related to work log entries.
example formula:
stringvar array x := split({table.Work Log},{table.Last Modified By});
x[ubound(x)]
Example work log entries:
11/27/2012 6:45:22 AM user1
Process ID: E3045
Node: node1
Summary: equipmentFailure: SLOT-10 Slot:10 Port:1 Line:0 Index:
Outage Discovered: 11/27/12 06:41:33
Outage Occurred: 11/27/12 06:36:56
11/27/2012 7:29:49 AM user2
NOC - IP - Group
There is no maintenaces in the area, dispatching tech with possible spare and to reseat the card.
11/27/2012 7:33:30 AM user2
NOC - IP - Group
Called tech headend tech and left VM.
Any help would be greatly appreciated. Thanks.
I need to parse through a 'work log' and grab the last entry into the field. The table i am working with does not have a time stamp field for the specific entries. The entries are prefaced by a datetime stamp (dd/mm/yyyy hh:mm:ss am/pm), and a username. If the user is part of any groups their group is appended as the next line in the entry followed by their work log update.
Below i colored the work log stamp in read and the users entry in blue.
In this example i would like to grab user2's 2nd entry.
I've tried to split using time stamp fields and 'modified by' fields but they are not consistently related to work log entries.
example formula:
stringvar array x := split({table.Work Log},{table.Last Modified By});
x[ubound(x)]
Example work log entries:
11/27/2012 6:45:22 AM user1
Process ID: E3045
Node: node1
Summary: equipmentFailure: SLOT-10 Slot:10 Port:1 Line:0 Index:
Outage Discovered: 11/27/12 06:41:33
Outage Occurred: 11/27/12 06:36:56
11/27/2012 7:29:49 AM user2
NOC - IP - Group
There is no maintenaces in the area, dispatching tech with possible spare and to reseat the card.
11/27/2012 7:33:30 AM user2
NOC - IP - Group
Called tech headend tech and left VM.
Any help would be greatly appreciated. Thanks.