SAP Knowledge Base Article - Public

2885984 - Feature permission block in Job requisition template with multiple statuses will throw validation error

Symptom

When you upload the Job requisition template in your provisioning, in which the feature permission block has multiple statuses defined in it, the following validation error is thrown :

Errors Validating Recruiting Template:
org.xml.sax.SAXParseException; lineNumber: 4297; columnNumber: 26; The content of element type "feature-permission" must match "(description?,role-name+,status)"

Environment

Successfactors Recruitment Management

Reproducing the Issue

Try to upload the Job Requisition template in your provisioning with feature permission block as follows where you are using more than one status :

<feature-permission type="offerApproval">
<description><![CDATA[launch offer letters during statuses.]]></description>
<role-name><![CDATA[R]]></role-name>
<role-name><![CDATA[G]]></role-name>
<status><![CDATA[Offer]]></status>
<status><![CDATA[Candidate Timeout]]></status>
<status><![CDATA[Offer Accepted]]></status>

</feature-permission>

You will receive the following error :

Errors Validating Recruiting Template:
org.xml.sax.SAXParseException; lineNumber: 4297; columnNumber: 26; The content of element type "feature-permission" must match "(description?,role-name+,status)"

Cause

This is an expected behavior and is confirmed by our Product Management team that the feature permission block should contain only one status and multiple statuses are not supported as of now and will throw a validation error.

But, the field permission block will support multiple statuses in one single block.

Resolution

Create seperate blocks for seperate statuses if you have to give the same feature permission to them. An example of a feature permission block which will not throw validation errors are as follows :

<feature-permission type="offerApproval">
<description><![CDATA[launch offer letters during statuses.]]></description>
<role-name><![CDATA[R]]></role-name>
<role-name><![CDATA[G]]></role-name>
<status><![CDATA[Offer]]></status>

</feature-permission>

Note :  In Manage templates also, it will allow you to choose only one status for the feature permission block. So, multiple statuses are not supported in the feature permission block.

Keywords

Job Requisition, Feature permission, multiple status, validation error , KBA , LOD-SF-RCM-JOB , Job Postings & Requisitions , Problem

Product

SAP SuccessFactors HXM Core 1911