How reset a variable into a BPM process
Hi all,
I'm trying to reset a variable(process data object) using a Script task into a BMP 11g process...but no luck.
The variable is used many time as a counter and I need to initialize it with a predefinite value.
Can you tell me how can I do that?
Thanks.
Fairlie
Hi Fairlie,
Is it the counter used within the context of a single work item instance? Is it that you're having trouble getting the value of the predefined value?
Dan
Similar Messages
-
How to pass value object to BPM process and access process returned data
Hi,
I am new to Oracle BPM studio and gone through the tutorial. I did not find anywhere how to orchestrate the java components or ejb components or web services in BPM process. if any one provide sample business process orchestered with java component or ejb component or webservice, it will be great. Or atleast provide steps to do that.
Thanks and Regards
Mahesh BabuThere is a tutorial available online.. But you can always catalogue web services and JARs files into the ALBPM..
Just create a new module inside the Catalogue and then right click on it to see Catalogue Component and then select what component u want to add to ALBPM and then follows the steps of adding that component from your local machine and introspecting it..
If it is successful, then all the web-service methods or the JAR file methods would be catalogued into ALBPM..
You can put the WSDL address in the space provided for Web Services.. If password is required that too can be put..
Another way is to create a component in External Resources and then Cataloguing it... -
How to pass variables into an alert
Hi,
I have set up an alert control step in my BPM, and completed all the required config to see the alert is created in my alert inbox. However, I want to pass some parameters into the alert message, such as po number. Does anyone know how to do it? I already defined the variables in the alert category container.
Your help is appreciated!
HartHi Hart
I don't know if my way is "recommended" but...:)
1. don't define container variable in alert def
2. select "dynamic text" in your alert category
(if you select this you'll be able to pass text from "alert message" to the alert)
now it should work
passing variables into the long text
of the alert message works for me just great
Hope it will for you to:)
Kind Regards,
Michal Krawczyk
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/u/34500 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] -
How to pass variable into lov sql query using like operator
hi.
i want to use a lov where i want to pass a variable using like operator.
my query is
select empno,name from table where empno like ':ed%';
my empno is A001 TO A199 AND B001 TO B199 so i want show either A% or B% empno
how can i do this ?
reagrdskindly press Shift+F1 at a time you face this error to see the exact Oracle error message.
and provide us with that detail
and its better if you start new topic for that error... because that will be new error,,,
-- Aamir Arif
Edited by: Aamiz on Apr 7, 2010 12:27 PM -
Fin Rpt Studio - How to pull variables into report
Hello,
I have Hyperion Fin Rpt Studio version: 9.3.0.502
In the header of the report I need to include the following information: DAY X OF Y
The report will be run on business days during the fiscal period.
DAY Y - # days in the current fiscal period
DAY X - current day # for the fiscal period
ie Day 3 of 25 would indicate we are in the 3rd day of a fiscal period with 25 days.
Any ideas how I could do this?
My outline does not have any time period dimensions. It is not a Planning outline.
I thought about trying to use substitution variables. But can't quite figure out how that would work.
I really do not want to add any more dimensions to the outline. But I will if I have to.
Thanks,
DaveI assuming a couple of things
1) that since you don't have time periods in your cube it can only be run with the most current set of information and not run for say Day 2 of the fiscal period even though you are in Day 5
2) that you are obviously using Essbase behind FR (cause there could be other databases)
I also dont believe there is a date format that out of the box would do it for you.
Here could be a simple trick if you want
And I could come up with others (as I'm sure others will).
First I thought about poluting your existing cube with the data. Then decided against it (but this same concept could be done with your existing cube)
Then I came up with something simple
Create a cube with 2 dimensions (cause you have to have at least 2)
Dimension one Year
Dimensino two Period
In Year simply create 1 member Year1
In Period create 2 member Day and FiscalPeriod
Load through a tool (for example smartview
Day Year1 = 3
FiscalPeriod Year1 = 25
Next create a grid2 in your fR report
Year in column
Day and FiscalPeriod in row
Next hide this grid2
Next use celltext in your header to reference these 2 cells Day <<celltext(grid2,1)>> of <<celltext(grid2,2)>> ( i believe I have the syntax right for celltext but play with it if I didn't)
And there you go. Each day just update your data in this mini cube with the current day and you are set (you could create some sort of script to update automatically if you want to get crazy)
Again other approaches may work as well. -
How to pass variables into flex movies form the url
I used to do this in Flash 8 using swfobject, but it does not
seem to work with Flex.
Anyone can provide an example on how to do this.
Thanks,
GilbertZClaes,
Thanks. But where do i put the following code on the html
page (from the example of your link):
<%
String fName = (String) request.getParameter("firstname");
String mName = (String) request.getParameter("middlename");
String lName = (String) request.getParameter("lastname");
%>
Gilbert -
Scope of the BPM Process variables
Hi All,
What is the scope of the process variables in a BPM Process?
I had defined couple of process variables in my BPM process and observed that whenever i go into a Human Task activity and come back to the BPM process all my process variables values are back to null. Is this the expected behavior or am i missing some thing?
Thanks,
TKHi Tulasi. Check for the Modeling and Implementation Guide for Oracle Business Process Management
You can downlod it from here:
download.oracle.com/docs/cd/E21764_01/doc.1111/e15176.pdf
Chapter *8 Handling Information in Your Process Design *, particulary section *8.12 Scope and Access* -
Message Monitoring for each within the BPM process
I have a question concerning message monitoring within a BPM process. I receive an IDOC into my BPM process. I then have three transformation steps before sending an E-mail to the end receiver. When I look at the messages in the workflow log, I am unable to see the message after each transformation step. In the log display if I click the instance ID for all steps except the first step I am unable to see a message.
List of Message Objects
Object Type Instance ID Creation Time
ZXI_PROXY...0001 DC9F66530C7899F1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F66530C789FF1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F66530C78A5F1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F66530C78B1F1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F66530C78ABF1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F614BA98C51F1AC430017A44943B2 10:28:40
If I click all except the first instance I receive the following message:
No messages available for selection
Message no. XMS_ADM113
Is there a way to make the message persistent after each step within the process? I would like to see the data after each step in the workflow log. Is this possible?
I do receive the e-mail from the send step so I know that it's completing the process. What I'm not sure of is if each step individually processed the data as I expected.Hi Audra,
Check this link
BPM monitoring
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
Sachin -
How to programatically set HT expiration based on BPM process?
Hi All,
I'm developing a BPM process with human tasks. Is there a way by which I can set the task to expire 35 days after the date the instance of the BPM process was spawned? I see within the task an option to set Expiration after a fixed number of days, but my scenario requires that I compare the current date with the date on which the instance of the BPM process was created and set to expire accordingly.
Is this achievable? If not directly are there any suggested programmatic approaches to achieve this?
JDev : 11.1.1.4
Thank you.
PP.Don't know if you know how to get the number of days, hours, minutes that you want to wait and then put that into a either a string or integer variable (no decimals). If you know how to do this, then the code below should help. These examples assume you want to wait a certain number of days and this number is passed in using the variable "sla".
Setting the human task's deadline
The human task deadline timer can be set programmatically from a process variable using an XPath expression. In the human task's "Deadline" tab select "By Expression" from the dropdown. In the example below, the XPath expression would this if you had an string or integer variable called "Sla" and you wanted to set the number of days based on this variable:
concat("P0Y0M",/task:task/task:payload/task:Sla,"DT0H0M0.0S")
Setting the Interactive activity's deadline
You'll also want to set a boundary timer event on the Interactive activity set to the same duration. The syntax for this logic is different than the human tasks deadline. In the timer event, if you use the radio button "Time Date", the XPath expression to set the number of days based on a variable would be:
xp20:add-dayTimeDuration-to-dateTime(xp20:current-dateTime(),concat('P0Y0M' ,bpmn:getActivityInstanceAttribute('SUBPROCESS3082641628371', 'inputDataItem')/ns:sLA,'DT0H0M0.0S'))If you instead select the timer event's "Time Cycle" radio button, the logic would be:
concat('P0Y0M',bpmn:getActivityInstanceAttribute('SUBPROCESS3082641628371', 'inputDataItem')/ns:sLA,'DT0HM0.0S')Dan -
How to pass parameter into a source variable of a invoke activity
I'm an new BPELer, I created a invoke activity to submit Oracle Appplications concurrent program, but I don't know how to pass parameter into source variable.
BTW, I have created the mapper file (.xsl) file.
could anyone tell me how to do that?
Thanks,
VictorHi.
How you start application? I think you send message to webservice(BPEL process is webservice too). So construct message with variable and value.
But I created only processes where input value doesn't matter. I haven't use mapper yet too. -
How to find out what is causing an error in a BPM process
I have a very basic question and I can't figure it out from help.sap.com
I have a BPM process deployed to a SAP NW Java BPM 7.40 system. It can be triggered with a web service call.
It goes into error immediately. I go to NW Administrator > Operations > Process and Tasks > Manage Processes and see the process with status "Error". But the "Error log" tab below is grayed out. I can't see any error message anywhere.
How do I find out what is wrong?Ah, I didn't notice that on the history tab I can switch from Basic to Medium or Advanced, in Basic it was showing nothing. In Medium and Advanced it shows:
Mapping failed
com.sap.engine.services.jndi.persistent.exceptions720.NameNotFoundException: Object not found in lookup of test.sap.com.polreuse.ejbs.UUIDProviderLocal.
java.lang.IllegalArgumentException: Could not lookup 'test.sap.com/bpmear/LOCAL/UUIDProvider/test.sap.com.polreuse.ejbs.UUIDProviderLocal' bean
com.sap.mapping.lib.execution.api.exception.TExecutionException
at EJB::test.sap.com/bpmear/LOCAL/UUIDProvider/test.sap.com.polreuse.ejbs.UUIDProviderLocal( StandardInvocation:invoker )
at ( DeepExpression )
at UUID( TerminalPart:expression )
at result( BroadPart:child )
at ( NarrowMapping )
at com.sap.mapping.lib.execution.implementation.Compiler$StandardMappingFunction@241ade69( StandardInvocation:invoker )
at ( DeepExpression )
at MessageHeader( TerminalPart:expression )
at http://sap.com/xi/SAPGlobal20/Global:NewLBrdngFSCreateRequest( BroadPart:child )
at ( NarrowMapping )
What could this mean? I didn't deploy all parts correctly or something like that?
Also, where do I check the default trace? -
Help: how to kill a bpm process
I create a bpm process with an infinite loop and my server crash everytime.
How to kill this process.Hi Capro
Log into NWA
Navigate to manage processes
NWA-> Operation management -> Processes and Tasks -> Manage Processes
Select the nasty process instance and click on Actions> Cancel
By doing so you will be canceling the process instance and this will help in saving your server from crashing
If you are using 7.20 there are options to handle this too from BPM System Overview
Regards,
Harsha -
How to reuse a value set in the filter into an LMD process
Using apex 3.2, I'm wondering how to re-use the value currently set into the filter (interactive report) into a LMD process attached to a button created on the same page.
The process on Submit - after validations and computations, I presume, should look like to the following statement, but in a dynamic way:
begin
insert into table2 select * from table1
where study = 'ABCD';
end;
I tested the following clauses options, which none of them work:
a) where study = :STUDY
b) where study = :IR_STUDY
setting the debbug to on, I could realize that the report was based on (apparently, APEX generates APXWS_EXPR_1 bind variable for the first parameter and APXWS_EXPR_2 if a second parameter is used into the filter, and so on...) :
where ("STUDY" = :APXWS_EXPR_1)
and then saw :
0.28: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="ABCD"
0.28: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="10000"
of course, I thought that the clause 'where ("STUDY" = :APXWS_EXPR_1)' could work. Unfortunaltely, not.
any king of support is welcome.
Thanks a lot,
Brunobut I don't know how to execute it from putty ? Can some one help me.Use the same command. Just make sure you are logged in as applmgr user and source the application env file before you run the command. Also, make sure you issue the command in a directory where applmgr has read/write privilege.
How to Load Value Set Values When Using Fndload To Load A Concurrent Program [ID 252853.1]
Tips About FNDLOAD [ID 735338.1]
How To Download A Single Flexfield Structure Using FNDLOAD? [ID 745689.1]
Download Multiple Flexfields From FNDLOAD [ID 316600.1]
Thanks,
Hussein -
How to send JMS Message from a BPM Process
Hi All
I have small query regarding sending JMS Message from a bpm process. Is it possible to send JMS message from one bpm process to another bpm process.
I have a scenario in which I need to send a JMS message to a queue where another process is listening on that queue and as soon as the message is received on the queue the process instance is created.
I know how to listen for the JMS message on the queue, but I don't how to send a JMS message from a process.
Also Can I create process by sending the Notification to the process instead of a JMS message. But the process to be created is not a subprocess i.e. Can notification be send accross different processes.
Any information or example in this regard would be helpful.
Thanks in advance
Edited by: user9945154 on Apr 22, 2009 7:46 PMHi,
Here's one approach to sending JMS messages from an Oracle BPM process. If you're doing this just to send a message into another process, do not take this approach. It's far easier and quicker if you do this using the OOTB "send notification" logic.
These steps describe how to do this using WebLogic. The steps would be different if you're using another ap server / JMS provider.
1. Guessing you've already done this, but first expose the two required WebLogic jar files for JMS messaging as Java components in the External Resources. The two files for WebLogic are weblogic.jar and wljmsclient.jar” (located in the < WebLogic home directory > /weblogic/server/lib” directory).
AquaLogic BPM JMS Queue Listener for WebLogic 8.1
2. You've probably already done this, but add an External Resource to represent the J2EE container:
• Name: “weblogicJ2EE” - this is important and will be used in the next step
• Supported Type: “GENERIC_J2EE”
• Initial Context Factory: “weblogic.jndi.WLInitialContextFactory”
• URL: “t3://localhost:7001”
• Principal: and Credentials: whatever userid and password you defined to access theWebLogic administrative console.
3. Create the External Resource that represents the send queue configuration. In this example, I'm calling it “WebLogic Send Queue”. This is important - remember what you named it because you will use this name in the logic that sends the JMS message. This new External Resource is configured as:
• J2EE: “weblogicJ2EE” (same name as the second External Resource you created)
• Destination Type: “QUEUE”
• Lookup Name: “weblogic.examples.jms.exampleQueue”
• Connection Factory Lookup Name: “weblogic.examples.jms.QueueConnectionFactory”
4. Here's the logic to send a Message to the Queue
<pre class="jive-pre"><p />msg as String = "Hello World"
jmsMsg as Fuego.Msg.JmsMessage
msg = "<?xml version=\"1.0\"?><Msg>" + msg + "</Msg></xml>"
jmsMsg = JmsMessage(type : JmsMessageType.TEXT)
jmsMsg.textValue = msg
sendMessage DynamicJMS
using configuration = "WebLogic Send Queue",
message = jmsMsg</pre>
Note that the “sendMessage” method uses the configuration parameter “WebLogic Send Queue”. You previously created a JMS messaging service External Resource with this name in the third step.
Again, please don't go this route if you're just using it to send notifications between processes,
Dan -
How deploy BPM process with ADF form?
Hi everybody,
I'm a newbie on BPM (11g) and ADF. I've created a BPM process and an ADF train into the same project.
I was wonder if I can deploy the ADF stuff and start to test only the train before hook up the ADF form with the UserActivity.
How I can do that? How can deploy it? Better create a jar or ear?
Any suggestions?
Best Regards.
FairlieHi Daniel,
yes I have two separate projects - BPM and ADF - in the same applications.
For now, I'd like to work only on ADF project implementing the front end that I will use in next future into my BPM project.
Every time I click on Run on the main page in ADF project, JDev tries to deploy the entire application.
I need to work only on ADF for now and testing it. The soa server is on remote server.
I've tried to deploy the ADF project on remote server and I get this error:
'Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp
Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter'.
I've checked the oracle.adf.model library class path and It's ok...so I do not understand why I get this error.
What do you think is better to do? Trying to deploy the ADF with war, jar or ear...or...?
Thanks a lot for any suggestions.
Fairlie
Maybe you are looking for
-
Can you use FaceTime using two iPads with same apple id
Have two iPads for wife and I. Both use same apple ID account. Can you use FaceTime between them?
-
I have an EZ Quest external FireWire 400 drive. Was working fine on my MDD Mac running OS X 10.4.11. NOW, when I hook it up to my iMac running OS X 10.6.8, it will not mount. Tried different ports. Tried device on and off at boot. Doesn't show u
-
Migration Assistant can't find mounted external disc
Running Snow Leopard on newer iMac Dual Core. Trying to migrate users of dead G5. The G5 User data is intact, and on an external disc, and was transferred to this external disc from the G5's HD, by techs at The Apple Store. The specs of this external
-
How to delete corrupted files backed up on Time Machine.
Hi, I'm using Fusion to run Windows XP Home. This morning I tried to open it and was told the file was corrupted and couldn't be used. I had to force quit both Fusion and Windows XP. Luckily I could go back a few days and use TM machine to restore an
-
I just downloaded 10.9.2. Is this the only update I need to intstall or are there other security downloads?