Skip to Content
author's profile photo Former Member
Former Member

C4C: Programmatically read submitted Survey questions and answers

Hello Community,

in a Cloud for Customer solution, Service Scenario, we are defining the submit of a Survey for Tickets/ServiceRequest. Contextually, we are enhancing the Service Request Business Object with additional controls and logics.

Once that the Survey has been submitted and saved, is there available any way to read the couples of questions and answers via the ABSL code?

we noticed that the node WorklistItem for the ServiceRequest BO has the following inner proprieties:

WorklistItem.ItemTextCollection.GetFirst().TextByTextTypeCodeAndLanguageCode.GetFirst().TextContent.Text.content;

Is is the right place to look for, or is there any other better (and more effective way) to access single Questions and Answers texts?

Thank you for your support.

Cheers,

Davide

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 11, 2015 at 05:54 PM

    Hi Davide! This is interesting also for me but unfortunately my customer has disabled the surveys so i can't check on the system!

    Meanwhile why dont you check if there is a survey business object in your tenant? it should be, and i dont think the item text collection contains survey results

    Let me know!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 14, 2016 at 01:30 AM

    Hello Davide,

    I have a requeriment to update BO standard as a Lead or marketing attribute of BP, when the customer responds a specific question of a survey in a campaign.

    Is posible to get the answer in runtime and do that? something like a before save event?

    or maybe create a button in survey or campaign overview and do it manually.

    Regards.

    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.