Query Service Request
Hi,
I am trying to query the Service Request...I am getting the following error..
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
Need Help...
Hi,
Is this because of any network problem....It's a serious issue...
Need Help..
Similar Messages
-
I have the query set-up and it works fine, but I cannot map it to anything, I suppose because it is an object and not a simple string. I think I get the option to Map it to related items or configuration items in the Query itself maybe, I seem to remember
seeing that, but I can not map it to anywhere on the Service Request or Activities in the Request Offering Set-Up.
However, looking at my Update Object Activity in My Runbook, I do not see how to add a person to a review activity anyway.
Can someone enlighten me?
I do not know Powershell well enough to use it with SCSM or Orchestrator yet, and I am not even sure if we have SMLets so keep it simple if possible.
Thanks for any assistance!More info:
How to add a Reviewer to a Review Activity through Orchestrator
http://www.scsm.se/?p=895
Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Is there any way to query who resolved a Service Request in Service Manager?
Hi,
I have a query that pulls the last name of the user who resolved an Incident in Service Manager. The name is pulled from a view called "IncidentResolvedByUserFactvw." I need to pull the last name of the person who completed a Service Request. There
is no view or table that I can find that has this info. Is there a "IncidentResolvedByUserFactvw" type view with the Service Request info? If not where is this data stored?
Thank you for any help!couple of notes:
necromancy!
Closed -ne Completed. Completed means the work has been delivered. Closed means the work has been delivered, the client has been contacted, we've finished all of our followups and process checks, and we're ready to archive this ticket in the historical
database.
it doesn't really make sense to talk about who completed a service request. a service request is a structured process. as well as who built an item that came off the assembly line; the assembly line did. who completed the services request? if your service
requests are well designed, the overwhelming majority of requests will be completed by the system once the last activity in the process is completed. -
How do I set-up my Dataset to pull data for Service Requests for a report
I am using SQL Server 2012 Report Builder 3.0.
I have my Data Source added - DWDataMart
I want to build my Dataset to query and find a very specific item. Basically I am creating a daily report that will show what each "team" or Support Group (AD Object) Closed that day. He also wants the ability to open it by date, so if he misses
a day he can get it later.
I am totally new to this report building and only got this far by following a guide on a blog, but he used incident Reports in his example, and I do not know what objects to query for service requests.
Thanks for any information you can provide.First, you will need to get the support group ID's in the warehouse before you can run reports for them. I found that putting these queries in their own stored procedure was a better path.
select IR.IncidentTierQueuesId, IR.IncidentTierQueuesValue
from dbo.IncidentTierQueues as IR
where IR.IncidentTierQueuesId != 0
select SR.ServiceRequestSupportGroupId, SR.ServiceRequestSupportGroupValue
from dbo.ServiceRequestSupportGroup as SR
where sr.ServiceRequestSupportGroupId != 0
Enter the the support group ID's into your work item query.
Incident information is in dbo.IncidentDim and Service Requests are found in dbo.ServiceRequestDim. Both incidents and service requests link to relationship data through dbo.WorkItemDim. You can INNER JOIN on BaseManagedEntityId to link the incident
or service request to the workitem entry and from there to the Assigned Users, Affected Users, or Affected Configuration Items. Each relationship has it's own separate fact views.
If you poke about in the tables, you will find it pretty easy to pull back all sorts of information from the data warehouse. -
Service request interactive report is not working with IC Roles
Dear Experts,
We are using CRM 7.0 EHP1, we have created some custom reports based on std service request query, we can able to see these reports in IC_AGENT role as well as ZIC_AGENT role but when we click on these reports nothing is happening. But this is giving desired result in salespro role and other Zroles.
Request your inputs/suggestions.
Thanks in Advance.
Regards,
Kumar.Dear Experts,
Any update on this will be greatly appreciated.
Thanks,
Kumar -
Error when updating Service Request - 12.1.3
eBus 12.1.3 - DB 11.2.0.1 - RHEL 4.8
When updating a service request we receive the error as follows:
ORA-01438: value larger than specified precision allowed for this column in Package CS_ServiceRequest_PVT Procedure Update_ServiceRequest.
The notes input isn't all that long compared to ones in the past. If it is based on another field I can't identify which one it is.
I enabled a trace during the process and this was the section after the updated was attempted.
PARSE #125:c=1999,e=1131,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,plh=0,tim=1342466511527089
EXEC #125:c=5999,e=5829,p=0,cr=1,cu=1,mis=1,r=0,dep=1,og=1,plh=3977838810,tim=1342466511533163
ERROR #125:err=1438 tim=1342466511533218
STAT #125 id=1 cnt=0 pid=0 pos=1 obj=0 op='UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)'
STAT #125 id=2 cnt=1 pid=1 pos=1 obj=58779 op='TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)'
CLOSE #125:c=0,e=42,dep=1,type=0,tim=1342466511533719
=====================
PARSING IN CURSOR #124 len=37 dep=1 uid=175 oct=45 lid=175 tim=1342466511533847 hv=1888065881 ad='0' sqlid='aahpwzps8m6at'
ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
END OF STMT
PARSE #124:c=0,e=30,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=0,plh=0,tim=1342466511533844
EXEC #124:c=1000,e=17838,p=0,cr=0,cu=4,mis=0,r=0,dep=1,og=0,plh=0,tim=1342466511551774
CLOSE #124:c=0,e=4,dep=1,type=3,tim=1342466511551833
CLOSE #122:c=0,e=4,dep=1,type=3,tim=1342466511551876
=====================
I have compiled the forms for JTF, CS, CSC
I also ran utlrp.sql to recompile invalid objects and still no luck.
No luck in metalink thus far. Where would the next logical place be to look for the cause of this error? ThanksIt appears to be attempting to update all the columns in the statement, I am not sure which ones have data vs which don't.
<****----------------------STATEMENT---------------------------------------****>
UPDATE CS_INCIDENTS_ALL_B SET INCIDENT_STATUS_ID = :B174 , INCIDENT_TYPE_ID =
:B173 , INCIDENT_URGENCY_ID = :B172 , INCIDENT_SEVERITY_ID = :B171 ,
INCIDENT_OWNER_ID = :B170 , RESOURCE_TYPE = :B169 , INVENTORY_ITEM_ID =
:B168 , CUSTOMER_ID = :B167 , ACCOUNT_ID = :B166 , CURRENT_SERIAL_NUMBER =
:B165 , EXPECTED_RESOLUTION_DATE = :B164 , ACTUAL_RESOLUTION_DATE = :B163 ,
CUSTOMER_PRODUCT_ID = :B162 , BILL_TO_SITE_USE_ID = :B161 ,
BILL_TO_CONTACT_ID = :B160 , SHIP_TO_SITE_USE_ID = :B159 ,
SHIP_TO_CONTACT_ID = :B158 , INSTALL_SITE_USE_ID = :B157 ,
INCIDENT_ATTRIBUTE_1 = :B156 , INCIDENT_ATTRIBUTE_2 = :B155 ,
INCIDENT_ATTRIBUTE_3 = :B154 , INCIDENT_ATTRIBUTE_4 = :B153 ,
INCIDENT_ATTRIBUTE_5 = :B152 , INCIDENT_ATTRIBUTE_6 = :B151 ,
INCIDENT_ATTRIBUTE_7 = :B150 , INCIDENT_ATTRIBUTE_8 = :B149 ,
INCIDENT_ATTRIBUTE_9 = :B148 , INCIDENT_ATTRIBUTE_10 = :B147 ,
INCIDENT_ATTRIBUTE_11 = :B146 , INCIDENT_ATTRIBUTE_12 = :B145 ,
INCIDENT_ATTRIBUTE_13 = :B144 , INCIDENT_ATTRIBUTE_14 = :B143 ,
INCIDENT_ATTRIBUTE_15 = :B142 , INCIDENT_CONTEXT = :B141 ,
EXTERNAL_ATTRIBUTE_1 = :B140 , EXTERNAL_ATTRIBUTE_2 = :B139 ,
EXTERNAL_ATTRIBUTE_3 = :B138 , EXTERNAL_ATTRIBUTE_4 = :B137 ,
EXTERNAL_ATTRIBUTE_5 = :B136 , EXTERNAL_ATTRIBUTE_6 = :B135 ,
EXTERNAL_ATTRIBUTE_7 = :B134 , EXTERNAL_ATTRIBUTE_8 = :B133 ,
EXTERNAL_ATTRIBUTE_9 = :B132 , EXTERNAL_ATTRIBUTE_10 = :B131 ,
EXTERNAL_ATTRIBUTE_11 = :B130 , EXTERNAL_ATTRIBUTE_12 = :B129 ,
EXTERNAL_ATTRIBUTE_13 = :B128 , EXTERNAL_ATTRIBUTE_14 = :B127 ,
EXTERNAL_ATTRIBUTE_15 = :B126 , EXTERNAL_CONTEXT = :B125 , RESOLUTION_CODE =
:B124 , PROBLEM_CODE = :B123 , ORIGINAL_ORDER_NUMBER = :B122 ,
PURCHASE_ORDER_NUM = :B121 , CLOSE_DATE = :B120 , PUBLISH_FLAG = :B119 ,
OBLIGATION_DATE = :B118 , QA_COLLECTION_ID = :B117 , CONTRACT_SERVICE_ID =
:B116 , CONTRACT_ID = :B115 , CONTRACT_NUMBER = :B114 , PROJECT_NUMBER =
:B113 , CUSTOMER_PO_NUMBER = :B112 , CUSTOMER_TICKET_NUMBER = :B111 ,
TIME_ZONE_ID = :B110 , TIME_DIFFERENCE = :B109 , PLATFORM_ID = :B108 ,
PLATFORM_VERSION = :B107 , PLATFORM_VERSION_ID = :B106 , DB_VERSION = :B105
, CP_COMPONENT_ID = :B104 , CP_COMPONENT_VERSION_ID = :B103 ,
CP_SUBCOMPONENT_ID = :B102 , CP_SUBCOMPONENT_VERSION_ID = :B101 ,
CP_REVISION_ID = :B100 , INV_ITEM_REVISION = :B99 , INV_COMPONENT_ID = :B98
, INV_COMPONENT_VERSION = :B97 , INV_SUBCOMPONENT_ID = :B96 ,
INV_SUBCOMPONENT_VERSION = :B95 , SITE_ID = :B94 , CUSTOMER_SITE_ID = :B93 ,
TERRITORY_ID = :B92 , CUST_PREF_LANG_ID = :B91 , COMM_PREF_CODE = :B90 ,
CUST_PREF_LANG_CODE = :B89 , LAST_UPDATE_CHANNEL = :B88 , TIER = :B87 ,
TIER_VERSION = :B86 , OPERATING_SYSTEM = :B85 , OPERATING_SYSTEM_VERSION =
:B84 , DATABASE = :B83 , CATEGORY_ID = :B82 , GROUP_TYPE = :B81 ,
OWNER_GROUP_ID = :B80 , GROUP_TERRITORY_ID = :B79 , OWNER_ASSIGNED_TIME =
:B78 , OWNER_ASSIGNED_FLAG = :B77 , UNASSIGNED_INDICATOR = :B76 ,
INV_PLATFORM_ORG_ID = :B75 , PRODUCT_REVISION = :B74 , COMPONENT_VERSION =
:B73 , SUBCOMPONENT_VERSION = :B72 , CATEGORY_SET_ID = :B71 ,
EXTERNAL_REFERENCE = :B70 , SYSTEM_ID = :B69 , ERROR_CODE = :B68 ,
INCIDENT_OCCURRED_DATE = :B67 , INCIDENT_RESOLVED_DATE = :B66 ,
INC_RESPONDED_BY_DATE = :B65 , INCIDENT_LOCATION_ID = :B64 ,
INCIDENT_ADDRESS = :B63 , INCIDENT_CITY = :B62 , INCIDENT_STATE = :B61 ,
INCIDENT_COUNTRY = :B60 , INCIDENT_PROVINCE = :B59 , INCIDENT_POSTAL_CODE =
:B58 , INCIDENT_COUNTY = :B57 , SR_CREATION_CHANNEL = :B56 , COVERAGE_TYPE =
:B55 , BILL_TO_ACCOUNT_ID = :B54 , SHIP_TO_ACCOUNT_ID = :B53 ,
CUSTOMER_PHONE_ID = :B52 , CUSTOMER_EMAIL_ID = :B51 ,
LAST_UPDATE_PROGRAM_CODE = :B50 , LAST_UPDATED_BY = :B49 ,
LAST_UPDATE_LOGIN = :B48 , LAST_UPDATE_DATE = :B47 , BILL_TO_PARTY_ID =
:B46 , SHIP_TO_PARTY_ID = :B45 , PROGRAM_ID = :B44 , PROGRAM_APPLICATION_ID
= :B43 , REQUEST_ID = :B42 , PROGRAM_LOGIN_ID = :B41 , BILL_TO_SITE_ID =
:B40 , SHIP_TO_SITE_ID = :B39 , STATUS_FLAG = :B38 , OBJECT_VERSION_NUMBER =
:B37 +1, INCIDENT_POINT_OF_INTEREST=:B36 , INCIDENT_CROSS_STREET=:B35 ,
INCIDENT_DIRECTION_QUALIFIER=:B34 , INCIDENT_DISTANCE_QUALIFIER=:B33 ,
INCIDENT_DISTANCE_QUAL_UOM =:B32 , INCIDENT_ADDRESS2 =:B31 ,
INCIDENT_ADDRESS3=:B30 , INCIDENT_ADDRESS4=:B29 , INCIDENT_ADDRESS_STYLE=
:B28 , INCIDENT_ADDR_LINES_PHONETIC =:B27 , INCIDENT_PO_BOX_NUMBER =:B26 ,
INCIDENT_HOUSE_NUMBER =:B25 , INCIDENT_STREET_SUFFIX =:B24 ,
INCIDENT_STREET =:B23 , INCIDENT_STREET_NUMBER =:B22 , INCIDENT_FLOOR=:B21 ,
INCIDENT_SUITE =:B20 , INCIDENT_POSTAL_PLUS4_CODE =:B19 ,
INCIDENT_POSITION =:B18 , INCIDENT_LOCATION_DIRECTIONS=:B17 ,
INCIDENT_LOCATION_DESCRIPTION =:B16 , INSTALL_SITE_ID =:B15 ,
INV_ORGANIZATION_ID= :B14 , OWNING_DEPARTMENT_ID = :B13 ,
INCIDENT_LOCATION_TYPE = :B12 , INCIDENT_LAST_MODIFIED_DATE = SYSDATE,
MAINT_ORGANIZATION_ID = :B11 , INSTRUMENT_PAYMENT_USE_ID = :B10 ,
SLA_DATE_1 = :B9 , SLA_DATE_2 = :B8 , SLA_DATE_3 = :B7 , SLA_DATE_4 = :B6 ,
SLA_DATE_5 = :B5 , SLA_DATE_6 = :B4 , SLA_DURATION_1 = :B3 , SLA_DURATION_2
= :B2
WHERE
ROWID = :B1
<****----------------------END STATEMENT---------------------------------------****>
After that statement this is what the tkprof generated reports shows
<****------------------------------------TKPROF-----------------------------------------****>
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 1 1 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.00 0 1 1 0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 175 (recursive depth: 1)
Rows Row Source Operation
0 UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)
1 TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)
SQL ID: aahpwzps8m6at
Plan Hash: 0
ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.01 0 0 4 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.01 0 0 4 0
Misses in library cache during parse: 0
0 UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)
1 TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)
SQL ID: aahpwzps8m6at
Plan Hash: 0
ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.01 0 0 4 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.01 0 0 4 0
Misses in library cache during parse: 0
Parsing user id: 175 (recursive depth: 1)
<****------------------------------------END TKPROF-----------------------------------------****> -
ORA-12514 TNSlistener does not currently know of service requested in conne
When I connect in command prompt using username,password & Host String(tnsNames.ora). Its succeed as seen below.
C:\>sqlplus sonia/mypass@sonia - In this line First sonia is the userName & second Sonia is the host from the tnsnames.ora
SQL*Plus: Release 11.2.0.2.0 Production on Wed Jul 4 13:12:43 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - ProductionBut When I use the sqlPlus screen to connect to Oracle -
UserNAme - sonia
Password - mypass
HostString - sonia
I am getting ERROR - ORA-12514 TNSlistener does not currently know of service requested in connect descriptor.
I am not getting why I am not able to LOGIN FROM SQLPLUS SCREEN.
I searched on the net, But still No LUck.My database is also started which I find using the C:>sc query OracleServiceXE
tnsnames.ora (LOCATION - C:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
SONIA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = SONIA)
tnsNAmes.ora -C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
Listener.ora -C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
XE =
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)I am still confused in that I have two tnsNames.ora in different locations.Is that OK?hello All,
Thanks you all.
I am succeed in login through SQL PLus Screen. I make the two tnsNames.Ora exactly same. & it worked for me.
TnaNames.Ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
) Through Command prompt : -
FIRST LOGIN
C:\>sqlplus sonia/mypass@XE
SQL*Plus: Release 11.2.0.2.0 Production on Fri Jul 6 14:04:35 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
SQL>SECOND LOGIN : -
C:\>sqlplus sonia/mypass@sonia
SQL*Plus: Release 11.2.0.2.0 Production on Fri Jul 6 14:03:50 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
SQL>1) I want to ask that, Now in TnsNames.Ora there is no HostString Exist named Sonia, then how in the second method (SEE ABOVE), I am able to login using sonia.
2) Secondly, I want to know how to get TNS_ADMIN value. I have tried but no output for me (SEE BELOW)
C:\>set TNS_ADMIN=%ORACLE_HOME%\network\admin
C:\>echo %ORACLE_SID%
%ORACLE_SID%
C:\>I have read on the net : - If ORACLE_HOME is not set, the output will simply give back %ORACLE_HOME%. It means my TNS_ADMIN is not set. -
Create a view - Service Requests and Incidents
Hi all,
I have a Service Manager 2012 environment that has gone through an in-place upgrade from SCSM 2010.
In the SCSM 2010 environment, Service Requests were implemented by extending the Incident class with an attribute that would denote whether the work item was an Incident or a Service Request.
In SCSM 2012 I would like to create a view that would combine the SCSM 2010 "Service Requests" with SCSM 2012 Service Requests.
Is it possible to create a Type Projection that performs the job of an SQL UNION statement? If I was doing this in SQL, I'd be writing a query similar to the following:
Select *
From ServiceRequestDim
Union Select *
From IncidentDim
Where ServiceRequestType = 'Service Request'
(Obviously, some mapping of attributes between the two class types would be needed...and perhaps that's the reason why a type projection of this sort would not be possible...)
An alternate approach - attack this from the Work Item class. It's trivial to create a view that contains Service Requests and Incidents - just set your criteria to be: ID begins with 'SR' or ID begins with 'IR'. Unfortunately, that criteria
returns all Incidents, and I only want the Incidents that have the attribute ServiceRequestType = 'Service Request'. Is it possible to create a Type Projection starting with the Work Item type that employs criteria from child classes?Work Item is an abstract class, and can't be extended for implementation reasons.
i think Anders has understated the difficulty of combining these views: this is a bit like saying "show me all the orange things, given this bucket of cats and this bucket of fruit" yes, they are both "orange", but fur is not the same
as fruit rind; they're not the same "orange".
the 2010 Service Request implementation was never intended to be a serious use case (i assume you're talking about the SCSM Service Request demo implementation on codeplex), it was intended
to be a demo of what you could do with the form and object interfaces.
The solution here should be simple, convince your client that their solution has been replaced by a newer, better version, Resolve Close and then deprecate these requests, and start reporting only the new type requests. these are history, and dirty data,
and should be ignored. -
CSXSRISR not opening SR when doing Find Service Request.
We recently upgraded from 11.5.10.2 to 12.1.3 this was tested and was functioning correctly, however this morning this issue began.
Under Service --> Find Service Request
You can search for the Service Request that you want to open, the results return, you can choose the SR you want to open and click OK, however the CSXSRISR form does not populate with the any data. It opens as if you selected Create New Service Request.
This is a major issue for our agents as some of them can not do their jobs.
Why would the search results not open the requested SR?
Thank youWell I figured the issue out. The folder at the top had been modified during a search and saved as default for a responsibility with the SR number as a query attached. Modified the folder that opened in the header and it works normally now.
-
Hello collegues,
I have a fact sheet Z, in the BSP_DLC_fs component.
This Block has the service request of the BP.
My customer need that exists a hyperlink to service request detail.
I`ve implemented the GET_P_XX.. Method, and I`ve implemented an event relationed.
In the code of the event, I indentified the guid of the service request, but I don´t have certeid about the component that need call (BTQRSrvReq, BTAdminH,SRQM_INCIDENT_H,BT311_CSR I´m confused with this elements)
Also, I don´t know how call the view.
Thanks a lot,
RobertoHi,
we have realized exactly the same.
Here the coding from our eventhandler:
DATA: lv_index TYPE int4,
lr_entity TYPE REF TO cl_crm_bol_entity,
lv_event TYPE REF TO cl_htmlb_event_tableview,
lr_msg_srv TYPE REF TO cl_bsp_wd_message_service.
data: lr_data_collection TYPE REF TO if_bol_bo_col.
DATA lr_nav_srv TYPE REF TO if_crm_ui_navigation_service.
DATA: lr_property TYPE REF TO if_bol_bo_property_access,
lv_id TYPE CRMT_OBJECT_ID.
* get index of result list selected
CALL METHOD cl_thtmlb_util=>get_event_info
EXPORTING
iv_event = htmlb_event_ex
IMPORTING
ev_index = lv_index.
* set entity as current one
lr_entity ?= me->typed_context->btqrsrvreq->collection_wrapper->find( iv_index = lv_index ).
lv_id = lr_entity->get_property_as_string( iv_attr_name = 'OBJECT_ID' ).
DATA: query TYPE REF TO cl_crm_bol_query_service,
result TYPE REF TO if_bol_bo_col.
* get Query service
query = cl_crm_bol_query_service=>get_instance( 'BTQuery1O' ).
query->set_property( iv_attr_name = 'OBJECT_ID'
iv_value = lv_id ).
* execute query
result ?= query->get_query_result( ).
lr_entity ?= result->get_first( ).
CHECK lr_entity IS BOUND.
CALL METHOD cl_crm_ui_descriptor_obj_srv=>create_entity_based
EXPORTING
ir_entity = lr_entity
iv_ui_object_type = 'CRM_SRQM_INCIDENT'
iv_ui_object_action = 'B'
RECEIVING
rr_result = lr_property.
CREATE OBJECT lr_data_collection TYPE cl_crm_bol_bo_col.
lr_data_collection->add( lr_property ).
lr_data_collection->add( lr_entity ).
lr_nav_srv = cl_crm_ui_navigation_service=>get_instance( me ).
IF lr_nav_srv IS BOUND.
lr_nav_srv->navigate_dynamically( lr_data_collection ).
ENDIF.
Good Luck.
Kind regards
Manfred -
HTTP-Post/Get method of calling the query service allows us to build URL
Hi,
I am new to webservices.i have requirement that, using a HTTP-Post/Get method of calling the query service that allows us to build an URL and if we call that url it wil populate XML object.i need query LDAP server for getting users manager details ,in request query we wil pass user details.thanks in advance..check same issue in java forum and this link:
http://jakarta.apache.org/commons/httpclient/methods/post.html -
Obtain the URL of BPM task with Task query Service
Hi!
I am using the task query service to obtain information about Tasks with web services. I need to obtain the creator and the URL to access to the detail of the task (i don't know if this column is "taskDisplayUrl").
I have this Request but the response haven't the creator or the taskDisplayURL anybody can knows why?
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tas="http://xmlns.oracle.com/bpel/workflow/taskQueryService" xmlns:com="http://xmlns.oracle.com/bpel/workflow/common" xmlns:tas1="http://xmlns.oracle.com/bpel/workflow/taskQuery" xmlns:task="http://xmlns.oracle.com/bpel/workflow/task">
<soapenv:Header/>
<soapenv:Body>
<tas:taskListRequest>
<com:workflowContext>
<!--Optional:-->
<!--Optional:-->
<com:token>aeb02ebe-69e9-4410-90d7-cffd45c2613c;;VnIEtWPiaoh7tTD1KhC4D0sjFNTVLdgySbQVa4xK0TiBb+0nzaqm/UA4THYju77KK/9xaPUH6F355rtMEoKAYBtXPPyHBYWnaGkZjAz5AB1PQyjs+hvqvA1SaVQnhWcRy8ZtTarO+vCxseuGit62QIoLa1vWKKC59j7m+OWxKYonchVcCo2droku9YZaf9T45cDLC3eh6UXzgM4S2f7OCF4BxI4b43jJZTJ6Ny3Zr/VQo57+73mkP2xxp3mtvu/5</com:token>
</com:workflowContext>
<tas1:taskPredicateQuery startRow="0" endRow="0">
<!--You have a CHOICE of the next 2 items at this level-->
<!--Optional:-->
*<tas1:displayColumnList>*
*<tas1:displayColumn>CREATOR</tas1:displayColumn>*
*<tas1:displayColumn>TITLE</tas1:displayColumn>*
*<tas1:displayColumn>CREATEDDATE</tas1:displayColumn>*
*<tas1:displayColumn>taskDisplayUrl</tas1:displayColumn>*
*<tas1:displayColumn>PRIORITY</tas1:displayColumn>*
*<tas1:displayColumn>TASKNUMBER</tas1:displayColumn>*
*</tas1:displayColumnList>*
<tas1:optionalInfoList>
<!--Zero or more repetitions:-->
</tas1:optionalInfoList>
<!--Optional:-->
<tas1:predicate>
<!--Optional:-->
<tas1:assignmentFilter>MY_AND_GROUP</tas1:assignmentFilter>
<!--Optional:-->
<!--You have a CHOICE of the next 2 items at this level-->
<!--Zero or more repetitions:-->
<tas1:clause joinOperator="OR" ignoreCase="false">
<!--Optional:-->
<tas1:column>TITLE</tas1:column>
<tas1:operator>EQ</tas1:operator>
<!--You have a CHOICE of the next 3 items at this level-->
<!--Optional:-->
<tas1:value>BPM_NotasGastos</tas1:value>
<!--Optional:-->
</tas1:clause>
<tas1:clause joinOperator="OR" ignoreCase="false">
<!--Optional:-->
<tas1:column>TITLE</tas1:column>
<tas1:operator>EQ</tas1:operator>
<!--You have a CHOICE of the next 3 items at this level-->
<!--Optional:-->
<tas1:value>BPM_AprobacionPedido</tas1:value>
<!--Optional:-->
</tas1:clause>
<!--Optional:-->
</tas1:predicate>
<tas1:ordering>
<!--Zero or more repetitions:-->
<tas1:clause>
<!--You have a CHOICE of the next 2 items at this level-->
<tas1:column>updatedDate</tas1:column>
<tas1:sortOrder>DESCENDING</tas1:sortOrder>
</tas1:clause>
</tas1:ordering>
<!--Optional:-->
</tas1:taskPredicateQuery>
</tas:taskListRequest>
</soapenv:Body>
</soapenv:Envelope>
the response
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<taskListResponse xmlns="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-12T15:30:54+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-12T15:30:54+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>baf46727-1a3f-4f88-90ca-3f2a101dbd76</taskId>
<taskNumber>212891</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-12T15:30:54+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.43*soa_b5148411-0b3b-4a01-a6a1-5c05e59ee763/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.43*soa_b5148411-0b3b-4a01-a6a1-5c05e59ee763/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_b5148411-0b3b-4a01-a6a1-5c05e59ee763</mdsLabel>
<customAttributes/>
</task>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-12T15:21:18+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-12T15:21:18+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>be730766-ceaf-4ff6-ab30-11dbbbc53b6c</taskId>
<taskNumber>212881</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-12T15:21:18+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.42*soa_4a0f73f0-faf9-4d42-8c9d-3e9bb7ab602a/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.42*soa_4a0f73f0-faf9-4d42-8c9d-3e9bb7ab602a/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_4a0f73f0-faf9-4d42-8c9d-3e9bb7ab602a</mdsLabel>
<customAttributes/>
</task>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-12T11:44:44+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-12T11:44:44+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>5a17b895-6577-4cdf-87f4-30f6c9127681</taskId>
<taskNumber>212405</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-12T11:44:44+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.37*soa_520d40c0-fa0a-49bc-a5b2-8fd2dcca9651/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.37*soa_520d40c0-fa0a-49bc-a5b2-8fd2dcca9651/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_ff7d9ce2-7bef-433b-9e6d-12461136eff9</mdsLabel>
<customAttributes/>
</task>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-12T11:39:22+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-12T11:39:22+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>fa249c9c-d45b-4bb6-869b-3ae2893147d8</taskId>
<taskNumber>212383</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-12T11:39:22+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.36*soa_4fb21287-882e-4e9a-9087-4c39f8bd3b29/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.36*soa_4fb21287-882e-4e9a-9087-4c39f8bd3b29/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_ff7d9ce2-7bef-433b-9e6d-12461136eff9</mdsLabel>
<customAttributes/>
</task>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-08T14:38:12+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-08T14:38:12+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>df18152a-6a5a-40ac-a06f-64ad6507f4fb</taskId>
<taskNumber>211358</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-08T14:38:12+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.24*soa_abca4e03-b8e6-414a-8b59-8943ac2fbb0c/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.24*soa_abca4e03-b8e6-414a-8b59-8943ac2fbb0c/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_abca4e03-b8e6-414a-8b59-8943ac2fbb0c</mdsLabel>
<customAttributes/>
</task>
</taskListResponse>
</env:Body>
</env:Envelope>Hi, did you find the way to find the URL of the WSDL? I have the same problem.
-
Configuring my first Service Request
Hello all,
I'm just starting to learn Service Manager and wanted to begin with the Request Management bit.
Therefor I created an orchestrator runbook to add a user to a group.
In the 'initialize data' step, I created 2 string variables: User and Group.
I then went into SCSM and let the SORCH connector run.
After that I could see my runbooks imported.
From my runbook, I created the Runbook activity Template and made sure to check the 'is ready for automation' flag.
I placed this template in a custom MP.
Next off I created a Service Request in the same MP as here above and in the activities tab, I added my Runbook Automation Activity.
Then I went on to create a new Request offering.
Inside the request offering, I selected my newly created Service Request Template and configured 2 prompts with the query type.
In the configure part, I made it so that they write the input as a related item to the service request.
My problem arises when I have to map my prompts to something.
It seems that the prompts that I configured aren't available to map to the orchestrator input fields.
See attached file: http://1drv.ms/173fWJD
How can I accomplish this?
What did I do wrong?
Thanks in advance!
FilipHey
Selected CIs from query prompts can only be related to the SR or one of the activities. Therefore the SCORCH runbooks needs to connect back to SCSM and get those related objects. You cannot submit those values when the Runbook is triggered.
1 good Option is to always only accept the Runbook activity template id and map this id to the Input Parameter when you configure the RB template. After that you can connect back to SCSM, go through the relationship to the SR and then to the selected/related
user and Group. Once you have all together you can do the modification in ADDS.
Cheers
Marcel
Marcel Zehner // Blog --> http://marcelzehner.ch // Twitter --> @marcelzehner // Business --> http://www.itnetx.ch -
Retrieving the Affected Configuration Items from a Service Request
I have a service request that gathers the usernames of AD Users that need to be added to a new security group. I have Query Result field set to add the users that are selected as Affected Configuration Items. My problem is when I get the SR's related AD
Users it gives me all of the Affected CIs but it also gives me the user that submitted the form. Is there any way to filter the relationship to only get users in the Affected CI list?
Here's the steps I'm using:
Identify Runbook Automation Activity
Get Parent Service Request Relationship from RBA
Get Parent SR Object
Get related AD Users from SR
Get AD User Objects
Any help is much appreciated.I figured it out. If anyone else is having this issue, you have to filter the Get User Relationship to exclude everything that does not match the Affected User Relationship Class:
http://blogs.technet.com/b/servicemanager/archive/2012/05/22/working-with-relationships-in-the-scsm-orchestrator-integration-pack.aspx -
View of organizational unit in Service request
Hi everyone,
In our service request, we are trying to visualise all the organizational unit (of the organization model) of a BP.
We achieve to see the direct service group where the BP is assigned but we are trying to see more of the link to the organizational model.
For example : our organizational model looks like this:
For user AJAUSSAUD1, I can see the direct link to PSE Equiment in my service request (this is determined in the partner schema determination)
However, we would like to be able to see MC1 (here 3 level above) in the service request.
We are using service organization as function and all the organizational unit are determined as service organization as we are using it to authorizations access.
Does anyone know if there is a way to see the link with all the organizational unit of a user in a service request?
Would it be with the attribute available in the ppoma-crm, but how to add the field and make them available in the service request view?
Thank you,
Regards,
AnaïsHello Anais,
As far as I know, there is no standard way to view an organizational hierarchy in a service request. You will need to do some developments. There are two options -
1. If you want the 3 org levels to be stored in data base table for future reference and reporting
You can add 3 fields in ORGMAN sub object using AET. This will add the fields to table CRMD_ORGMAN. After org determination has happened in your service request, you can use BAdi - CRM_ORGMAN_BADI, methd - CRM_ORGMAN_MERGE to fill values of these 3 org levels. You have to recursively use functions or query table HRP1001 to get the parent of determined service org and then its parent and so on.
Remember once these 3 fields are added at database level, they are available for all transaction types of one order. These fields can be made available to BW queues also at time of adding them.
2. If you do not want the 3 org levels to be stored in data base table
This would mean you only want these fields for display to end user.
Add 3 model nodes in the web ui component. In the getter method of 1st field, add select query or call function to get parent of determined service org. Similarly for other 2 fields.
Hope this will help. Maybe you also get some different suggestion from other guys.
Regards,
Niraj
Maybe you are looking for
-
Why in the latest version of iTunes 7 does it not sort the album titles with the word "The"?? Is there anyway to turn this back on other than changing the setting "Sort By" field and adding the "The" back in? Ta! Stickymicky
-
Activation/Désactivation Flash MX 2004
Hello, I can't activate Flash MX 2004 on my pc. I think it is activated on my hold pc (I have the HD), thank you to tell me how to de-activate it?
-
I have a Compaq desktop,it is running windows XP.I recently downloaded Kaspersky anti virus and after shutting it down and restarting,the color on my moitor is crazy wrong.My pages are a God aweful purplish pink and what suppose to be yellow is a God
-
Creating An Automation - Copy, Archive
Hi, I'm new to Final Cut Server (FC Server) and learning it now. Have a few questions, searched the internet for answers but still hope for assistance here. - Within "Search Expired" response, what is the purpose of "Event Type"? - Within "Subscripti
-
Hello, I am working on HANA Side car scenario, my scenario needs following: - Integration with on-premise applications (SAP/non-SAP) - Reporting in BOBJ (Dashboard, Design Studio, Webi etc.) I am considering to use HCP as clients needs fairly small H