Skip to Content

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

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.

Query.PNG (71.0 kB)
DataModel.PNG (151.2 kB)
View.PNG (77.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 12, 2016 at 02:04 PM

    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


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.