Error using Workflow API to retrieve result of closed instance.
Hello,
I have been attempting to use the workflow Java API to retrieve the payloads of open and completed instances of a particular BPEL Process. I have been able to use the IInstanceHandle.getField method to retrieve the payload of an active/open instance but I am having difficulty with the IInstancehandle.getResult method to retrieve the result of a closed.completed instance. The error I receive is: "Scope not found. The scope "BpPrc0.1" has not been defined in the current instance. I have checked out the audit history for this instance and have seen this particular scope scattered throughout the XML. Any ideas on what may be causing this issue or something I should be looking for?
Thanks in advance.
Hi,
Use the getField() method:
Object field = handle.getField("outputVariable");
This returns a HashMap with the payload as one of its entries.
Similar Messages
-
Error Using REST API to Retrieve SharePoint content
I am developing a rather simple application that retrieves files from SharePoint using the REST Office 365 API. This is a batch job running in the background with no user interface so the following simple 2-step flow is what I'm doing:
(1) Requesting an Access Token from Azure AD (supplying client ID, client secret, resource, and grant_type=client_credentials)
(2) Invoke the SharePoint API (https://{base url}/_api/v1.0/Files) using the "Authorization: Bearer <access_token>" as a request header .
That process seems pretty straightforward and sounds simple but I keep getting the following error :
401 Unauthorized
x-ms-diagnostics: 3001000;reason="There has been an error authenticating the request.";category="invalid_client"
Any idea what the problem is and how this can be resolved ? I have been stuck on this for days now. I would REALLY appreciate somebody's help with this. Thanks.
- CWHi,
According to the error message, the issue is related to Office 365 Rest API authentication.
I suggest you can check the detailed web request using Fiddler to check the access token is valid in the request.
Here are detailed articles for your reference:
Files REST operations
Remote authentication in SharePoint Online
Fiddler
Thanks
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jerry Guo
TechNet Community Support -
Add attachments using workflow api throwing error
Hi,
I am getting the following error when i am trying to add attachments using worklist API.
Missing class: invokeBPEL.MetaData
Dependent class: com.evermind.io.ClassLoaderObjectInputStream
Loader: oc4j:10.1.3
Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar
This load was initiated at hw_services.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.lang.Class.forName0 (Native method) [unknown, by unknown]
at java.lang.Class.forName (Class.java:242) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at com.evermind.io.ClassLoaderObjectInputStream.resolveClass (ClassLoaderObjectInputStream.java:33) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.io.ObjectInputStream.readNonProxyDesc (ObjectInputStream.java:1538) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.io.ObjectInputStream.readClassDesc (ObjectInputStream.java:1460) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.io.ObjectInputStream.readOrdinaryObject (ObjectInputStream.java:1693) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.io.ObjectInputStream.readObject0 (ObjectInputStream.java:1299) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.io.ObjectInputStream.readObject (ObjectInputStream.java:339) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly (RMIProtocol.java:402) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter (RMIProtocol.java:471) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIProtocol.readObject (RMIProtocol.java:80) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIProtocol.readValue (RMIProtocol.java:161) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation (ServerRmiMessageHandler.java:514) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest (ServerRmiMessageHandler.java:272) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest (ServerRmiMessageHandler.java:241) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand (RMIServerConnection.java:176) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIConnection.handleCommand (RMIConnection.java:152) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands (RMIConnection.java:127) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands (RMIServerConnection.java:390) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIConnection.run (RMIConnection.java:107) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]
Exception in thread "main"
This is the code i used
String userId = "oc4jadmin";
String password = "welcome1";
String sTaskId = "";
IWorkflowServiceClient wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
System.out.println("Before getting TaskService");
ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
System.out.println("After getting TaskService");
IWorkflowContext wfCtx = querySvc.authenticate(userId,password,"jazn.com",null);
System.out.println("Last out");
Predicate pred = new Predicate(TableConstants.WFTASK_STATE_COLUMN,Predicate.OP_EQ,IWorkflowConstants.TASK_STATE_ASSIGNED);
List queryColumns = new ArrayList();
queryColumns.add("TITLE");
queryColumns.add("PRIORITY");
queryColumns.add("STATE");
queryColumns.add("TASKID");
queryColumns.add("TASKNUMBER");
List tasks = querySvc.queryTasks(wfCtx,
queryColumns,
null, //Do not query addtional info
ITaskQueryService.ASSIGNMENT_FILTER_MY_AND_GROUP,
null, //No keywords
pred, //No custom predicate
null, //No special ordering
0, //Do not page the query result
0);
System.out.println("Task Size !!" +tasks.size());
if (tasks != null)
String[] taskList = new String[tasks.size()];
for (int i=0; i< tasks.size(); i++)
Task t = (Task)tasks.get(i);
taskList[i] = t.getSystemAttributes().getTaskId();
System.out.println("Found task: "+taskList);
sTaskId = taskList[i];
else
System.out.println("Did not find any tasks");
Task task = querySvc.getTaskDetailsById(wfCtx, sTaskId);
//Add Attachments
FileInputStream fs = new FileInputStream("D:/Test.txt");
ITaskService itask = wfSvcClient.getTaskService();
MetaData mdata = new MetaData();
mdata.setMimeType("text/html");
mdata.setContent("D:/Test.txt");
mdata.setInputStream(fs);
mdata.setName("Test Document");
itask.addAttachment(wfCtx, sTaskId, mdata);
if (task != null)
System.out.println("Completing task: "+task.getTitle());
wfSvcClient.getTaskService().updateTaskOutcome(wfCtx, task, "APPROVE");
Kindly let me know how to solve this issue.
Thanks,
Gomathihi,
Actually i have used AttachmentType..MetaData is the class which i created for implementing AttachmentType as it is Interface Class. Here is the code of MetaData class.
public class MetaData implements AttachmentType,java.io.Serializable{
public String getBoundary() {
// TODO Auto-generated method stub
return null;
public String getContent() {
// TODO Auto-generated method stub
return null;
public InputStream getInputStream() {
// TODO Auto-generated method stub
return null;
public String getMimeType() {
// TODO Auto-generated method stub
return null;
public String getName() {
// TODO Auto-generated method stub
return null;
public String getSystemVersionFlag() {
// TODO Auto-generated method stub
return null;
public String getTaskId() {
// TODO Auto-generated method stub
return null;
public String getURI() {
// TODO Auto-generated method stub
return null;
public String getUpdatedBy() {
// TODO Auto-generated method stub
return null;
public int getVersion() {
// TODO Auto-generated method stub
return 0;
public void setBoundary(String arg0) {
// TODO Auto-generated method stub
public void setContent(String arg0) {
String cont = null;
cont = arg0;
public void setInputStream(InputStream arg0) {
InputStream sStream = null;
sStream = arg0;
public void setMimeType(String arg0) {
String mime = null;
mime = arg0;
public void setName(String arg0) {
String sname = null;
sname = arg0;
public void setSystemVersionFlag(String arg0) {
// TODO Auto-generated method stub
public void setTaskId(String arg0) {
// TODO Auto-generated method stub
public void setURI(String arg0) {
// TODO Auto-generated method stub
public void setUpdatedBy(String arg0) {
// TODO Auto-generated method stub
public void setVersion(int arg0) {
// TODO Auto-generated method stub
kindly tell me how can i solve this issue.
Thanks,
Gomathi
Edited by: user647559 on Sep 23, 2008 10:05 PM -
SSL error using Neutron API and CLI directly on controller nodes
VIO 1.0 + NSX + vSphere 6.0
I am trying to execute the following segment of code:
139 credentials = get_credentials()
140 neutron = client.Client('2.0',
141 username=credentials['username'],
142 password=credentials['password'],
143 auth_url=credentials['auth_url'],
144 tenant_name=credentials['tenant_name'],
145 endpoint_url=credentials['url'],
146 token=credentials['token'],
147 insecure=True)
148 response = neutron.list_ports()
When I run the Python script, it errors out with the following:
Traceback (most recent call last):
File "getMACAddr.py", line 148, in <module>
response = neutron.list_ports()
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 111, in with_params
ret = self.function(instance, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 306, in list_ports
**_params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1250, in list
for r in self._pagination(collection, path, **params):
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1263, in _pagination
res = self.get(path, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1236, in get
headers=headers, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1221, in retry_request
headers=headers, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1156, in do_request
resp, replybody = self.httpclient.do_request(action, method, body=body)
File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 192, in do_request
**kwargs)
File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 148, in _cs_request
raise exceptions.SslCertificateValidationError(reason=e)
neutronclient.common.exceptions.SslCertificateValidationError: SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
The /var/log/neutron/server.log file has the following corresponding entry for when the script tries to make the connection:
2015-04-11 07:17:31.941 2096 INFO neutron.wsgi [-] (2096) accepted ('10.27.16.164', 34495)
When I run the CLI from the same controller node, I get the error with or without the —insecure flag:
root@controller02:/tmp# neutron port-list
SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
root@controller02:/tmp# neutron --insecure port-list
SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
If I run the neutron CLI command from my local Macbook Pro, it works just fine. That leads me to believe it is a communication error when the controller node tries to talk to itself. I have tried setting the OS_AUTH_URL and OS_URL to both the localhost IP and the 10-network IP address -- both result in the same error.
Any ideas?
ChrisHello Chris,
Thanks for checking out VMware Integrated OpenStack and for sharing your concern.
By default, VMware Integrated OpenStack uses a self-signed certificate, which will require the use of the OS_CACERT environment variable in your openrc file and when using the API.
The better way to resolve this is to use a CA-signed certificate. Fortunately, VMware Integrated OpenStack makes the CSR generation and signed certificate import process very easy.
If this is production, of course, use a trusted Root CA. If this is a Dev Lab, you can generate your own Root CA certificate and use it for testing.
I wrote up a quick blog post on how to do this.
Let us know if you have any further questions.
Regards,
Trevor -
Error using JXL api in a KM Report
Hi Expert,
My report have to use JXL api. I have already a DC containing libraries, including JXL 2.6.2.
I declare my DC in Used DC of my report, but each time I launch it it throws me this error :
"error executing: /reporting/reports/Content Management/Tools/rise_metrics/1237311667619.xml(com.sapportals.wcm.service.reporting.ReportInput@356422d2) - java.lang.NoClassDefFoundError: jxl/format/CellFormat at com.ctsao.project.rise.metrics.RISEMetrics.execute(RISEMetrics.java:460) at com.sapportals.wcm.repository.manager.reporting.monitor.ReportComponent$ReportWrapper.execute(ReportComponent.java:160) at com.sapportals.wcm.service.reporting.scheduler.ReportScheduler$Runner.run(ReportScheduler.java:220)"
Is it possible to use this API in a report or there is some restriction ?
Thanks in advance for your help,
Jean-Edouard Nicolet.Hi,
Try to include the jxl.jar file inside your private/lib folder of project and run as a workaround.
Regards
Baby -
Error using DI API on Item Revaluation
Dear All
While on Revaluation of Item using DI API System gives error meaasage as "Internal Error 5002" ans displaya 'Material Revaluation failed'.
Can any one help me to find the reason for this error and how to overcome the situation?
With regards
AlokeDear Siva
Following is the code I am using for revaluation of items which is giveing "Internal Error 5002':
Dim lMaterialRevaluation As SAPbobsCOM.MaterialRevaluation
lMaterialRevaluation = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oMaterialRevaluation)
For li As Integer = 0 To ls_Lines.Length - 1
If ls_Lines(li).Split(vbTab).Length <> 5 Then
My.Computer.FileSystem.WriteAllText(ls_OutFileName, lnl_SrlNo & "--> Can't Read in the data in Line " & li + 1, True)
My.Computer.FileSystem.WriteAllText(ls_OutFileName, vbNewLine, True)
lnl_SrlNo += 1
Continue For
End If
ls_ItemCode = ls_Lines(li).Split(vbTab)(0).Trim
ls_WareHouseCode = ls_Lines(li).Split(vbTab)(1).Trim
ld_Price = ls_Lines(li).Split(vbTab)(2).Trim
li_IncAccount = ls_Lines(li).Split(vbTab)(3).Trim
li_DecAccount = ls_Lines(li).Split(vbTab)(4).Trim
lMaterialRevaluation.Lines.SetCurrentLine(li)
lMaterialRevaluation.Lines.ItemCode = ls_ItemCode
lMaterialRevaluation.Lines.WarehouseCode = ls_WareHouseCode
lMaterialRevaluation.Lines.Price = ld_Price
lMaterialRevaluation.Lines.RevaluationIncrementAccount = li_IncAccount
lMaterialRevaluation.Lines.RevaluationDecrementAccount = li_DecAccount
lMaterialRevaluation.Lines.Add()
Next
Dim li_Ret As Integer
li_Ret = lMaterialRevaluation.Add
If li_Ret = 0 Then
MsgBox("Material Revaluation Completed")
System.Runtime.InteropServices.Marshal.ReleaseComObject(lMaterialRevaluation)
Else
oCompany.GetLastError(lErrCode, sErrMsg)
MsgBox(sErrMsg & ", Material Revaluation failed")
End If
Can you or any one else suggest where the error lies.
Thanks & with regards
Aloke
Edited by: ALOKE BANDYOPADHYAY on Jul 5, 2011 3:01 PM -
Oracle BPEL Protlet using Workflow API
hi,
Can we develop remote portlet using Oracle Workflow API? If so can you tell me how can we do this?
Thanks,
GomathiFor the Java API, please take a look at the Java Doc in c:\orabpel\docs. You can also learn about those API by looking at the implementation of the BPEL console (given that the BPEL console is built mostly on the public API of the engine. There are also a few tutorials (02.Invoking A BPEL Process) which highlight how one can invoke a BPEL process through the Java API both locally and remotely).
Edwin -
Room creation error using Room API
Hi Experts.
We're triying to create a collaboration room through Room API
As a previous step a standard template copy was created (SAP_Information_Site_2) to be used in the room creation through API.
In this template we defined one parameter (FolderPath) which sets the KM navigation path of a specific folder and then we made the mappings of this parameter into the views used by template to show documents.
When Room is created using "Room creation wizard" we set name, description, category, template (SAP_Information_Site_2), FolderPath, etc. this way everything is OK.
The problem is triying to create it when generating the room througn a Webdynpro using Room API, afeter we set all same parameters the room is created with no errors. but despite having put all the parameters like those we place using creation wizard the Room API created Room shows the default folderpath and not we have set through API.
We are able to compare both rooms and they shows same properties except the folderpath.
Here the used code:
private void createRoom(){
String strTemplateName = "Techint_Template";
String strRoleName = "Admin";
String strCategory = "Default_Category";
//Get the Rooms 6.0 API Portal Service
IRooms roomsAPI = (IRooms)PortalRuntime.getRuntimeResources().
getService(IRooms.PORTAL_SERVICE_ID);
//Get Template Related Infos
ITemplate template = null;
IRoomRole role1 = null;
IRoomCategoryFactory cf = roomsAPI.getRoomCategoryFactory();
try {
template = roomsAPI.getRoomTemplate(strTemplateName);
role1 = template.getRoomRole(strRoleName);
//Get an empty RoomInfo object
IRoomInfo roomInfo = roomsAPI.getRoomCreationInfo();
//Fill RoomInfo object with values
roomInfo.setName(wdContext.currentFormDataElement().getProjectCode().trim()+" - "
+wdContext.currentFormDataElement().getRevisionNumber());
String strDescription = wdContext.currentFormDataElement().getTechintDocument();
if (strDescription!=null && strDescription.length()>0)
roomInfo.setDescription(wdContext.currentFormDataElement().getTechintDocument());
else
roomInfo.setDescription(wdContext.currentFormDataElement().getProjectCode().trim()+" - "
+wdContext.currentFormDataElement().getRevisionNumber());
roomInfo.setTemplateName(strTemplateName);
roomInfo.addRoomParameter("FolderPath", "FolderPath",strRevisionFoldePath, false);
//asign the room category
IRoomCategory objRoomCategory = cf.getDefaultRoomCategory();
IRoomCategory objRCA[] = {objRoomCategory};
roomInfo.setCategories(objRCA);
//Set User Role Assignments
com.sap.security.api.IUser owner = UMFactory.getUserFactory().getUserByLogonID("km_user");
roomInfo.setOwnerId(owner.getUniqueID());
roomInfo.addUserToRole(owner.getUniqueID(), role1);
//Finally Create the Room
IRoomDataElement objRoomDE = wdContext.createRoomDataElement();
if(roomInfo.validate()){
IRoom newRoom = roomsAPI.createRoom(roomInfo, true);
objRoomDE.setRoomLink(newRoom.getRoomAccessURLExternal());
}else{
RoomCreationValidationErrors[] errors = roomInfo.getValidationErrors();
for (int i=0; errors.length>i;i++){
logWebDynproMessages(IS_LOG_ENABLED,
//ILoggingConstants.INFO,
4,wdComponentAPI.getMessageManager(),
"ErrorRoom: "+errors<i>.getShortText(), false);
objRoomDE.setRoomLink("ERROR");
wdContext.nodeRoomData().addElement(objRoomDE);
logWebDynproMessages(IS_LOG_ENABLED,
//ILoggingConstants.INFO,
1,wdComponentAPI.getMessageManager(),
"Se creo el room asociado al proceso/revision:"+strRevisionFoldePath, false);
} catch (TemplateInstantiationException e) {
printException(wdComponentAPI.getMessageManager(), e);
e.printStackTrace();
} catch (NoSuchRoleException e1) {
printException(wdComponentAPI.getMessageManager(), e1);
e1.printStackTrace();
} catch (UMException ex){
printException(wdComponentAPI.getMessageManager(), ex);
ex.printStackTrace();
} catch (RoomCreationException ex){
printException(wdComponentAPI.getMessageManager(), ex);
ex.printStackTrace();
} catch (NoSuchRoomCategoryException ex){
printException(wdComponentAPI.getMessageManager(), ex);
ex.printStackTrace();
} catch (Exception ex){
printException(wdComponentAPI.getMessageManager(), ex);
ex.printStackTrace();
This code was created using the following directions
http://help.sap.com/saphelp_nw04s/helpdata/en/7d/c69c42d706c66ae10000000a155106/content.
Any help will be really appreciated and accordingly rewarded
Thaks in advance,
Ramien.-Hi Venkat,
did you check the Initial Configuration Tasks ? especially the portal permisions...
http://help.sap.com/saphelp_nw04/helpdata/en/f6/2604f005fd11d7b84200047582c9f7/content.htm
and there is a SAP Note which references a How To Guide for configuring permissions. The Note number is 766765 and the document it references is "How To... Configure Permissions for Initial Content in SAP Enterprise Portal 6.0 SP9 & Higher."
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
Is it possible to use flickr API to retrieve my photoset RSS feeds using AS3?
I used API feeds - flickr.photosets.getPhotos (www.flickr.com/services/api/flickr.photosets.getPhotos.html)
1) URL I typed in my internet browser to test if this url works: api.flickr.com/services/rest/?method=flickr.photosets.get...
Conclusion: No this URL shows nothing at all
2) URL I typed in my internet browser to test if this url works: api.flickr.com/services/rest/?method=flickr.photosets.get...
Conclusion: Yes this URL shows some results that I wanted to see
So I'm wondering, does flickr.photosets.getPhotos support format=feed-rss_200?
Because I need to retrieve all the photos in my flickr photoset album using RSS. Are there any alternatives or solutions for this?thanks for your help
i looked through the applications developers guide
the basics behind advanced queueing (as far as i understand) is:
program A inserts a message into the queue - and program B gets message from the queue and processes it
question 1:
but what is the difference between advanced queuing and a queue i create by myself
(simply with a database table) and let application B (which runs in a loop)
check if the queue is filled
or am i missing something important which makes advanced queuing more practicable for my problem?
question 2:
you wrote about advanced queuing support in iFS 9.0.3, but the newest version i found was iFS 9.0.2
did you reffer to the advanced queuing mechanism in general or to a spezial queuing feature in iFS 9.0.3?
thanks -
I am encountering an error while running a big job of about 2.5million records running thru the EDQ cleansing/match process.
Process failed: A database error has occurred : Ran out of memory retrieving query results.. (Code: 200,302) (Code: 209,879)
The server has 8gb memory with 3gb allocated to Java for processing. I could not see any PostgreSQL configuration files to tune any parameters. Need some help with configuring the PostgreSQL database I guess. Appreciate any suggestions!!Hi,
This sounds very much like a known issue with the latest maintenance releases of EDQ (9.0.7 and 9.0.8) where the PostgreSQL driver that we ship with EDQ was updated to support later versions of PostgreSQL but has been seen to use huge amounts more memory.
The way to resolve this is to change the PostgreSQL driver that ships with EDQ to the conventional PostgreSQL version:
1. Go here PostgreSQL JDBC Download and download the JDBC4 Postgresql Driver, Version 9.1-902.
2. Put this into the tomcat/webapps/dndirector/WEB-INF/lib folder
3. Remove/rename the existing postgresql.jar from the same location
4. Rename the newly downloaded driver postgresql.jar
5. Restart the 3 services in the following order: Director database, Results database, Application Server)
With this version of the driver, the memory issues have not been seen.
Note that there are two reasons why we do not ship this driver as standard, so you may wish to be aware of the impact of these if you use the standard driver:
a. Drilldown performance from some of the results views from the Parse processor may be a little slower.
b. There is a slim possibility of hitting deadlocks in the database when attempting to insert very wide columns.
Regards,
Mike -
Error in Workflow Services API acquireTask when using local EJB protocol
Hi,
I have a stateful EJB which calls the workflow services API acquireTask to acquire a task. The task was retrieved using a queryTask API call. However, the acquireTask API fails with an exception at TaskServiceLocalClient.java:1152, as listed below in the log, with no clear message as to why it had failed.
The stateful EJB calls to workflow API using the local EJB protocol.
The version of SOA suite running is 10.1.3.1 with Oracle XE 10.2.0.1 as its dehydration store on Windows XP Professional version 2002.
Just wondering if anyone has encountered this problem or know what might have caused this.
Exception trace is below:
/09/2007 09:23:31 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
au.com.unico.server.BPELException
at oracle.bpel.services.workflow.task.client.TaskServiceLocalClient.acquireTask(TaskServiceLocalClient.java:1152)
at au.com.unico.server.WorkflowBean.acquireTask(Unknown Source)
at au.com.unico.server.WorkflowBean.fetchTask(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
at Workflow_RemoteProxy_2ooecl0.fetchTask(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)Hi Nicolas,
It turned out I had the wrong version of "xml.jar" on the classpath. I have swapped the incorrect jar for a correct one and changed my code to use XMLUtil.createDocument(); and now everything runs smoothly.
Thank you very much for your helpful advice.
/emil -
How do you use BOBJ SDK to retrieve the results of a query in XML
I am trying to programatically get the results of a query given the query id
My old code used BusinessObjects Enterprise Web Services API to Retrieve a document's contents
DocumentInformation biDocInfo;
RetrieveData retBOData = RetrieveData.Factory.newInstance();
Action[] actions = new Action[1];
retBOData.setRetrieveView(xmlView);
biDocInfo = rEngine.getDocumentInformation(queryId, null, actions, null, retBOData);
(XMLView) biDocInfo.getView();
Is there an equivalent way to retrieve the results of the query using SAP BusinessObjects BI 3.x Developer SDK Library ?
Thanks for any informationHello.
Are you wanting to use the BusinessObjects Enterprise SDK along with the Report Engine SDK as opposed to using the Web Services SDK that you were using previously?
Also, what part of a webi document are you trying to get the XML format of?
- Whole document
- Single report within a document
- Report page of a report
- Report part within a report
- All data providers
- Single data provider
If you are trying to use Business Objects Enterprise along with the Report Engine SDK, there are numerous samples for the various parts of the webi document that I mentioned above available at the following link:
http://wiki.sdn.sap.com/wiki/display/BOBJ/JavaReportEngineSDKSamples
I hope that this information helps.
Regards.
- Robert -
An error occurred during olap API metadata retrieval. This is probably caus
this is what i have done so far. i really nead some help asap!!!
1. Install Oracle 9i Release 2 (9.2.0.1) Enterprise Edition with the General purpose database configuration (Data warehouse works as well). At the end of the installation I chose the password management button to change passwords for the few necessary accounts: SYS, SYSTEM, OLAPSYS, SH.
2. Download the p3948480_9206_WINNT.zip from metalink, the 9.2.0.6 patchset
3. Shut down any existing Oracle9i database instances with normal or immediate priority. Stop all listener and other services running in the Oracle home directory where you want to install the patch set.
4. unzip the content of thepatch to a temp directory
5. start setup.exe under the temp directory (it will start the Oracle Universal installer 10.1.0.3)
6. install the patchset to your Oracle home, selecting the source in the temp_dir\stage\products.jar file
7. review carefully the post-installation tasks for the patchset:
Review the following sections before upgrading a database (quote from the patchset html readme):
8.2.1.1If JServer is part of the installation ensure that there is at least 10 MB of free space allocated to the SYSTEM tablespace.
8.2.1.2 Check XDB Tablespace Size
For RAC installations, ensure that there is at least 50 MB of free space allocated to the XDB tablespace.
8.2.1.3 Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initialization Parameters
Set the value of the SHARED_POOL_SIZE and the JAVA_POOL_SIZE initialization parameters as follows:
Start the database:
SQL> STARTUP
If necessary, enter the following command to determine whether the system uses an initialization parameter file (initsid.ora) or a server parameter file (spfiledbname.ora):
SQL> SHOW PARAMETER PFILE;
This command displays the name and location of the server parameter file or the initialization parameter file.
Determine the current values of these parameters:
SQL> SHOW PARAMETER SHARED_POOL_SIZE
SQL> SHOW PARAMETER JAVA_POOL_SIZE
If the system is using a server parameter file:
If necessary, set the value of the SHARED_POOL_SIZE initialization parameter to at least 150 MB:
SQL> ALTER SYSTEM SET SHARED_POOL_SIZE='150M' SCOPE=spfile;
If necessary, set the value of the JAVA_POOL_SIZE initialization parameter to at least 150 MB:
SQL> ALTER SYSTEM SET JAVA_POOL_SIZE='150M' SCOPE=spfile;
If the system uses an initialization parameter file, if necessary, change the values of the SHARED_POOL_SIZE and the JAVA_POOL_SIZE initialization parameters to at least 150 MB in the initialization parameter file (initsid.ora).
Shut down the database:
SQL> SHUTDOWN
8.2.2 Upgrade the Database
After you install the patch set, you must complete the following steps on every database associated with the upgraded Oracle home:
Log on as a member of the Administrators group to the computer where the Oracle components are installed.
Use SQL*Plus to login to the database as the SYS user with SYSDBA privileges:
sqlplus /NOLOG
CONNECT SYS/password AS SYSDBA
Enter the following SQL*Plus commands:
SQL> STARTUP MIGRATE
SQL> SPOOL patch.log
SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
SQL> SPOOL OFF
Restart the database:
SQL> SHUTDOWN
SQL> STARTUP
Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.
SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql
12. Install JDeveloper 9.0.4 (download it from OTN and just unzip it in a directory ... it doesn't require an oracle home)
13. Install BI Beans 9.0.4 (download it from OTN as well), run the setup.exe that comes with it and in the destination oracle home select the directory where you installed JDeveloper and give an oracle home name to it)
14. Install the BIBDEMO schema:
Create a directory on the computer that is running the Oracle9i database. This install_home directory is the location to which you will upload the data files that are required to build the BIBDEMO schema.
On the computer where BI Beans is installed, locate the bibeans_home\bibdemo_schema folder (where bibeans_home is the root folder of your BI Beans installation). Copy all of the files found in this folder to the install_home folder on your server machine.
Open a DOS prompt and navigate to the install_home folder.
Run bibdemo.bat to install the schema, using the following syntax:
bibdemo.bat <path to Oracle database files >
For example, for an instance named my9iService, enter the following:
bibdemo.bat D:\OraHome1\oradata\my9iService
You are prompted for the password for the sys as sysdba user.
The script takes approximately 15 minutes to run, depending on the machine specifications. It is normal to see some error messages while the script is running. In addition, when materialized views are being created in the database, the script will appear to stop; this is also normal. A clear message will tell you when the script has completed.
The log files (*.log) that are generated by the installation script are stored in the folder from which you ran the script.
Here's what
bi_checkconfig.bat -h ana -po 1521 -sid proiect -u bibdemo -p bibdemo -q
returned:
BI Beans Diagnostics(v1.0.2.0) 2/28/05
===============================================================================
JDEV_ORACLE_HOME .......................... = E:\OraDS
JAVA_HOME ................................. = E:\OraDS\jdk
JDeveloper version ........................ = 9.0.4.1.1.1436
BI Beans release description .............. = BI Beans 9.0.4 Production Release
BI Beans component number ................. = 9.0.4.23.0
BI Beans internal version ................. = 2.7.5.32
Connect to database ....................... = Successful
JDBC driver version ....................... = 9.2.0.4.0
JDBC JAR file location .................... = E:\OraDS\jdev\lib\patches
Database version .......................... = 9.2.0.6.0
OLAP Catalog version ...................... = 9.2.0.1.0
OLAP AW Engine version .................... = 9.2.0.1.0
OLAP API Server version ................... = 9.2.0.1.0
BI Beans Catalog version .................. = N/A; not installed in bibdemo
OLAP API JAR file version ................. = 9.2
OLAP API JAR file location ................ = E:\OraDS\jdev\lib\ext
Load OLAP API metadata .................... = Successful
Number of metadata folders ................ = 2
Number of metadata measures ............... = 12
Number of metadata dimensions ............. = 8
Testing sample query for measures and dimensions
(S=Schema, C=Cube, M=Measure, D=Dimension)
1/21) Measure Budget ................... = Successful
S=BIBDEMO, C=BIBDEMO_BUDGET_CUBE, M=BUDGET
2/21) Measure Actual ................... = Successful
S=BIBDEMO, C=BIBDEMO_ACTUAL_CUBE, M=ACTUAL
3/21) Measure Close Price .............. = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_CLOSE
4/21) Measure Open Price ............... = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_OPEN
5/21) Measure Low Price ................ = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_LOW
6/21) Measure High Price ............... = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_HIGH
7/21) Measure Stock Volume ............. = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_VOLUME
8/21) Dimension Division ............... = Successful
S=BIBDEMO, D=DIVISION
9/21) Dimension Line Items ............. = Successful
S=BIBDEMO, D=LINE
10/21) Dimension Time ................... = Successful
S=BIBDEMO, D=TIME
11/21) Dimension Day .................... = Successful
S=BIBDEMO, D=DAY
12/21) Dimension Stock .................. = Successful
S=BIBDEMO, D=STOCK
13/21) Measure Costs .................... = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.COSTS
14/21) Measure Promotion ................ = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.PROMO
15/21) Measure Quota .................... = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.QUOTA
16/21) Measure Units .................... = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.UNITS
17/21) Measure Sales .................... = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.SALES
18/21) Dimension Channel ................ = Successful
S=BIBDEMO, D=CHANNEL
19/21) Dimension Geography .............. = Successful
S=BIBDEMO, D=GEOGRAPHY
20/21) Dimension Product ................ = Successful
S=BIBDEMO, D=PRODUCT
21/21) Dimension Time ................... = Successful
S=BIBDEMO, D=TIME
Metadata output location .................. = E:\OraDS\bibeans\bi_checkconfig\bi
_metadata.txt
To interpret this output, see the "Displaying Information about your Oracle9i Bu
siness Intelligence Beans Client Configuration" technical note, whose file name
is bi_checkconfig_tn.html
These diagnostics are captured in: E:\OraDS\bibeans\bi_checkconfig\bi_checkconfi
g.xml
now: i have created some new stuff:
1). user ana with roles:
-dba
-olap_dba
-connect
-resource
(same roles as bibdemo)
2).schema ana; tablespace ana (permanent), tablespace anatemp (temporary)
3).i have created some relational tables and i have inserted some data in them:
agent, aparat (cofee machines), beneficiar (clients), locatii (city), raport (REPORT), timp (time), tipaparat (types of cofee machines), tipbautura (products : types of cofee made by all the cofee machines), zone (state)
4). one fact table with:
- sold cantity (measure)
- id_bautura (id_product) primary key
- id_timp(id_time) primary key
- id_beneficiar (id_client) primary key
- id_agent primary key
- id_locatie (id_city) primary key
- id_aparat (id_cofee_machine)primary key
i have inserted some data also
5).dimensions:
AGENT_DIM :levels: codag(id_agent), numeag (agent name), telefag (agent phone number)from relational table agent
BENEFICIAR_DIM :levels: codben (id_client), denumire (client name), adresa (adress) ,codl (id_city) etc from relatinal table beneficiar (clients)
TIMP_DIM :levels: id, year, month from relational table timp (time)
TIPBAUTURA_DIM :levels: codbautura (id_product), numebautura (product name)from relational table tipbautura (products)
ZONA_DIM :levels: codzona (id state), numezona (state name), codoras (id city), numeoras (city name) with ierarhy id_state---id_city FROM 2 RELATINAL TABLES CITY AND STATE!!!!!!!! AM I ALOUD TO DO THAT?????
DO I NEED TO CREATE A DIMENSION FROM ONLY ONE TABLE???????
APARAT_DIM :LEVELS: codben (id client), codtip (id machine type), denumireap (machine type name), matricolap ((machine id) (FROM 2 RELATIONAL TABLES ALSO!!!!!!! FROM TYPES OF COFEE MACHINES AND COFEE MACHINES!!!!!
6). I HAVE NOW CREATED THE CUBE FROM THE FACT TABLE AND WITH ALL THE DIMENSIONS
7). summary advisor wizard NOT WORKING! IT NEVER STOPS!
8). I HAVE CREATED ALSO ONE materialized view FOR THE CUBE
IF I COMPILE IT... NO ERRORS
9). CUBE VIEWER NOT WORKING!!!!!!! IT ONLY APEARS A BELL!!!
NOW IF I RUN BI_CHECK CONFIG ON ANA AND ALSO ON BIBDEMO!!!!!!!!!!!!
IT SAYS:
1) An error occurred during olap API metadata retrieval. This is probably caused by inconsistent metadata.
============================================================================
oracle.express.ExpressServerExceptionError class: Unknown Error
Server error descriptions:
INI: System failure, Generic at TxsOqConnection::getDefaultDatabase
at oracle.express.olapi.data.full.ExpressDataProvider.getMetadataProviderInterface(ExpressDataProvider.java:1003)
at oracle.olapi.metadata.MetadataFetcher.initialize(MetadataFetcher.java:73)
at oracle.olapi.metadata.MetadataFetcher.<init>(MetadataFetcher.java:45)
at oracle.olapi.metadata.BaseMetadataProvider.<init>(BaseMetadataProvider.java:47)
at oracle.olapi.metadata.mdm.MdmMetadataProvider.<init>(MdmMetadataProvider.java:130)
at oracle.express.olapi.data.full.ExpressDataProvider.getDefaultMetadataProvider(ExpressDataProvider.java:964)
at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverImpl_92.getMdmMetadataProvider(MDMMetadataDriverImpl_92.java:1133)
at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverImpl_92.attach(MDMMetadataDriverImpl_92.java:810)
at oracle.dss.metadataManager.server.drivers.mdm.MDMMetadataDriverImpl.attach(MDMMetadataDriverImpl.java:125)
at oracle.dss.metadataManager.server.MetadataManagerImpl.buildObjectModel(MetadataManagerImpl.java:1092)
at oracle.dss.metadataManager.server.MetadataManagerImpl.attach(MetadataManagerImpl.java:969)
at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:876)
at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:799)
at BICheckConfig.checkConnection(BICheckConfig.java:277)
at BICheckConfig.main(BICheckConfig.java:1348)
I TRYED ALSO WITH USER ANA WITH ROLES:
- DBA
- CONNECT
-RESOURCE
- OLAP_USER
NOT WORKING! AND ALSO BIBDEMO NOT WORKING!
WHAT AM I MISSING? SHOULD I USE AW MANAGER? OR DO I NEED TO CREATE AN AMNALITIC WORKSPACE???
WHAT ARE THE STEPS TO CREATE A GOOD METADATA????Hi,
The issue here is if the whole catalog is corrupt or just one schema. So to try and determine the status of the catalog I would try:
1) Using OEM remove all the objects you created
2) I presume you created your database using the Database Configuration Assistant? You should have used the warehouse template
3) Make sure the following accounts are unlocked and also not expired : SH, OLAPSYS
4) Make sure the password for the SH schema is SH
5) Make sure the password for the OLAPSYS account is manager
6) Install the BIBDEMO schema that is shipped with BI Beans. This in the jdev_home/bibeans/bibdemo_schema
The installation process will remove SH schema from the OLAP catalog.
7)Once this is installed use JDeveloper to see if you can create a crosstab or graph.
8) If the BIBDEMO schema works try creating your new schemas one at a time.
9) Make sure the if you define the a dimension as type time it has END_DATE (column type DATE) and TIME_SPAN (column type number) defined. Otherwise don't define the dimension as type time.
Hope this helps
Keith Laker
Product Manager
Oracle Business Intelligence Beans -
Workflow API which can be used to avoid sending notification to user
Hi Folks,
We want Workflow API which can be used to avoid sending notification to user for particular type of error.
Say we are using following API which are used to send notification to mailbox as soon as program run into error.
wf_core.context(c_v_package_name
,c_v_func_name2
,p_event.getEventName()
,c_v_task_id_prompt||l_n_task_id
,l_v_msg_data);
wf_event.seterrorinfo(p_event, c_v_result_error);
Now we want to restrict certain type of error to send as a notification however we want to keep this record in wf_notifications table for further investigation.
Thanks and Regards,
Javed KhanMatt,
It looks like another person had a similar question before, see the following thread:
https://supportforums.cisco.com/discussion/9697836/can-use-axl-or-other-api-get-calls-progress
Also, according to the comments seen on that post, I was able to find the JTAPI developers guide, see more information below:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/jtapi_dev/8_6_1/jtapidevguide/overview.html
If this still does not satisfy your question then, the best you can do is post this inquiry on the Cisco Developer Network on the following link:
https://developer.cisco.com/site/devnet/home/index.gsp
Hope this information helps,
Marco Rojas. -
Error while calling Workflow APIs remotely
I have standalone workflow engine. I have created views and workflow packages in another databases. These packages are calling workflow APIs internally using DB Link. I call these packages inside Powerbuilder. I start process from the PowerBuilder, process started successfully. User responded to the notification by logging into powerbuilder, it is also successful.
But when user responds to last notification to END the process, I am getting following error:
ORA-02074: cannot ROLLBACK in a distributed transaction
ORA-06512: at "OWF_MGR.WF_ENGINE_UTIL", line 1263
ORA-02074: cannot SET SAVEPOINT in a distributed transaction
Is it wrong to call Workflow APIs remotely ? Any solution ?
RegardsHi,
I think, we had the same problem and was resolved by the following approach:
1. define the external function call within one transaction unit...can use pragma.
2. commit the transaction and then close the DB link using alter session....
Suprabhat.
Maybe you are looking for
-
It seems I've created a password for iTunes, one for iCloud, etc. How do I create one ID for all functions on my Macbook Pro?
-
Hello Experts, We are in the process of HANA Standalone implementation and design studio as reporting tool. When I am modeling, I did not figure out answers to some of the below questions .Below are the questions. Experts, please help. Best way of mo
-
Problem in sending mails to multiple recipients
Hellow ABAP gurus, i am stuck in a problem, where cannot send the mail to multiple reciepients. actually i am adding recipients one after another, the email address is popualted already.just tell me if i am doing anything wrong..its not giving me an
-
Updated to 10.10.3 and now iPhoto won't open
I upgraded the OS 10.10.3 and now iPhoto won't open. It says "the version of iPhoto installed on this Mac is not compatible with OS X Yosemite. Download the latest version for free from the Mac App Store." However, when I go to the Mac App Store, t
-
I cant get a DVD to work on my MacBook Pro even though I have iDVD!