and more in a single search tool across platforms. Read the announcement here. |
10/25/2023 09:51 AM
Hello,
While using a Workday SOAP connector how do I make sure to fail an update user task when an error is thrown in the logs? Currently the task is getting completed even though an error occurred while calling the web service. There is no status in the response except for the axis fault and a 500 internal server error HTTP code when called from postman.
Logs:
2023-10-25 16:22:23,638 [quartzScheduler_Worker-3] ERROR provisoning.SoapProvisioningService - Error while calling webservice https://xxx.workday.com/ccx/service/mpc/Staffing/v41.0?wsdl:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client.validationError
faultSubcode:
faultString: Validation error occurred. The Headcount Option value of MOVE or BACKFILL is not valid unless the proposed and current supervisory organizations are Position Management (and are different).
faultActor:
faultNode:
faultDetail:
{urn:com.workday/bsvc}Validation_Fault:<ns1:Validation_Error><ns1:Message>The Headcount Option value of MOVE or BACKFILL is not valid unless the proposed and current supervisory organizations are Position Management (and are different).</ns1:Message><ns1:Detail_Message>Derived Element Content Headcount_Option_Reference Restricted by Change Job Detail Data/30/Headcount Options [CL]-The Headcount Option value of MOVE or BACKFILL is not valid unless the proposed and current supervis-</ns1:Detail_Message><ns1:Xpath>/wd:Change_Job_Request[1]/wd:Change_Job_Data[1]/wd:Change_Job_Detail_Data[1]/wd:Headcount_Option_Reference</ns1:Xpath></ns1:Validation_Error>
Validation error occurred. The Headcount Option value of MOVE or BACKFILL is not valid unless the proposed and current supervisory organizations are Position Management (and are different).
Thanks,
Umang
10/26/2023 03:27 PM
You can define the SUCCESSCRITERIA and in case the response is not the same, the task should fail. Refer below SOAP documentation for examples
10/27/2023 01:25 PM
This is the success Response I get:
12/19/2023 04:23 AM
Hi Umang,
Were you able to figure out the SUCCESSCRITERIA here?
Thanks
12/20/2023 11:32 AM
I don't think we can define a SUCCESSCRITERIA based on Workday responses but maybe you can try to map a response based on the fault message during a validation error.
Thanks,
Umang
10/29/2023 07:03 PM
in v5.5 its issue we have created analytics report to reopen tasks based on error on task comments