HTML Process API - aqualogic.bpm.modeling(Archived)

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 

Thanks for your help.
Is it possible to run a global Activity that has instance access through HTML code? If yes, how do I specify the instance ID?

Related

如何理解在portal中request.getRequestURI()的应用

因需要对BEA 内容管理进行二次开发,找到源码,以.jsp文件为例,结构如下:
<%# page extends="com.bea.jsptools.content.HierarchyServlet" %>
....
<!-- submit the new login information to the server -->
<form method="post" name="RepoLoginForm" action="<%= request.getRequestURI() %>">
<input type="hidden" name="repoName" value="" />
<input type="hidden" name="username" value="" />
<input type="hidden" name="password" value=''/>
<input type="hidden" name="<%= ContentJspBacking.REPO_LOGIN_ACTION %>" value="true" />
</form>
...
没想明白request.getRequestURI()到底是指向哪个处理页面,用System.out.println()打印出来的是自己建立这个portal的一个url,不是某个servlet,jsp文件,那么这个表单是由哪个页面处理呢
request.getRequestURI()是产生本jsp的程序名,就是自己调用自己
request.getRequestURI()得到当前页面的URI,如/index.jspa

Hyperion Analyzer Migration

Hello,
I had the following code for a link to Hyperion Analyzer in my website, this would let me login our users through HTML version of the App with the POST method, also it would automatically load a Report for them. I am migrating to WebAnalysis and cant seem to make this same functionality work out for us, could you please help?
<FORM method="POST" action="http://ANALYZER7_SERVER:16080/Analyzer7_Server/servlet/HTMLViewer" name="mainForm">
<INPUT type="hidden" name="action" value="login">
<INPUT type="hidden" name="userid" value="TestUser">
<INPUT type="hidden" name="password" value="11111111">
<INPUT type="hidden" name="AUTHSVR" value="ESSBASE">
<INPUT type="hidden" name="Report" value="/Groups/Everyone/Reports/MY_REPORT">
<INPUT type="hidden" name="EVENT" value="SELECT">
<INPUT type="hidden" name="POSTLOGIN" value="FileBrowser">
Thank you very much for your time and help...
Ignacio.

Need help adding filter criteria for reports with the GO URL + Post method.

In attempts to hide some of the information from the URL, we've decided to go pull the parameters out of the url used in the GO Url method. We've managed to get it to retrieve the report and display it without showing the user name and password how we cannot seem to pass in any search criterias.
The following is what i have:
Can anyone help me with this issue? or provide any suggestions?
Thanks!
form id="form1" runat="server" action="http://452.342.424.421/analytics/saw.dll?Go" method="post">
<input runat="server" id="Cmd" type="hidden" name="Cmd" value="Answers"/>
<input runat="server" id="nqUser" type="hidden" name="nqUser" value="admin"/>
<input runat="server" id="nqPassword" type="hidden" name="nqPassword" value="admin"/>
<input runat="server" id="Path" type="hidden" name="Path" value="/users/abid.farooq/Countries" />
<input type="hidden" name="Options" value="fr" />
<input type="hidden" name="Action" value="Navigate" />
<input type="hidden" name="P0" value="1" />
<input type="hidden" name="P1" value="eq" />
<input type="hidden" name="P2" value="%22Location%22.%22Country%20ID%22" />
<input type="hidden" name="P3" value="CHN" /> 
Hi,
Instead of this,
<input type="hidden" name="P2" value="%22Location%22.%22Country%20ID%22" />
can you try this:
<input type="hidden" name="P2" value='"Location"."Country ID"' />
Here, instead of enclosing the value in double quotes, enclose in single quotes. Also replace %22 and %20 with double quotes and space.
Try it and let me know if this helps!
Thanks 
Thank you very much!
That worked perfectly! 
Cool..If the solution provided was helpful can you pls mark it accordingly.. :)
Thanks

logging on to APEX using portal page

