Question

5
Replies
153
Views
Natalia Wasio?ek (NataliaW7852)
UNIQA

UNIQA
PL
NataliaW7852 Member since 2018 1 post
UNIQA
Posted: February 6, 2020
Last activity: February 18, 2020
Posted: 6 Feb 2020 8:58 EST
Last activity: 18 Feb 2020 9:42 EST
Closed

API SOAP in Pega

Hi all,

I am trying to create automation using the SOAP API and I have a problem referring to the "SaveDocument" method - I don't know how to refer to the "Components" parameter. I enclose two screenshots: one presents part of the method and the other shows the automation in PEGA.

This is what I am trying to do:

1. create a Global Container and place ServiceClient in it

2. put the WSDL address in the ServiceClient 

3. create an automation in which I want to call the GetBarcodeForDoc and SaveDocument methods. The GetBarcodeForDoc method returns a barcode number - it works. However, in the SaveDocument method, we cannot add ComponentType and PropertyType to the DocumentType property. 

Do you have any hints how to add this component? 

Should we additionally call Components and Properties somehow? If so, how? What is worth to add is that the Components can have several ComponentTypes in it. Should I add somewhere this information?

 

Pega Robotic Process Automation 8.0 Robotic Process Automation Insurance Robotics System Architect
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.