Posted: 17 Jun 2017 18:11 EDT Last activity: 15 Jul 2017 21:15 EDT
create workparty from service (svcAddWorkObject)
I created a service using svcAddWorkObject to create case. one of requirement is add the applicant as workparty. the applicant information is part of the WSDL and sent via the service call. In the XML parse, I defined pyWorkParty(Applicant) to map the applicant information in the xml payload. after the service call, the case is created and pyworkpage is also created, but it always pyworkparty(Applicant1). I don't know where the 1 coming from. i'm expecting pyWorkParty(Applicant).
Any suggestion? Thanks,
***Updated by moderator: Lochan to add Categories***
If you change the word "Applicant" to something more obscure such as "Hopeful", do you get "Hopeful1" or just "Hopeful"? if you get just "Hopeful" then that suggests that the "Applicant1" is occurring because code somewhere thinks "Applicant" already exists so it is appending the "1" to make it unique.
If you get "Hopeful1" and therefore it didn't help, can you trace your original? You should be able to find where in the trace the "Applicant1" is being generated. I have heard that tracing services can be sometimes easier than tracing agents because the trace-particular-activity feature can be used. I haven't tried it lately, however.
It is coming as Hopeful1. Here the problem is how to set values into page group from service request. I tried with different page group & random subscript instead of pyWorkParty still same problem. It is performing by Parse XML rule and not easy to trace it.