What is a fault data type?

Hi,

We created an integration & a sail web service call and a CDT object was created I believe by Appian. I tried to open it but it displays a blank name and has a label stating: "viewing read-only".

The properties read:

Namespace: NULL

Name: NULL

Source:Web Service Node
Hide this data type from auto-complete and pickers
Under FIELDS it reads:
Fault data types cannot be edited
This data type is available from pickers and choosers. I tried converting the external service response into a cdt of its type and failed but I have no idea why (using torecord()). I cannot inspect its fields and contents so it's hard to troubleshoot. I would like to find a way to clone this weird CDT into a local one or at least be able to inspect it but I don't know where it came from, what it is or why it exists.
Any help would be appreciated.
Thanks in advance,
TLDR
Where did it come from?, What is it?, What is its purpose?.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Hello Oscar

    It seems like you got the webservice exception object which is received in the body, but in order for you to access it should be specified on the WSDL/Schema but it depends on how you are reading the response if you really need to describe it or not.

    Here are some references of what I am saying

    Hope this helps

    Jose

Reply
  • 0
    Certified Lead Developer

    Hello Oscar

    It seems like you got the webservice exception object which is received in the body, but in order for you to access it should be specified on the WSDL/Schema but it depends on how you are reading the response if you really need to describe it or not.

    Here are some references of what I am saying

    Hope this helps

    Jose

Children