Hi All, I am new to web service beforeRule (for create account purpose). I have configured one web service application, able to connect with target system using rest api, able to aggregation accounts in IDN. For Create Account, when I do testing am getting below error:
"message":"provisioning plan doesn't contain any account requests",
"message":"Provisioning plan in return : <?xml version='1.0' encoding='UTF-8'?>\n<!DOCTYPE ProvisioningPlan PUBLIC \"sailpoint.dtd\" \"sailpoint.dtd\">\n<ProvisioningPlan nativeIdentity=\"9000043\">\n <AccountRequest application=\"***** [source]\" op=\"Create\">\n <AttributeRequest name=\"userRole\" op=\"Add\" value=\"Helpdesk Services\"\/>\n <AttributeRequest name=\"WORKFORCEID\" op=\"Add\" value=\"1000043\"\/>\n <AttributeRequest name=\"employeeID\" op=\"Add\" value=\"1000043\"\/>\n <AttributeRequest name=\"employeeNumber\" op=\"Add\" value=\"1000043\"\/>\n <AttributeRequest name=\"givenName\" op=\"Add\" value=\"Test002\"\/>\n <AttributeRequest name=\"sn\" op=\"Add\" value=\"User002\"\/>\n <ProvisioningResult status=\"failed\">\n <Errors>\n <Message key=\"Exception occurred while performing 'Create' operation on identity 'null': Error: Error executing before operation rule for endpoint 'Create Account': The application script threw an exception: sailpoint.tools.GeneralException: provisioning plan doesn't contain any account requests BSF info: IDNSource_BeforeOperation_Rule_AddRemoveEntitlement at line: 0 column: columnNo\" type=\"Error\"\/>\n <\/Errors>\n <\/ProvisioningResult>\n <\/AccountRequest>\n<\/ProvisioningPlan>\n",
Here is my provisioning policy content:
{
"name": "Account",
"description": null,
"usageType": "CREATE",
"fields": [
{
"name": "MAIL",
"transform": {
"type": "identityAttribute",
"attributes": {
"name": "email"
}
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
{
"name": "WORKFORCEID",
"transform": {
"type": "identityAttribute",
"attributes": {
"name": "workforceId"
}
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
{
"name": "employeeID",
"transform": {
"type": "identityAttribute",
"attributes": {
"name": "workforceId"
}
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
{
"name": "employeeNumber",
"transform": {
"type": "identityAttribute",
"attributes": {
"name": "workforceId"
}
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
{
"name": "givenName",
"transform": {
"type": "identityAttribute",
"attributes": {
"name": "firstname"
}
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
{
"name": "sn",
"transform": {
"type": "identityAttribute",
"attributes": {
"name": "lastname"
}
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},
]
}
Could you please help me with some sample rule which I can try in my sample application.