BPM java api which accept task by push machniasm
Hi All,
I want to expose web service , which will get task from bpm. I can pull task from bpm for loggedin user, is there any way bpm will push task to this service ? Any api available ?
Hi Arvind,
If you are looking for code to get the current logged in user all the task just like in the Uwl or bpm inbox then it is possible.
Kindly refer to the document link provided below.
How to get All Task of a user to design your custom UWL using BPM API as a rest full service.
Refer to Step 5 in the document you will find the code you are looking for.
Cheers
Piyas
Similar Messages
-
Oracle BPM Java API - getting informations about process activities
Hi
I have a problem with Oracle BPM Java API, can someone help me?
I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
I did some tests, below a piece of code of my test:
IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
List<ProcessMetadataSummary> processMetadataSummaryList =
processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
return;
ProcessMetadataSummary processMetadataSummary = null;
for (ProcessMetadataSummary summary: processMetadataSummaryList) {
if (summary.isIsDefaultRevision()) {
processMetadataSummary = summary;
break;
if (processMetadataSummary == null)
processMetadataSummary = processMetadataSummaryList.get(0);
IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
Sequence<UserTask> activities = process.getActivities(UserTask.class);
for (UserTask activity: activities) {
System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
There is another way to get this information?
Thank'sHi
I have a problem with Oracle BPM Java API, can someone help me?
I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
I did some tests, below a piece of code of my test:
IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
List<ProcessMetadataSummary> processMetadataSummaryList =
processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
return;
ProcessMetadataSummary processMetadataSummary = null;
for (ProcessMetadataSummary summary: processMetadataSummaryList) {
if (summary.isIsDefaultRevision()) {
processMetadataSummary = summary;
break;
if (processMetadataSummary == null)
processMetadataSummary = processMetadataSummaryList.get(0);
IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
Sequence<UserTask> activities = process.getActivities(UserTask.class);
for (UserTask activity: activities) {
System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
There is another way to get this information?
Thank's -
Hi all,
I want to use JCO API to connect to R/3 and call my BAPI (i.e, I am not using the JCO destination which we normally create in Web dynpro content administartor screen). This is specially for MODEL DATA (i.e., to get the application data).
I found the following API which works :-
JCO.Client C = JCO.createClient(client, userid, pwd, null, system name, system number);
C.connect();
< execute the BAPI >
C.disconnect();
Other than this, Is there any JCO API which accepts a system (which we create in the portal under system admin role) and returns a client object or gives a conneciton directly??
Any info on this would be of great help.
Regards,
NarahariHi,
SAP had CCI with its own APIs which will solve this purpose..
Check this .This is one code i have used,, this should help..
IConnectorService service = (IConnectorService)PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
IConnectorGatewayService cgs = (IConnectorGatewayService)service;
ConnectionProperties cp = new ConnectionProperties(request.getLocale(),request.getUser());
try {
IConnection conn = cgs.getConnection(system name,cp);
Interaction ix = conn.createInteractionEx();
IInteractionSpec ixspec = ix.getInteractionSpec();
ixspec.setPropertyValue("Name","BAPI_SALESORDER_GETLIST");
//---------------------------------//For scalar values
RecordFactory rf = ix.getRecordFactory();
MappedRecord input = rf.createMappedRecord("input");
input.put("CUSTOMER_NUMBER","0000001000");
input.put("SALES_ORGANIZATION","1000");
MappedRecord output =(MappedRecord) ix.execute(ixspec,input);
IRecordSet res =(IRecordSet)output.get("SALES_ORDERS");
Regards
Bharathwaj -
How to query Task via instanceId as argument in Oracle 11g BPM Java API ?
hi,
Is any one successful of getting Task Object with InstanceId as argument using TaskQueryService or InstanceMangementService ? If So please provide the API.
I am actually looking to assign a task to participant via JAVA api .
ThanksYou will have to query the base tables which are
OE_ORDER_HEADERS_ALL and
OE_ORDER_LINES_ALL -
Access to BPM Task/Process CONTEXT data with the BPM Java API
Dear all,
is there a possible way to extract the content data from a process Instance? We want to read out all the data of the current intstances from a backend system. The API CE7.3 SP3 supports only (or we didn't find it) Instance Header data (like start-time,..)
Regards,
ChristianHi
There's no straight way to retreive process instance context variables.
But In my mind, there is a hack way - find appropriate tables in oracle db, where BPEM stores information about process instances and read it with jdbc. -
Oracle Spatial 10g R2 Java API
Hi All,
I have a JAVA tool said to be written for Oracle Spatial 10g R2 Java API which uses for example the class oracle.spatial.georaster.JGeoRaster. I have to port it to 11g R2. The tool is definitely written for an earlier version, because compilation fails on for example JGeoRaster.getProperties() method which is not present in the new API. For this new API I have a fine Javadoc documentation here:
http://download-llnw.oracle.com/docs/html/E11829_01/
I have searched for a similar one for 10g R2 but found only like
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14373/toc.htm
which misses the oracle.spatial.georaster package. Is there such a package and if so, where can I find docs for it?
thank you in advance, best regards: Balázs BámerHi Balázs,
the GeoRaster Java API was first released with 11gR2. Your first link points to that, or this link:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11829/toc.htm
your second link points to 10g Oracle Spatial Java API, which doesn't include any GeoRaster related API. your tool might have been developed based on the old INTERNAL georaster jar file, which is not supposed to be used by your java program. But if you do want the api doc, you can run javadoc or jdeveloper to find out the api from the old sdogr.jar file.
jeffrey -
Java API to fill in a MS Word file template
Ola,
Please help me on the following topic:
I need a kind of Java API which allows me to read Ms Word 2003 .doc files, replace a few strings/keywords and save the doc back.
Ideal feature would also be to allow me in the end to convert to TXT or RTF, after the strings have been replaced.
A first search on Google takes me to Apache POI, but the api looks really heavy for a beginner.
Do you have any other suggestions for another API? I do not mind if not open-source.
Thanks.FileInputStream fis = new FileInputStream(new File("/cory/test.doc"));
FileOutputStream fos = new FileOutputStream(new File("/cory/my_result.pdf"));
officetools.OfficeFile f = new officetools.OfficeFile(fis,"localhost","8100", false);
f.replaceAll("Yahoo","Google"); // will replace all string Yahoo with string Google -
Hi,
I am looking for a third party Java API which i can use to connect to a CVS repository and perform code synch up operations with the repository. If anybody has any informations. Pls let me know.
Thanks.Thanks for the reply. I did try jcvs. I am still trying to get it running in my system. That apart, i am not sure if jcvs exposes any of its API's that I could use to connect to a CVS repository. I did not find any API documentation with it. I am finding it painfull to go thru its source code to find out what its core classes are and how I should call them.
Anyways, there should be other third party APIs in the www. And I need to get my hands on them.
Pls help !! -
Hi,
we are calling mdm java methods from webdynpro code.
We are executing java successfully from main method. but,when we try to execute it from webdynpro we are getting the follwing error.
What this exception means to mdm?
Unexpected exception:Unexpected field type -1Hi Ramu,
the specified exception may be due to wrong fieldCode or Table Code in MDM Java API which you are using ;
As per my understanding, you might be searching for MDM data from WebDynpro,so look at your resultset or Search object building , some where you coded with wrong FieldCode;
problem may not be at your WebDynpro but may be at your MDM JAVA API Code;
give detail information on your question, if you have still problem on that;
regards
Rajasekhar k -
Dear all,
I have to implements custom components based on Orace BPM.
Currently I have made a POC using BPM JAVA API but it's complicated to find a good documentation.
Does anybody knows where I can find this documentation?
ThanksThis is what you might need
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_workflow.htm#BACHEFDH -
Hi,
I am using SAP MDM 5.5 SP05. Can someone guide me on how to install MDM Java API.
I referred to many threads on SDN but couldn't get through any.
I have already downloaded the java API which has one .sca file and two folders, each has some .jar files and javadoc folder.
Kindly help on how should i go with it.
Regards,
Chintan ShethHi Chintan,
You wont install MDM Java API as u install your MDM server or client.
<b>What the use of the MDM Java API?</b>
1. Stand-alone Java Applications.
U can use MDM java API for your stand-alone applications that runs locally on your PC etc... For this you can import the MDM Java jar file into to the library of yourstand alone java application project.
2. J2EE Application or custom MDM iview in EP or SAP Webdynpro Apllication.
U can deploy the .sca file in the SAP WAS Java using the SDM client and u can extend the MDM Java API in your J2EE Application or custom MDM iview in EP or SAP Webdynpro Apllication
get back for help...
Regards,
Vijay -
Is there any Java API to interact/integrate with Adobe LiveCycle Policy Server
Hi,
We are already using Adobe LiveCycle Policy server & has manual process in place to send documents to clients.
Going forward we want to automate this document generation process. We are using Java, JEE in our application.
We are planning to use below steps to automate this process.
1) Administrator will create a Template in Adobe Policy Server and will map users intended to receive mails with this template
2) Our application will interact with Adobe Policy Server and use Template ID to generate PDF document and send mails to client.
Can anyone please let me know if there is any Java API which can be used to perform the above second step.
Thanks a lot for your help.
Best Regards - RoyHi Steven,
What you refer to is PDF Generator version 7.x Postscript edition.
In version 7 of the product there were 3 editions:
1. PDF Generator Professional
Create PDF files from a wide range of source files:
Print (PS, EPS, PRN)
Image (JPG, GIF, BMP, TIFF, PSD)
Standard office formats (DOC, XLS, PPT, WPD, MPP)
Text (TXT, RTF)
Web (HTML)
Design files (DWG, VSD)
Generate all types of Adobe PDF file formats:
PDF 1.3, 1.4, 1.5, 1.6
PDF/X-1a and PDF/X-3 for prepress document exchange
PDF/A for archiving with easy search and retrieval
Searchable PDF files from images
Convert PDF files to:
HTML documents
Text (TXT, RTF, accessible)
Images (TIFF, PNG, JPEG)
Print (PS, EPS)
2. PDF Generator Elements
Create PDF files from a wide range of source files:
Print (PS, EPS, PRN)
Image (JPG, GIF, BMP, TIFF, PSD)
Standard office formats (DOC, XLS, PPT, WPD, MPP)
Text (TXT, RTF)
Web (HTML)
Design files (DWG, VSD)
Generate all types of Adobe PDF file formats:
PDF 1.3, 1.4, 1.5, 1.6
PDF/X-1a and PDF/X-3 for prepress document exchange
PDF/A for archiving with easy search and retrieval
Convert PDF files to:
HTML documents
Text (TXT, RTF, accessible)
Print (PS, EPS)
3. PDF Generator Postscript
Create PDF files from a wide range of source files:
Print (PS, EPS, PRN)
Generate all types of Adobe PDF file formats:
PDF 1.3, 1.4, 1.5, 1.6
PDF/X-1a and PDF/X-3 for prepress document exchange
PDF/A for archiving with easy search and retrieval
So basically what you have is the very limited edition, doing exactly what you said. For more functionality you should opt for one of the other editions (that for version 7.x)
Today's version is the newer LC PDF Generator ES. You can look for its specifications at http://www.adobe.com/products/livecycle/pdfgenerator/
Thanks -
Hi,
Currently I am getting inputs from another composite, lets say Composite A and in composite B I need to pass the input values ( approx 40 elements are coming from composite A) to Java API ( end system). I have jar file for java API which has 20 different classes. Can you guys suggest me how to map the input values that are coming from composite A to Java API.
I developed a Bpel process which receives the input from Composite A. Please suggest me for next steps and procedure to follow.
Thanks.I would look into using the Spring component and wrapping your java api in a simple sprint bean class. SOA will then generate WSDL's and do marshalling/unmarshalling of the data between your BPEL and the spring component automatically. It will just look like another service call from within the BPEL but will actually invoke your spring component.
Thanks,
Adam DesJardin -
Best option to push Mass data using Java API
Hi All,
Can any one let me know how Java API push data to MDM? Is it a good option when ti comes to perfromance point of view? We have around 2000/5000 records to be imported every time using Java API and wondering what would be best way to acheive this using Java API?
Is java API is best option than Web services?
Thanks
RajeevRajeev,
It is perfectly fine to use API to push data into MDM, you just need to make sure that your API does all those tasks which import manager does by default. For example, it should know when to insert and when to update. if an error happens during insertion of record, you should be able to notify the users.
Having said that, where does the number 2000/5000 comes in? will you be creating users in batch and then invoke MDM API to store these in a single shot or willl it be a delta insert/update from Java to MDM?
Thanks
Aamir -
BPM 11g: JAVA API and Webservice API
Who knows BPM 11g: JAVA API and Webservice API?
Customer want to call BPM 11g between Heterogeneous systems, such .net framework. One way is use webservice API, I think, but where can find it? thank youWhen you create a BPM application in 11g, you're actually creating a SOA composite application with a BPMN component in the composite. From within the BPMN editor, you can specify the interface (parameters) of each start node in the process. If you select a start node, look at the implementation tab, you'll see a properties group that lets you define the interface one property at a time, or by selecting an interface from the catalog.
By defining these properties you're also defining the shape of the Web Service interface that will automatically be created in the composite. If you switch to the composite view, you'll see your BPMN process with a wire to it from a Web Service that's generated from the interface defined in the BPMN editor. The naming convention is the BPMN process name with ".service" appended. When you deploy the BPMN process, the web service will also be deployed, since it's also part of the composite. From Enterprise Manager (EM) you can test the service and get the WSDL, which could be used by other applications (e.g. .NET) to start and interact with a process instance.
This is one of the advantages of the 11g architecture. The composite exposes services to consumers/clients. The implementation could have been BPEL, BPMN, a Mediator, Java/EJBs, or any combination working together. To the consumer, it's just a web service.
In case your next question was about security ... you won't see properties about security in the BPMN editor. You use Web Service Manager to apply security or other constraints to the web service endpoint.
Maybe you are looking for
-
Dear All, I want following column wise Production Report (From Production Order) WARE HOUSE UOM COMPLETED Date(1,2,3,4,5,6,......31 ) Completed Qty. total qty Basically i want Pivot (dynamic) by date SELECT T0.[Warehouse], T0.[Uom], T0.[DueDate], T
-
Creating a powerview in sharepoint browser can be tedious, but it is a lot more convenient in the desktop Excel 2013. However, when you upload the excel document (where data source is SQL server) to sharepoint, there are two problems: 1. The powervi
-
How can I download to my pc a conversation recorded in my iPod Touch using the voice notes????
-
How to set default 'location' in Serial number setup
Hi Expert, We are using SAP B 8.81 PL-10. we want to set by default location like "Bangalore" In Serial Number setup.How can we do this.Please suggest me. Thanks & Regards Alok Kumar
-
Database Dropdown Population - Newbie, please help
Hi, I am having problems populating a dropdown list in a jsp page with mulitple entries from a database. Can anyone please help me with the code or point me in the right direction. Im am using the oreily custom tags. The page is as follows. <%@ page