Query on HFM Task Audit
Hi,
We have a requirement to check the user activities related to changes made in dataforms/data grids (or specifically changes made to items in Manage Documents)
Are these activities logged in the task audit? If so could you please let me know the activity code.
Thanks in advance,
Aparna
In your question you use the term "activities", but you have not articulated which ones you need to capture. HFM's task audit does not capture every task that is available in the system, so you should look through the listing of activities that it does capture. Opening and entering data into a web form for example, is not captured in Task Audit.
If instead you are implying changes made to data via a web form, then you are asking about Data Audit, which is very different. Data Audit is dependent upon your own enablement of Account/Scenario combinations in metadata. Each account that is enabled for Data Audit, for the relevent scenarios that have been enabled, will be inlcuded in the data audit report anytime a user changes data for that account.
--Chris
Similar Messages
-
How to setup HFM Task Audit logs?
How to setup HFM Task Audit logs on 9.3.1. I have been asked to provide this information from the Auditing company.
Any help would be appreciated.
Thanks,
RaguThe task audit is a feature which is always on -- it is not configurable. It tracks most common user tasks in HFM, but not everything.
The feature is accessible from the web, but only by users who are part of the application administrators group as configured in the EPM Configurator utility. This is not the same as having the application administrator role. Whoever installed and configured HFM can show you the configuration of this option, in terms of which user group can access Task Audit, Data Audit, System Messages from the web client.
Data Audit is an entirely independent feature, configured by enabling at the account and scenario level from within metadata. Once configured, users in the Application Administrators group (as above) can view this report from the web.
--Chris -
HFM task audit task 'Unknown(930)(
I am seeing the following 'task' show up in the HFM task audit log '- Unknown (930)(64)'. HFM vsn 9.3.3.
I have never seen this before - what caused this task?
ThanksHow big is the Appname_TASK_AUDIT table, also check Appname_Data_Audit table ?
-
Hi All,
HFM Version 9.3.1. When you click on administration>task audit, there are a bunch of tasks which can be auditied. I am trying to pull the last logon information from this and apparently the file is to large to export.
Where are these logs stored? Are they in SQL or on the app server somewhere? Does anyone every clear these logs? Will NOT doing so affect performance in any way.
Thanks,
GregGreg,
Logs are stored in the HFM relational database. The table name is <AppName>TaskAudit where <AppName> is the name of the HFM app.
By default, the data in this table is not trimmed and it can grow quite large.
From an overall systems level, I doubt the size of this table is going to negatively impact system performance unless you are trying to work with that table directly. ;)
It is not uncommon for people to make a script (schedule task) that executes a sql query that cleans up the table except for critical pieces of information such as system loads, etc.
The tricky fields in the table are ActivityCode and the time fields. ActivityCode correlates with the activity (i.e. Logon, Consolidation, etc). It is not something that is advertised that I know of; however, I created a list by analyzing the program. The list will follow at the bottom of this post.
The times are a bit tricky as you need to convert them so that they are "human readable". In SQL, I use the follow statement to convert them to a human readable time/date : cast(endtime-2 as smalldatetime)
Hope this helps.
Activity Codes
ActivityID ActivityName
0 Idle
1 Rules Load
2 Rules Scan
3 Rules Extract
4 Consolidation
5 Chart Logic
6 Translation
7 Custom Logic
8 Allocate
9 Data Load
10 Data Extract
11 Data Extract via HAL
12 Data Entry
13 Data Retrieval
14 Data Clear
15 Data Copy
16 Journal Entry
17 Journal Retrieval
18 Journal Posting
19 Journal Unposting
20 Journal Template Entry
21 Metadata Load
22 Metadata Extract
23 Member List Load
24 Member List Scan
25 Member List Extract
26 Security Load
27 Security Scan
28 Security Extract
29 Logon
30 Logon Failure
31 Logoff
32 External
33 Metadata Scan
34 Data Scan
35 Extended Analytics Export
36 Extended Analytics Schema Delete
37 Transactions Load
38 Transactions Extract
39 Document Attachments
40 Document Detachments
41 Create Transactions
42 Edit Transactions
43 Delete Transactions
44 Post Transactions
45 Unpost Transactions
46 Delete Invalid Records
47 Data Audit Purged
48 Task Audit Purged
49 Post All Transactions
50 Unpost All Transactions
51 Delete All Transactions
52 Unmatch All Transactions
53 Auto Match by ID
54 Auto Match by Account
55 Intercompany Matching Report by ID
56 Intercompany Matching Report by Acct
57 Intercompany Transaction Report
58 Manual Match
59 Unmatch Selected
60 Manage IC Periods
61 Lock/Unlock IC Entities
62 Manage IC Reason Codes
63 Null -
We are using HFM system 9 and we notice that the size of the task audit table has exceeded the normal limits,we would like to take a backup of data before deleting the records.Is this possible?
is the deletion of records recommeneded or truncation of the table.How do we take a backup of the table,can we make HFM web retrieve from this table when needed?
Does anyone know how to convert the float type(starttime,endtime) to date datatype?
Thanks in advanceHere is the query I use against the task audit table to get my users by day.. Our DBA came up with the code to convert the starttime field using CASt(convert(VARCHAR
SELECT COUNT(DISTINCT ActivityUserID) as NumUsers
, CAST(convert(VARCHAR,CAST(starttime AS DATETIME),106) AS DATETIME) AS [DAY]
FROM dbo.LAUREATE_TASK_AUDIT
WHERE CAST(convert(VARCHAR,CAST(starttime AS DATETIME),106) AS DATETIME) >= '8/1/2009'
GROUP BY CAST(convert(VARCHAR,CAST(starttime AS DATETIME),106) AS DATETIME)
ORDER BY CAST(convert(VARCHAR,CAST(starttime AS DATETIME),106) AS DATETIME)
What I noticed with our database (SQL 2000 SP4, HFM 9.2.1) is that the date conversion is off by 2 days. So user activity for today shows as 2 days in the future when I query the table. I logged this with Oracle but no resolution. For what I need, it works fine.
We have made a backup of the table in the past and truncated the existing table. Your SQL DBA can do that easily.Then yes you can just query either table as needed. -
Automate HFM Task Audit Export
I am trying to find a way to export the daily task audit info and email it to our auditors on a nightly basis. I figure if I can find out which table in the HFM database contains this audit info I can write something to automatically export it. Does anyone know where I can find this audit task data? I have searched tables in the HFM database and I am unable to determine this.
Thanks in advance
HFM Version 11.1.2.2
DB SQL Server 2008 R2Hi there,
Check the Consultant Tools that are installed with HFM. There is a quite simple tool which allows you to extract the task and data audit without any effort at all.
Regards,
Thanos -
Hello,
I try to retrieve data from TASK_AUDIT Tabel.
Anyone know how I extract the user name and date from it?
Thanks
NimrodBelow is the description of the table as was defined for HFM v.4.0. However the forum editing area destroys table formation. Hope this helps.
TASK_AUDIT Data_Type Allows_Nulls Description
AUDITID int NOT NULL Unique row identifier
ACTIVITYUSERID int NOT NULL User ID
ACTIVITYSESSIONID int NOT NULL Session ID
ACTIVITYCODE Int NOT NULL Activity Code
SERVERNAME NVARCHAR NOT NULL Server name
APPNAME NVARCHAR NOT NULL Application Name
STARTTIME Float NOT NULL Task Start Time
ENDTIME float NOT NULL Task End Time
STRDESCRIPTION NVARCHAR NULL Description for Task
STRMODULENAME NVARCHAR NULL HFM Module involved in task -
Analysing Task Audit, Data Audit and Process Flow History
Hi,
Internal Audit dept has requested a bunch of information, that we need to compile from Task Audit, Data Audit and Process Flow History logs. We do have all the info available, however not in a format that allows proper "reporting" of log information. What is the best way to handle HFM logs so that we can quickly filter and export required audit information?
We do have housekeeping in place, so the logs are partial "live" db tables, and partial purged tables that were exported to Excel to archive the historical log info.
Many Thanks.I thought I posted this Friday, but I just noticed I never hit the 'Post Message Button', ha ha.
This info below will help you translate some of the information in the tables, etc. You could report on it from the Audit tables directly or move them to another appropriate data table for analysis later. The concensus, though I disagree, is that you will suffer performance issues if your audit tables get too big, so you want to move them periodically. You can do this using a scheduled Task, manual process, etc.
I personally just dump it to another table and report on it from there. As mentioned above, you'll need to translate some of the information as it is not 'human readable' in the database.
For instance, if I wanted to pull Metadata Load, Rules Load, Member List load, you could run a query like this. (NOTE: strAppName should be equal to the name of your application .... )
The main tricks to know at least for task audit table are figuring out how to convert times and determing which activity code corresponds to the user friendly name.
-- Declare working variables --
declare @dtStartDate as nvarchar(20)
declare @dtEndDate as nvarchar(20)
declare @strAppName as nvarchar(20)
declare @strSQL as nvarchar(4000)
-- Initialize working variables --
set @dtStartDate = '1/1/2012'
set @dtEndDate = '8/31/2012'
set @strAppName = 'YourAppNameHere'
--Get Rules Load, Metadata, Member List
set @strSQL = '
select sUserName as "User", ''Rules Load'' as Activity, cast(StartTime-2 as smalldatetime) as "Time Start",
cast(EndTime-2 as smalldatetime) as ''Time End'', ServerName, strDescription, strModuleName
from ' + @strAppName + '_task_audit ta, hsv_activity_users au
where au.lUserID = ta.ActivityUserID and activitycode in (1)
and cast(StartTime-2 as smalldatetime) between ''' + @dtStartDate + ''' and ''' + @dtEndDate + '''
union all
select sUserName as "User", ''Metadata Load'' as Activity, cast(StartTime-2 as smalldatetime) as "Time Start",
cast(EndTime-2 as smalldatetime) as ''Time End'', ServerName, strDescription, strModuleName
from ' + @strAppName + '_task_audit ta, hsv_activity_users au
where au.lUserID = ta.ActivityUserID and activitycode in (21)
and cast(StartTime-2 as smalldatetime) between ''' + @dtStartDate + ''' and ''' + @dtEndDate + '''
union all
select sUserName as "User", ''Memberlist Load'' as Activity, cast(StartTime-2 as smalldatetime) as "Time Start",
cast(EndTime-2 as smalldatetime) as ''Time End'', ServerName, strDescription, strModuleName
from ' + @strAppName + '_task_audit ta, hsv_activity_users au
where au.lUserID = ta.ActivityUserID and activitycode in (23)
and cast(StartTime-2 as smalldatetime) between ''' + @dtStartDate + ''' and ''' + @dtEndDate + ''''
exec sp_executesql @strSQLIn regards to activity codes, here's a quick breakdown on those ....
ActivityID ActivityName
0 Idle
1 Rules Load
2 Rules Scan
3 Rules Extract
4 Consolidation
5 Chart Logic
6 Translation
7 Custom Logic
8 Allocate
9 Data Load
10 Data Extract
11 Data Extract via HAL
12 Data Entry
13 Data Retrieval
14 Data Clear
15 Data Copy
16 Journal Entry
17 Journal Retrieval
18 Journal Posting
19 Journal Unposting
20 Journal Template Entry
21 Metadata Load
22 Metadata Extract
23 Member List Load
24 Member List Scan
25 Member List Extract
26 Security Load
27 Security Scan
28 Security Extract
29 Logon
30 Logon Failure
31 Logoff
32 External
33 Metadata Scan
34 Data Scan
35 Extended Analytics Export
36 Extended Analytics Schema Delete
37 Transactions Load
38 Transactions Extract
39 Document Attachments
40 Document Detachments
41 Create Transactions
42 Edit Transactions
43 Delete Transactions
44 Post Transactions
45 Unpost Transactions
46 Delete Invalid Records
47 Data Audit Purged
48 Task Audit Purged
49 Post All Transactions
50 Unpost All Transactions
51 Delete All Transactions
52 Unmatch All Transactions
53 Auto Match by ID
54 Auto Match by Account
55 Intercompany Matching Report by ID
56 Intercompany Matching Report by Acct
57 Intercompany Transaction Report
58 Manual Match
59 Unmatch Selected
60 Manage IC Periods
61 Lock/Unlock IC Entities
62 Manage IC Reason Codes
63 Null -
Hello,
We are on HFM 11.1.2.1.103 and I am getting an error message when trying to export a users activity from the "Task Audit" menu. When I click on export a new tab comes up with the URL http://server:port/hfm/Administration/TaskAuditExport.asp and then I get an error message:
An error occurred on the server when processing the URL. Please contact the
system administrator.
If you are the system administrator please click here to find out more
about this error.
And when I click on "here" it takes me to this URL Running Classic ASP Applications on IIS 7 and IIS 8 : The Official Microsoft IIS Site
Any thoughts on how I resolve this would be much appreciated.
Thank you,
JasonSDM,
Thank you for the response. This is helpful and I was able to extrac the data, but this utility doesn't give you the ability to focus on one users' activity as you can from the web. Why is it not recommended to use the web and is there a way to get that working properly?
The reason the utility is not working for my purpose is I want to view a few users' activities over the last year and when I run the utility it gives me everyone and extracts the data across numerous files, which is not particularly easy to work with.
Thanks. -
Urgent regarding Data & Task Audits Back Up
Hi Experts
Here my question is regarding Data Audit and Task audits in V 11.1.2.1
-->If we take the back up of Data & Task audit tables data in to other backup_tables in same schema how this can be viewed through task audit and data audit through HFM?
-->Whether any third part tools available to audit the tasks (DATA & TASK ) information...?
-->Whether EPM maestro can be used here..?
Thanks in advance
Edited by: RajaKK on May 29, 2012 6:19 PMUse the Audit Extract utility bundled with HFM 11.1.2.1 to export this information periodically to a CSV file that you can view offline through any text editor, or even Excel. There is a command line feature for this as well, so you could incorporate this into a batch routine.
For anyone attending Kaleidoscope in San Antonio, TX next month, I will present the various utilities that ship with HFM including this one. Hope to see you there!
--Chris -
10g parameters for Task Audit System 9
Does anyone have suggestions regarding how to optimize for USER I/O during a metadata load the TASK_AUDIT table on 10g?
The ADDM report suggests Segment Tuning and Application tuning (Application tuning not possible since it is HFM code.) Looking at a relatively large application, the database improvement would be about 10 minutes if we could minimize the USER I/O waits for this table.
If you do not have a database recommendation, does anyone know if I can stop the logging of the task audit until metadata load completes?
Thanks,We daily backup this table to a versionning table, and truncate it, it is much smaller and than the performance impact is much less
do you need to keep the whole thing?? -
Hello,
What is the exact meaning of Data Retrieval in task audit? Is it just data retrieved by reports?
Thanks
LilachHi Lilach,
It would mean data retrieval through adhoc analysis or grids,HsGetValue Functions etc.
You could also check Task Audit table you can see activity codes which has details below.
ActivityID
ActivityName
0
Rules Load
1
Rules Scan
2
Rules Extract
3
Consolidation
4
Chart Logic
5
Translation
6
Custom Logic
7
Allocate
8
Data Load
9
Data Extract
10
Data Extract via HAL
11
Data Entry
12
Data Retrieval
13
Data Clear
14
Data Copy
15
Journal Entry
16
Journal Retrieval
17
Journal Posting
18
Journal Unposting
You can query AppName_Task_Audit & HSV_Activity_Users tables by joining them and applying condition on Activity id from App_Task_Audit.
Thanks
Amith -
How do I change the underlying query for the task board (and backlog board) on TFS Preview
All,
We work with multi-area projects, each area representing a significant component within the project with its own release/iteration cycle. i.e. Several areas may be active at once, each with different iterations.
When we look at the task board these take no account of the area being worked on. What I need to do is to be able to change the query behind these boards to point to a particular release/iteration for a particular area.
Unfortunately there is no drop down selection on these pages to see this automatically so I need to be able to change the underlying query that populates these boards to get the the area and release/iteration that I need.... but I can't find where these
are.
Using multiple areas is actually highly frustrating with TFS Preview as it doesn't seem geared up at all to make it easy to switch between them... are we doing something wrong?
I think I can do this by changing the current iteration - but I can't work out how to do this either once an iteration for a particular area has started.
Can anybody help?
ThanksIt is not possible to modify the query behind the task board. If I understand you correctly, you would like to filter the task board by area path.
In TFS 2012 we have repurposed the area path field to be the field that determines the team you are working on. We are continuously improving our product and being able to filter your task is one of the improvements that we are thinking of.
Sorry I can't help you better than this for the moment.
Please remember to mark the replies as answers if they help.
Hi Ewald,
We have a similar problem, see the thread "Best approach for multi-team/multi-projects." on this forum. I'm hopping you can help, since so far the different answers doesn't help.
Best Regards,
SYSOTI -
Im trying to query for worklist tasks associated with a running business process. Using the WorkListManager and TaskSelector, I use the TaskSelector method setListeningProcessUri("*", true) and also tried setListeningProcessUri(".+", true). I thought by setting the isPattern to true would return all tasks with a listening business process matching the pattern.
Has anyone else used this method with a pattern?
Thanks,
PaulHi Dinesh,
Check the below steps for extracting AD users information using powershell,
- Go to Start -> Open Windows Powershell using Run as Administrator
- In the powershell type set-executionpolicy unrestricted (for allowing commands to execute)
- Type the cmdlet import-moduleactivedirectory (to enable and execute AD cmdlets)
- Type the cmdlet Get-ADUser -Filter * -properties * | select * (to get all AD Users, each with all properties)
- To show only select information such as firstname, lastname etc,you need to replace the
select * section in the previous command by select firstname, lastname etc.
- Also to display the result in columns, you can type the command as
Get-ADUser -Filter * -properties * | select firstname, lastname | ft
To run as a powershell script, you can copy the above commands to a notepad and save it as a .ps1 file.
NOTE: if you wish to run the script from client machines like Windows 7, you need to enable RSAT.
Checkout the below link on enabling RSAT,
http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/29/use-active-directory-cmdlets-with-powershell-to-find-users.aspx
Regards,
Gopi
JiJi
Technologies -
Query in Main Task Not Working But it works For BG Task
Hi All,
I have a requirement to send work item to different level approvers for that i have to find final level approver from a table and save the data accordingly ,
i have a main task and a Background task
<b> my problem is that the same query that works in back ground task is not working in the Main Task.</b>
SWC_GET_ELEMENT CONTAINER 'LEVEL' Level. is a macro written in the method in BOR in main task for getting value which is in the WF container and has binded to the task container. it is not picking up the value from the task container to the method.
Please help me on this
Thanks & Regards
Hari Sankar Mhi Arghadip Kat,
Thank You for Your Response, i've tried ur Suggestion but it is again not working
just let me explain again
i have two tasks,(these two tasks are in a loop.) with one BOR(object) and two Methods
One Method is for first Main task and another is for second task(which is a background task)
i need to get a value called final from a table, i've written a query in the method of Back ground task. and i'm getting the value correctly but i'm not able to pass this value to the main task coz the loop exits after executing the subtask and coz loops exit point is the value final.
So for getting the value of Final in main task i've written the same query in main task but its not working.
Thanks & regards
Hari
Maybe you are looking for
-
DVD Tv Series to iTunes TV Programme
I have managed to rip a TV series from DVD and have converted it to the right format to import into iTunes. But when i have imported it into iTunes it puts the files in the "Film" section rather than the "TV Program" section. This leaves me with 26 s
-
Computer Died. How Do I load program to a new machine?
I recently purchased photoshop elements with premiere. After using the program only once, due to other circumstances, my motherboard stopped working. I just purchased a new computer, how can I load it on to my new machine?
-
Hello My login is looked a couple of days and won't more enabled. I opened a new login because my email address changed. Unfortunately I choosed the same Login name in uppercase. So, my old (u05430) and new login(U05430) (with me new email address) d
-
Exporting from CS6 to PDF Hyperlink Problems
Hi there, I am developing a document in InDesign CS6. The document is intended for viewing electronically and will include over 150 hyperlinks to different pdf files. I followed the steps for adding a new hyperlink by chosing windows, interactive,
-
Changing ipod from windows to Mac
I am having a lot of trouble for my new mac computer to recgnize my old ipod that was formatted in windows. Do you know how to do this so that i can later recover the music that i previously had saved there and pass it on to my mac?