This content has been marked as final. Show 7 replies
Hi, this could be a host of issues.
One thing that I can think of is user to role assignment.
Because the data provided as the input into your xquery for an order state event automator type depends on the Query Task.
If you assign the user executing the automator to extra Roles, you may get a different Query Task being picked by the system, hence a different set of data provided as the input for your xquery...
I have checked the user/roles from OSM Administrator associated to the 'CommunicationsProvisioningOrderFulfillmentPIP' and all the roles have all the users associated. I didn't change anything. It's the OOTB installation... Is this is correct? Does anybody know where I can get the mapping user/roles associated to each cartridge provided with the OOTB installation? It's just to check if the installation has been correctly done at least regarding user/roles.
Thank you for your help.
Hi, I took a closer look at your issue.
here is the code where the error seems to come from
let $ebm := if (fn:exists($taskData/oms:_root/oms:messageXmlData/provord:ProcessProvisioningOrderEBM))
else error(xs:QName('osmError:ORDER_NOT_FOUND'), "Error getting ProcessProvisioningOrderEBM.")
To me this must be an issue with the task data.
The user executing this automator is osmlf.
This user should be the member of the following roles:
Both have the same view assigned for the Provisioning order: CommunicationProvisioningOrderQueryTask.
The user must not be a membe of other roles, this can lead to a different query task being picked by the system for the automator.
In particular, there is the LocalFulfillmentSystemInteractionRole which has a different query task assigned for the order:
And this one indeed does not include the element messageXmlData. So if by any chance the user osmlf was member of LocalFulfillmentSystemInteractionRole, this could lead precisely to the error you are getting.
Let me know...
Edited by: viktor.jarolim on 23 oct. 2012 23:55
Edited by: viktor.jarolim on 23 oct. 2012 23:57
Thank you very much!!! I have removed the user osmlf from the role LocalFulfillmentSystemInteractionRole and now the provisionOrder function is completed :)
Do you know where I can get the correct users for each role? Is there any Oracle documentation which include this information? I think all the configuration user/role is not correct...
Hi, if you still have the cartridge source which you downloaded from edelivery, there is a "userConfig.xml" in certain cartridges (e.g. the provisioning one).
Take a look and it tells you for each user what are the weblogic groups and the OSM groups.
I don't think there is any specific piece of documentation on this.