cancel
Showing results for 
Search instead for 
Did you mean: 

(Cloud Applications Studio) How to get information about parent/main ticket in own view?

0 Kudos

I would like to enhance the service ticket in C4C with an own view.

In this custom view I would like to show the related tickets of a service ticket. Currently it is only possible to see the sub-tickets. I would like to have the same view for the main ticket. Currently only the same with a link is shown in the ticket header, but I want to display it as a table view.

I have bound an embedded component to the standard BO 'COD_SEOD_Agent_Workspace_TI'. For the binding I used the outport 'ticket_info_out' which contains the ticketID.

I created a query, but I am not sure which parameter I have to use from the queryByElements. For the main tickets I used the BusinessTransactionDocumentReferenceBusinessTransactionDocumentReferenceID with the value of the ticketID.

In the data model I have bound the ID of my data list to the ID of the service request.

Currently this query shows me the subtickets and the main ticket of my current ticket. How do I need to change the query so that only the main ticket is displayed?

Attached you can find screenshots from UI, Data Modeler and from the Query.

Accepted Solutions (0)

Answers (1)

Answers (1)

lessip
Participant
0 Kudos

Hello everyone,

I have the same request and need to reference the sibling-tickets on the same hierarchy layer in the ABSL code.

My approach therefore is to access the parent-ticket (works successfully) and to read out all child-tickets (-> which are the siblings of the initial one).

On the following screenshot you find a drawing of the scenario.

|=|    The red box is the current ticket, queried by ID.

|=|    The light pink boxes are the sibling tickets I want to access

->     The red arrows are the connections I need to realize

->     The blue arrows are the connections I plan to go

->     The black arrows mark the connections I know, which I can already use.

But I miss a way to access the child tickets from the parent ticket.

Thanks in advance for your valuable hints and have a nice weekend!

Patric