HTML Process API
I am trying to pass arguments to a BPL method using the 'RUN_ITEM' action. I set up the arguments (argument1 and argument2) in the 'reply' task. The task runs fine, however the arguments are not getting passed. My HTML form code is as follows:
<br> <br>
<i><HTML>
<form method="post" ACTION="http://localhost:8585/workspace/servlet/ExecutionDispatcher">
<INPUT TYPE="hidden" name="actionId" value="RUN_ITEM" /> <br>
<INPUT TYPE="hidden" name="fuego.portal.useNESession" value="true"/> <br>
<INPUT TYPE="hidden" name="fuego.portal.logoutURL" value="../instanceActionsLogoutOk.html"/> <br>
<INPUT TYPE="hidden" name="fuego.portal.logoutURLError" value="../instanceActionsLogoutError.html" > <br>
<INPUT TYPE="hidden" name="taskDesc" value="reply"/> <br>
<INPUT TYPE="hidden" name="itemId" value="0"> <br>
<INPUT TYPE="hidden" name="instanceStampId" value="/NoticeLetter#Default-1.0/36/0/Reply"><br>
Argument1:<input type="text" name="arg_argument1"><br>
Argument2:<input type="text" name="arg_argument2"><br>
<INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Submit" />
</form>
</HTML></i>
<br>
<br>
Can arguments be passed to Method Arguments of Interactive activities or only to Global activities?
<br>
Thanks
it is only possible to pass arguments to global activities.
the way is simple:
<form method="post" ACTION="http://localhost:8585/workspace/servlet/ExecutionDispatcher">
<INPUT TYPE="hidden" name="actionId" value="RUN_GLOBAL" />
<INPUT TYPE="hidden" name="fuego.portal.useNESession" value="true"/>
<INPUT TYPE="hidden" name="taskDesc" value="Interactive"/>
<INPUT TYPE="hidden" name="itemId" value="0"/>
<INPUT TYPE="text" name="activityId" value="/Process#Default-1.0/Global"/>
Argument1:<input type="text" name="arg_arg1" value="aa">
Argument2:<input type="text" name="arg_arg2" value="11">
<INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Submit" />
</form>
If you want to fill a RFE, contact support.
MAriano
Benitez/BEA/BPM/Beautiful
Similar Messages
-
Hi All,
I want develop a iPhone native application. In which i want integrate a payment gateway (credit card processing). When user will click on pay button application will ask for credit card information and send that information to any payment terminal. After completion of payment will get the response and show to the end user.Payment will go to the merchant account from various users from their iPhone.
so is there any payment processing apis available in 3.0 os
Regards,
VinodGo here and find out: http://developer.apple.com/iphone/
-
How to update the Process-Instance Variable Using Process API in OBPM 10.3?
Hi All,
I have a requirement to update the the process Instance variable from another process, but I am unable to find any method to update or set variable?
I try the same using Process API also but no luck. Please provide me the code or link to implement same.
Thanks & Regards,
AnkurHi,
I have followed the procedure which was updated above.
I ahve the sample to update the variable in the another instance of the another process. it's working fine. But I have followed the same procedure in our project it's giving the below exception at notification.send() method. Please help me to resolve this. thank you.
fuego.transaction.DatabaseException: An error occurred while accesing the database.
Detail:SQL statement: ' SELECT INSTANCEDATA, PROCESSID, INSTID, THREADID, NAME, PARENTTHREAD, PRIORITY, CREATIONTIME, AUTHOR, PARTICIPANT, NEXTPARTICIPANT, PROCESSDEADLINE, ACTIVITYDEADLINE, RECEIVETIME, ACTIVITYNAME, NTHREADS, CTHREADS, FCTHREAD, TOTALTHREADS, STATE, SOURCEACTIVITYNAME, ROLEIN, PENDINGITEMID, LASTRESULT, ITEMDEADLINE, NCHANGES , NREMARKS, NATTACHMENTS, HASPARTFORROLE,MICROACTIVITYNAME, V_REF_NO, V_TASK_ID, V_TASK_STATUS FROM PPROCINSTANCE WHERE PROCESSID = 63 AND INSTID = 1996 AND THREADID = 0 FOR UPDATE'
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.load(JdbcProcessInstancePersMgr.java:1640)
at fuego.server.persistence.Persistence.loadInstance(Persistence.java:827)
at fuego.server.AbstractInstanceService.readInstance(AbstractInstanceService.java:764)
at fuego.ejbengine.EJBInstanceService.getLockedROImpl(EJBInstanceService.java:218)
at fuego.server.AbstractInstanceService.getLockedROImpl(AbstractInstanceService.java:879)
at fuego.server.AbstractInstanceService.getLockedImpl(AbstractInstanceService.java:730)
at fuego.server.AbstractInstanceService.getLockedWaiting(AbstractInstanceService.java:219)
at fuego.server.AbstractInstanceService.getLockedWaiting(AbstractInstanceService.java:199)
at fuego.server.execution.AbstractReceiveNotificationExecutionHandler.getLockedTargetInstance(AbstractReceiveNotificationExecutionHandler.java:223)
at fuego.server.execution.AbstractReceiveNotificationExecutionHandler.receiveNotification(AbstractReceiveNotificationExecutionHandler.java:96)
at fuego.server.AbstractProcessBean$41.execute(AbstractProcessBean.java:2776)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
at fuego.server.AbstractProcessBean.receiveNotification(AbstractProcessBean.java:2757)
at fuego.server.iec.LocalIPCHandler.sendNotification(LocalIPCHandler.java:79)
at fuego.server.execution.microactivity.DefaultSendNotificationExecutionHandler.sendNotification(DefaultSendNotificationExecutionHandler.java:103)
at fuego.server.NotificationComponent.sendNotification(NotificationComponent.java:95)
at fuego.server.AbstractProcessBean$49.execute(AbstractProcessBean.java:3270)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.server.AbstractProcessBean.sendComponentNotification(AbstractProcessBean.java:3266)
at fuego.server.AbstractProcessBean.sendComponentNotification(AbstractProcessBean.java:3252)
at fuego.components.Notification.send(Notification.java:148)
at xobject.EPCS.PAction.collateTask(PAction.xcdl:34)
at oracle.TRReview.Default_2_0.Instance.CIL_poReview(Instance.xcdl:25)
at oracle.TRReview.Default_2_0.Instance.CIL_poReview(Instance.xcdl)
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:597)
at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1082)
at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1277)
at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:401)
at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:425)
at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:513)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3204)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3208)
at fuego.ejbengine.EJBProcessControlAdapter.runTask(EJBProcessControlAdapter.java:1162)
at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl.runTask(EJBProcessControl_1zamnl_EOImpl.java:4463)
at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-02049: timeout: distributed transaction waiting for lock
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
at weblogic.jdbcx.base.BasePreparedStatementWrapper.executeQuery(Unknown Source)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:128)
at fuego.jdbc.FaultTolerantPreparedStatement.executeQuery(FaultTolerantPreparedStatement.java:598)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.load(JdbcProcessInstancePersMgr.java:1627)
... 69 more
BatchOperationException fuego.papi.exception.CannotStoreNotificationException: An instance in Process '/Division#Default-2.0' could not be notified.
Regards,
Sudhakar. -
I'm using Lookout 4.0.1(build 51) and running Win98SE and I want to view my second html process in my company intranet using IE ver.6
Thanks Cyril,
I've already implement sequencer object at my process server based on your attachment and it works perfectly.So my problem have already 90% settle except
I still cannot do the DDE over the network to connect
my excel file in server to my Lookout process.I follow your link and found the articles about how to connect DDE over the network and try to implement but it fail.
Anyway I'll try it again.So Cyril,thank you very much for your kindness support and sent my regards to Mr.Pravin Borade and Mr.Michael Shasteen.Not forget Mr.Roland (Roli). -
Text/html processing error with Acrobat Reader when sending to database
Hi everyone,
I have a problem that occurs in certain versions of the Acrobat Reader, with Acrobat Professional the error message does not pop up.
In Acrobat Reader however, when sending the form to a php file to fill a database an error pops up
"Content type text/html couldn´t be processed"
Nevertheless it works fine, except the fact that the confirmation "successfully sent" that should pop up (and does in Acrobat Professional) does not appear due to this processing error. What can I do?
Thanks for supporting!Hi,
I'll only attempt the first part:
See this discussion where event.target.path.toString().substring(0, 4); was used to get the first four letters of the path. If that equalled "http", then the form was opened in a browser.
http://forums.adobe.com/message/2840942#2840942
I can't contribute on the other issues.
Niall -
Duplicate cart process API in oracle R12
Hi all,
I will working on istore implementation process in R12. I have the requirement like Copy cart or duplicate cart in istore. Can you please guide me the Which PLSQL API is used to make the copy cart or duplicate cart process in istore.
Please guide Which API used for Duplicate cart process in R12.
Thanks
PrabPlease try the below Order Capture API
ASO_QUOTE_PUB.Copy_quote
There are no iStore API, Oracle iStore uses Order Capture APIs to create cart(quote) and to create order (SO) from quote.
Please do some analysis on the API ASO_QUOTE_PUB.Copy_quote, you would be able to achieve your requirement.
Thanks
Pradeep -
Has the process API for bpel 11g released?
my customer want to suspend the process when exception occur and resume the process with API, any one know how to do it?
I know there are API for bpel 10g, but I found nothing for 11g. pls help, thanks.Hi,
http://docs.oracle.com/cd/E17904_01/integration.1111/e10226.pdf
Search for 'Programmatically Managing SOA Composite Applications'
Thanks,
Vijay -
Confused about Java Image Processing APIs
I'm working on a Java application to which I'd like to add some advanced visual effects. Specifically, I'd like to make the application UI "dissolve" away when a specific selection is made. (See this link - http://www.anfyteam.com/anj/deform/deform.html - for an example of the effect I'm trying to emulate.)
I believe I know how to create this effect, but my main question has to do with how to actually accomplish it in Java. It seems that there are many different technologies that do the same thing--Java 2D and JAI among them--and many types of classes--BufferedImage, ImageProducer/ImageConsumer, etc.--that all do the same sorts of things.
Can someone help me with this question: what is the most modern technique for doing something like this that would offer the best performance?
Thanks very much!
GregHi Greg.
BufferedImage is pretty much the cream of the crop as far as working with images goes.
The Producer/Consumer model, as I understand it, is an artefact from when Java was more applet-centric, and allows applications to use images as they are loading, under the assumption that they will load slowly.
See these articles for more information:
http://weblogs.java.net/blog/chet/archive/2003/08/bufferedimage_a.html
http://weblogs.java.net/blog/chet/archive/2003/08/bufferedimage_a_1.html -
Hi, Is there a way to check which web template is being processed? I have several blocks of code in the CHARACTERISTIC_CELL method that I only want executed for a specific web template. Is this possible?
Thanks!Use the method given below:
call method n_r_creation_parameters->get
exporting
i_id = 'PAGEID'
i_index = 0
receiving
r_value = g_template_id.
Also you will be able to check for the dataprovider name from the template using the attribute 'N_DATA_PROVIDER_NAME'.
Thanks. -
XSLT - forcing ultimate HTML processing of open tags
I wish to process a sidemenu I have, composed of UL and LI elements, using XSLT. My problem is that I need unclosed tags in the XSL stylesheet as part of my processing, since UL and LI elements can be nested (so immediately closing each UL/LI element would be useless). So for example, I might have this in my XSL stylesheet:
<xsl:when test="node_name">
<ul>
</xsl:when>
Obviously this isn't acceptable to the XML compiler in the browser or on the server, so instead I actually have to do this:
<xsl:when test="node_name">
<![CDATA[<ul>]]>
</xsl:when>
or alternatively use ampersand notation (< >).
This allows the browser to process the XSL spreadsheet without issue, but of course produces the XHTML elements as text output, rather than processed instructions.
Is there any way to get the effect I want? I have tried many elements, like xsl:processing-instruction for example, to achieve the effect I want... nothing has worked though, and I don't think it logically can.
I was thinking that if I process the XML into XHTML on the server, then when this XHTML is rendered client-side the instructions would be processed, yes?
Advice is much appreciated.
- DaveIt does work. Cool! It's now processing the XSLT server-side, and then communicating the resulting XML to the client.
- Dave -
I'm using Lookout 4.0.1(build 51) and running Win98SE.
Thanks Cyril,
I've already implement sequencer object at my process server based on your attachment and it works perfectly.So my problem have already 90% settle except
I still cannot do the DDE over the network to connect
my excel file in server to my Lookout process.I follow your link and found the articles about how to connect DDE over the network and try to implement but it fail.
Anyway I'll try it again.So Cyril,thank you very much for your kindness support and sent my regards to Mr.Pravin Borade and Mr.Michael Shasteen.Not forget Mr.Roland (Roli). -
How to process screen flow using PAPI and WAPI
Dear all,
I need to process the screen flow from PAPI or WAPI.
I want to know which API(PAPI or WAPI) i should use and how to achieve that.
as far as i know, there is two part in WAPI. (external to work portal, throungh the html process API, and internal to the work Portal, through the URLForAction java class).
where can i get documentation for (internal to the work Portal, through the URLForAction java class)?
With Regards,
Wai PhyoHi Bhaskar,
If you zip probably the size would come less which may increase his performance a little. But I feel SAP also dont recommend this much load with PI.
If I am in his shoes then I will do a simple FTP without using PI itself. Else will look into other options. Thats my two cents.
Hope this alexs blog will give an idea to Sai:
/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover
Regards,
---Satish
Edited by: Satish Reddy on Jul 20, 2011 3:02 PM -
Hi,
In our project, there is a requirement to show a UI (JSF which is imported in Global Creation screenflow)which should create an instance in Oracle BPM from an external web application. For this purpose we are using WAPI. Is this approach right?
Also, we need to pass values from external web application to BPM which are used to display on the UI mentioned above. How to acheive this using WAPI?
It will be really helpful if some one provides examples for the same.
Thanks,
SanaThanks Dan for the document link.
In the document it is given that
"WAPI provides two different ways to interact with the FuegoBPM Work Portal.
• External to the Work Portal, through the HTML Process API, and
• Internal to the Work Portal, through the URLForAction Java Class."
For my requirement, i have to use HTML Process API since I need to create instance from an External WebApplication. I tried out the example given for HTML Process API. But the url "http://localhost:8585/portal/servlet/ExecutionDispatcher" is not found exception is coming.
What is the corresponding url in Oracle BPM 10g.
This requirement is very urgent. Please give your suggestions. -
Web Services API Documentation?
Hello,
I was looking for documentation regarding OLM web services, since I'd need to perform a few simples queries from an external software. Could you please point me in the right direction?
Thanks....Hi,
Please see "Oracle Learning Management Implementation Guide" manual, Page 11-54 -- Publicly Callable Business Process APIs in OLM. Also see "Oracle Integration Repository User Guide".
Oracle Learning Management Implementation Guide & Oracle Integration Repository User Guide
http://www.oracle.com/technetwork/documentation/applications-089559.html
Oracle Integration Repository
http://irep.oracle.com/index.html
Thanks,
Hussein -
Any further news on 3rd-parties being able to extend LR with image-processing plugins yet? When the SDK was first announced, it was described by Adobe as a 'preview' SDK and that a full SDK, allowing image-processing and other plugins, would be forthcoming.
Keen coders want to know.
Thanks,
John.John,
No news on the image processing API front. We're a small team and prioritizing aggressively to meet photographers' expectations. To that end, we are more focused on workflow APIs than image processing APIs. Here are a couple blog posts I've written on the topic:
http://blogs.adobe.com/lightroomjournal/2007/11/lightroom_13_the_export_sdk_pr.html
http://blogs.adobe.com/lightroomjournal/2008/08/plugin_or_external_editor.html
Can you give me an idea of the image processing plug-in you'd like to create? I know that some of the largest plug-in manufacturers have been willing to accept the external editor compromise for the time being.
Regards,
Tom Hogarty
Lightroom, Camera Raw, DNG Product Manager
Maybe you are looking for
-
Am I Missing Something Obvious? Layer Mask Not Confined to Selection.
Hello, I really hope I am not missing anything obvious. I am working on a .psd in Photoshop CC in which I used a selection to precisely remove a portion of a layer in a layer mask. The problem is that it is removing a percentage of the opacity in the
-
10.2.1.2991 software release
Where can I find info on the features, fixes, etc with 10.2.1.2991 software release....thanks!
-
Hey everyone, I have an ipod mini (1st generation) and it supposedly holds 1000 songs or a certain amount of playing time. Well I've reached 750 songs and it can't hold more. On the new itunes, there is a meter of songs (right now it's at 2.46 GB) an
-
My preview keeps crashing and this is the message that it tells me. What does it mean? Process: Preview [9244] Path: /Applications/Preview.app/Contents/MacOS/Preview Identifier: com.apple.Preview Version: 7.0 (826.4) B
-
Song distortion in exported video
Hi, I am exporting a video and all the audio is fine with the exception of one song which has a gurgling, hollow sound. The song was originally an MP3 that I converted to AIFF, then imported into FCP 7. It doesn't matter what format I export to, the