Where is the "Last Modified Date"?
I'm in Report Builder trying to create an Incident report that includes the "Last Modified Date" value. However, I can't seem to find it in any of the views using the Report Builder wizard.
Can someone point me to the right source for that value?
Thanks,
Chuck
Chuck Roy, Pennsylvania Turnpike Commission
Chris,
For reports, I would want to use the same data that SCSM uses in Views and Templates. When creating a View for Incidents you can select based on the Last Modified Date. When you create an email Template for Incidents, you can select the Last
Modified date to be inserted into the template.
In order for our report to display the exact same Incidents as a View that selects based on Last Modified Date, the report needs to use the Microsoft definition of Last Modified Date.
Generally, I agree with your definition. However, an easier definition may be that Last Modified Date equals the most recent History log date on the History tab.
Either way, as I mentioned above, it needs to be the same as is used in Views and Templates, recognizing that there are timing differences between the data base and data warehouse.
Chuck
Chuck Roy, Pennsylvania Turnpike Commission
Similar Messages
-
How to find the Last modified date and time of a package
Hi,
We need a clarification on how to find the Last modified date and time of a package in Oracle. We used the example below to explain our scenario,
Lets consider the following example
Let A, B be two packages.
Package A calls the package B. So A is dependent on B.
When A is compiled the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated.
Now there a modification in package B so it is compiled. There is no modification in package A.
Now when the package A is executed the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated but we did not make any change in Package A. Now we need to find last modified date and time of the package A . So we can not rely on the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS . Can u please tell us any other solution to get last modified date and time of the package A .
Regards,
Vijayanand.CHere is an example:
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 10:57:32 2004-05-20:10:57:32 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 VALID
SQL> CREATE OR REPLACE PROCEDURE A AS
2 BEGIN
3 NULL;
4 NULL;
5 END;
6 /
Procedure created.
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 INVALID
SQL> EXEC B
PL/SQL procedure successfully completed.
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 11:01:53 2004-05-20:11:01:53 VALID
Note that the date under the column 'created' only changes when you really create or replace the procedure.
Hence you can use the column 'created' of 'user_objects'. -
How to find the last modified date of a workflow.
How to find the last modified date of a workflow.
thanks.Hi,
There is nothing as standard that does this - you could write some code to determine the latest begin_date from each of the workflow tables and assume that this was the last time that the definition changed.
What you need is something like this:
select max(wfa.begin_date)
from wf_process_activities wpa
, wf_activities wfa
, wf_item_types_tl wit
where wpa.activity_item_type = wfa.item_type
and wpa.activity_name = wfa.name
and wfa.version = (select max(version) from wf_activities wfa1 where wpa.activity_item_type = wfa1.item_type and wpa.activity_name = wfa1.name )
and wpa.process_item_type = 'your item type'
and wpa.process_item_type = wit.namewhich I think gives what you want.
HTH,
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
How can you find the Last Modified Date of a particular table
Hi,
I want to show to the LAST MODIFIED date of a particular table to the user before refreshing the table with new data. Experts please suggest me the way using JDBC-SQL connection.There is no generic SQL way for this. It depends completely on the features your DBMS offers. With Oracle you'd need to create column which gets updated in a trigger. I believe MS SQL Server offers a special data type for this, which is updated automatically. I don't know about others.
-
Storing the last modified date for files in a HashMap
This method gets a list of all the .java files in the source subdirectory, gets the last modified date for them and stores the file name and last modified date in a HashMap.
import java.util.HashMap;
import java.io.FilenameFilter;
import java.io.File;
import java.util.ArrayList;
public class myClass
public static void main(String[] args)
HashMap result = getLastModified();
static FilenameFilter javaFilter = new FilenameFilter()
public boolean accept(File dir, String name)
return name.endsWith(".java");
public HashMap getLastModified()
HashMap lastModified = new HashMap();
ArrayList javaFiles = new ArrayList();
File sourceDir = new File(".\\Source");
File currentFile;
long lLastModified;
//get a list of all the .java files in the source directory
javaFiles=listFiles(javaFilter);
//for all .java files get and store the last modified date
for(int i=0; i<javaFiles.size(); i++)
currentFile=(File)javaFiles.get(i);
lLastModified=currentFile.lastModified();
lastModified.put(currentFile, lLastModified);
return lastModified;
}The problems I am getting are:
>
The method listFiles(FilenameFilter) is undefined for the type myClass
and
>
The method put(Object, Object) in the type HashMap is not applicable for the arguments (File, long)
can anyone help? What's the best way to go aobut this?Thanks for the replies abenstex I modified it so that javaFiles is now a File[] and made the change you suggested but I still have the second problem, here's the code so far:
import java.util.HashMap;
import java.io.FilenameFilter;
import java.io.File;
import java.util.ArrayList;
public class myClass
public static void main(String[] args)
HashMap result = getLastModified();
static FilenameFilter javaFilter = new FilenameFilter()
public boolean accept(File dir, String name)
return name.endsWith(".java");
public HashMap getLastModified()
HashMap lastModified = new HashMap();
File[] javaFiles = {};
File sourceDir = new File(".\\Source");
File currentFile;
long lLastModified;
//get a list of all the .java files in the source directory
javaFiles=sourceDir.listFiles(javaFilter);
//for all .java files get and store the last modified date
for(int i=0; i<javaFiles.length; i++)
currentFile=(File)javaFiles;
lLastModified=currentFile.lastModified();
lastModified.put(currentFile, lLastModified);
return lastModified; -
Need a FM which returns the last modified date& time
Hi,
Kindly Suggest me if any Function Module is there which returns the last modified date& time for tables HRP1000 and HRP1001.
Rgds
Kishor.Cjust check the following tables..
CDHDR - Change document header
CDPOS - Change document items
you can use this function module..
BPCT_CHANGEDOCUMENT_DISPLAY
Edited by: Arunima Rudra on Apr 14, 2009 4:49 PM -
Getting the last modified date of the contact in addressbook
Hi all,
Is there any way to get the last modified date and created date of the contacts stored in address book . I have gone through the api docs and could nt find any api's to get the modified date of the particular contact .
Any help would be greatly appreciated ..
Regards,
Mohammed Sadiq.Hi,
Is the above feauture available in AddressBook fraamework ?
Best Regards,
Mohammed Sadiq -
Importing Notes into SOD - How can I set the Last Modified Date?
We are still in the process of getting all of our users over to Siebel. We launched in waves and therefore have some users who were still utilizing the legacy systems while some were working away in Siebel. What I'm trying to do now is to take the reps notes from the legacy system and bring them back over into Siebel. I've got the file created with the account external id, subject, note(description) and the date the note was created in the legacy system. When I try to import the date can not be set and is defaulting to the date the acutal note was created in Siebel.
This is a problem as I have 3 years of account history that must get loaded and if I import it all now it will push the current notes in the system to the very bottom of the list which will upset the reps who started uisng Siebel in the first wave.
My goal is simply to order them from newest on top to oldest but I can't seem to find a way to do that using the import tool as Last Modified Date isn't an option for me to import.
Is there a way to do it? If not does anyone know of a work around to achieve the same goal?
Any help is much appreciated.
- johnWould that show up in the Notes section of the account detail if I do that? I've never tried that one before.
After the R16 releiase the reps use the "hover" functionality to see their notes data in the top right of the application (or in the notes section of the account details).
Edited by: Xeroid05 on Nov 25, 2009 8:09 AM -
I would like to add the Last Modified Date (of the GUI, not db) within my application, how can this be done?
Hi,
Can you elaborate a little? What exactly do you want the last modified date of? (the page? the application itself? something else?)
If it's just the last time the application was updated, the following query should work -
select
last_updated_on
from
apex_applications
where
application_id = :APP_IDYou could obviously use that to set the value of a page item or application item etc to display in your page template.
Really need more information from you to give a more specific answer. -
Search results not displaying correct last modified date
Hello
I have a bit of a strange issue. I have a SharePoint site that was upgraded from SP2010 to SP2013. A document has been created and uploaded into SharePoint on 1 August 2014 and the file has since been edited. In the search results the last
modified date is appearing as '8 January'. Note that this document was not originally created from a blank one but was instead a Word document that was received by the user and then edited and then uploaded into SharePoint.
I have checked my locale settings and everything is set to New Zealand.
I have rerun a full crawl on my search database and this hasn't helped.
Also, I have multiple sharepoint web applications on my server using the same search service application. is it best to separate these out?Hi Martin,
As I understand, the issue you encountered is the LastModifiedTime displayed incorrect in search result.
If you go to CA > Search service application > Search schema, in Managed Properties, type LastModifiedTime, then you will get LastModifiedTime property. Click it and you will find the property is mapped to five crawled properties.
I’d recommend you create a new managed property and only map it to ows_modified property. Then test the issue again.
http://spvee.wordpress.com/2013/10/09/content-search-web-part-cswp-sort-by-modified-datetime/
Regards,
Rebecca Tu
TechNet Community Support -
Files last modified date using.
Is there a way to get the last modifed date of a file residing on a remote machine ?
I tried the URL class. But could get to the file's contents and not the last modifed date of the file.
Thank you..It depends on how you access the file.
if the files are in a shared folder you can create a file object for it and get the last modified date.
If it in a HTTP/FTP server then you should be able to ge the last updated date as a header. -
Load file on db with file system last modified date info
Hi,
i have e procedure for load a file on my DB table.
How to write on my table the last modified date read for file system?
Thanks in advance
MarcTry this example to use dbms_pipe for executing the OS commands to get the last modified date of a file.
calling shell script from sql procedure -
Automatically (programming) Extracting last modified date
Hi
I have the url addresses of sesveral documents stored in SharePoint. Those addresses are stored in a column within Excel. There is one address per line (row).
I would like to extract for each file its last modified date. Ideally in an automatiic mode.
All files are not in the same "folder".
How could I achieve that?
Many thanks in advanceHi,
you can write a query to get all the files from the doc library and use SPFile.Properties to get the last modified date
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.properties.aspx
your code will be like the below (Taken from above link)
SPSite oSiteCollection = SPContext.Current.Site;
using(SPWeb oWebsite = oSiteCollection.AllWebs["Site_Name"])
SPFolder oFolder = oWebsite.Folders["Shared Documents"];
SPFileCollection collFiles = folder.Files;
foreach (SPFile oFile in collFiles)
System.Collections.Hashtable collHashes = file.Properties;
System.Collections.ICollection collKeys = hash.Keys;
foreach (object oKey in collKeys)
Response.Write(SPEncode.HtmlEncode(oKey.ToString())
+ " :: " +
SPEncode.HtmlEncode(hash[oKey.ToString()].ToString())
+ "<BR>");
another option would be to use SPFile.TimeLastModified
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.timelastmodified.aspx
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile_properties.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you -
SharePoint 2007 Site Last Modified date issue
Hello,
Good Morning.
We are facing Last modified date update issue in MOSS 2007. From last 2 days, In All site content the site last modified date is displayed as 3 month ago but actually the site was last updated by more than 2 year ago.
Could you please help on how to resolve this issue.
Thanks in advance.
-TusharHi,
From your description, you think last modified date of your Moss 2007 site is wrong.
Could you offer a screenshot about your All site content page?
You can use the LastItemModifiedDate property of the Web object to get the last modified date of your site:
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/2c74a56b-18b6-4dc9-b368-b96dcf7be3ec/last-modified-date-and-time-in-sharepoint-site
https://farhanfaiz.wordpress.com/2010/03/22/sharepoint-2007-last-modified-date-of-lists-document-libraries/
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Getting the list of files in a directory by their last modified date
Dear friends,
I want to get the list of files in a directory sorted by their last modified date.
By default the file.list() or listFiles() return files sorted by their name in ascending order.
Please give me your suggestions.
Thanks in advance,
James.Thanks friend,
I myself got the answer
here is my code:
public File[] getSortedFileList(File dir){
File[] originalList = dir.listFiles();
int numberOfFiles = originalList.length;
File[] sortedList = new File[numberOfFiles];
long[] lastModified = new long[numberOfFiles];
for(int i = 0; i < numberOfFiles; i++){
lastModified[i] = originalList.lastModified();
Arrays.sort(lastModified);
for(int i = 0; i < numberOfFiles; i++){
for(int k = 0; k < numberOfFiles; k++){
if(originalList[k].lastModified() == lastModified[i])
sortedList[i] = originalList[k];
System.out.println("The sorted file list is:" + sortedList[i]);
return sortedList;
Maybe you are looking for
-
Hope someone can help here...Overnight (quite literally) my PB hangs when booting up. The chime sounds and I can hear the CD drive firing up - then nothing but a black screen. The only solution has been to press the reset button at the back where it
-
ITunes freezes while installing
At first, there was a problem with my iPhone showing up in iTunes. I fixed that problem. I was then told to uninstall iTunes and re-install it. Now, every time I try downloading iTunes the installation gets stuck at 76% (50.2 MB). I've tried every so
-
Hi, I have a error and I don't know the solution to this Problem. Sorry for my bad english. Here the code section where the error is performing. 32: try{ 33: InitialContext ic = new InitialContext(); 34: SAPConnectionFa
-
hi everyone , I'm using slide effect in this page http://www.dostfindik.com.tr/test2 Effects are working proper in all browsers except ie . Does using alpha transparent background png slow down performance ? thanks.
-
Changed apple id and icloud does not recognize it
Any ideas here? Many thanks.