Hi,
In one project in my company, we created role provider for Oracle. In once case I have created a role in K2 and assigned users from a smart object. This smart object is engineered to bring the user details from a view in the oracle database.
Our custom oracle provider is be using "TPOTSEC" as "security label". I created a role in K2 with the name "NCRApprovers" and my smart object as "ApproversSmartObject". So NCRApprovers internally used ApproversSmartObject to get the users.
I executed the smart object under Smart Object Tester and it it resulting the details. The user name that i am using is "TPOTSEC:pradeepy". Here TPOTSEC is my security label and pradeepy is the login name in my database.
I consumed the role in one workflow and this is throwing an exception which is as follows;
"Message: Exception has been thrown by the target of an invocation. An unexpected
error has occured while trying to resolve a value for Resolver ID
D84B95DF-0BAE-412d-A7F1-27286E47108A. An unexpected error has occured while
trying to resolve a value for Resolver ID 66F48A37-7CC5-49ca-985E-E9B58E0C9C86.
Exception of type 'SourceCode.SmartObjects.Client.SmartObjectException' was
thrown.; ServiceName: URMService; ServiceGuid:
4c2f62ea-be8d-4600-a2b5-185902bdd20a; InnerExceptionMessage: ;"
What i am feeling is K2 is unable to retrieve the data from my role provider. Please help me to resolve this issue.