This content has been marked as final. Show 5 replies
Thor.API.Operations.tcAccessPolicyOperationsIntf1 person found this helpful
11g API(AccessPolicyService) doesn't has method to find Access policy. there is only one method 'evalutePoliciesForUser(userKey)'.1 person found this helpful
Hence, you have to stick with 9i API as suggested above
Thanks a lot Kevin and Nishith.
Any idea on which API to use to get child table data, I need to get the data of UD_OID_GRP as I guess this is the table which stores the list of groups in Access Policy.
Use following method of tcFormInstanceOperationsIntf -
getProcessFormChildData(long plChildFormDefinitionKey, long plProcessInstanceKey)
plChildFormDefinitionKey - The key for the child form definition.
plProcessInstanceKey - The key of the process instance in the system.
To get plChildFormDefinitionKey
1.Use getProcessFormDefinitionKey (long plProcessInstanceKey) to get plParentFormDefinitionKey, will be used for getActiveVersion method
2. Use getActiveVersion (long plFormDefinitionKey) to get pnParentFormVersion, will be used in getChildFormDefinition method
3. Use getChildFormDefinition (long plParentFormDefinitionKey, int pnParentFormVersion), to get resultset
4. Iterate through resultset and get plChildFormDefinitionKey and use resultSet.getLongValue("Structure Utility.Child Tables.Child Key")
And you need to map process instance key from design console.