We have our own portal page. We are trying to pass username and password so they do not have to log in twice. This worked in version 4.1 but when we put in patch p13331096 to get to version 4.11.00.23 the form stopped working. Users have to log into our portal page an then into APEX. That does not make them happy. I will send you the form maybe you can tell me what changed.
Thanks, PAM
<form action="http://dashboard.reliv.com/pls/dwprod/wwv_flow.accept"
method="post" name="wwv_flow" >
<input type="hidden" name="p_flow_id" value="106" />
<input type="hidden" name="p_flow_step_id" value="101" />
<input type="hidden" name="p_request" value="" />
<input type="hidden" name="p_arg_names" value="7535816562197795" />
<input type="hidden" name="p_t01" value="{$username}" />
<input type="hidden" name="p_arg_names" value="7536017741197795" />
<input type="hidden" name="p_t02" value="{$pass}" >
</form> 
The problem is related to how their users access Apex. They have a portal page outside of APEX that passes the username and password so the users do not have to log in twice. The users only have to log on to the portal page outside of APEX and not Apex itself. The form below is what they are using. They are passing username and password to Apex from their own code.
<form action="http://dashboard.reliv.com/pls/dwprod/wwv_flow.accept"
method="post" name="wwv_flow" >
<input type="hidden" name="p_flow_id" value="106" />
<input type="hidden" name="p_flow_step_id" value="101" />
<input type="hidden" name="p_request" value="" />
<input type="hidden" name="p_arg_names" value="7535816562197795" />
<input type="hidden" name="p_t01" value="{$username}" />
<input type="hidden" name="p_arg_names" value="7536017741197795" />
<input type="hidden" name="p_t02" value="{$pass}" >
</form>
This worked in version 4.1 but when they applied patch p13331096 to get to version 4.1.1.00.23, the form stopped working. Uses have to log into their portal page and then login again into APEX. .
They believe something had to change in what is required to log into APEX. It looks like there is a new checksum field that is required and we wants to know how they can generate the checksum field.
Please let me know if there is an API we can use to login or how wecan log in using custom code?
Thanks for your help,
Pam
Edited by: Pam on Sep 27, 2012 6:22 AM

Porblem to submit JSP to itself

Hi everybody,
I am having a problem developing a portlet via JSP. This jsp has a form that has to be sbmitted to itself. The first time the page get submitted everything is fine, but then the second time, when I call the
<UrlUtils.htmlFormHiddenFields(pRequest,UrlUtils.PAGE_LINK, formName)
function, it returns not only the portlet parameters, but as well all the parameters that have been inmputed by the user (the form's parameters). This means that all the form parameters are listed twice and that all the values inserted by the user wiil be over-written by these hidden parameters.
Is there a way to avoid to have this function to return as well the user parameters?
I am developing a JSP frontend to be used for search documents with UltraSearch.
Basically the form return not only these parameters
<INPUT TYPE="hidden" name="_dad" value="portal" />
<INPUT TYPE="hidden" name="_schema" value="PORTAL" />
<INPUT TYPE="hidden" name="_type" value="portlet" />
<INPUT TYPE="hidden" name="_providerid" value="39337222" />
<INPUT TYPE="hidden" name="_portletid" value="2" />
<INPUT TYPE="hidden" name="_referencepath" value="" />
<INPUT TYPE="hidden" name="_backurl" value="http://ttiecdc-wias08.vodafone.ie:7780/portal/page?_pageid=6,3,6_22&_dad=portal&_schema=PORTA" />
<INPUT TYPE="hidden" name="_title" value="KMSearch" />
<INPUT TYPE="hidden" name="_mode" value="1" />
But as well return these parameters (which have been inputted by the user):
<INPUT TYPE="hidden" name="_pirefnull.p_Advanced" value="1" />
<INPUT TYPE="hidden" name="_pirefnull.p_Query" value="unica" />
<INPUT TYPE="hidden" name="_pirefnull.p_Action" value="Search" />
<INPUT TYPE="hidden" name="_pirefnull.p_AttrOp" value="AND" />
Regards,
Valerio

Categories

Resources