Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

BPM - Approval Subject Line

edited May 5, 2021 1:44PM in Human Capital Management 3 comments

Content

Trying to include 'Country' code in subject line of 'AddContingentWorkerApproval'.

Subject line: {0}-Contingent Worker Added

Attribute Used: /task:task/task:payload/ns2:getNewAssignmentByTransactionIdResponse/ns2:result/ns18:LegislationCode

After commit, when a 'Add CWK' transaction is initiated, getting below error for the workflow:

Error in task definition.Error in evaluating parameter Exception applying formatting in the task definition. The error is {0} - Contingent Worker Added. The task definition ORABPEL-09500XPath expression failed to execute.An error occurs while processing the XPath expression; the expression is /task:task/task:payload/ns2:getNewAssignmentByTransactionIdResponse/ns2:result/ns18:LegislationCode​.The XPath expression failed to execute; the reason was: Namespace prefix 'ns18' used but not declared..Check the detailed root cause described in the exception message text and verify that the XPath query is correct..Make sure that the parameter Exception applying formatting is specified correctly in the task definition.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!