Find activity id in an Oracle Workflow Item Type
Dear all,
I am having a problem locating the activity id
in order to use it with Wf_Engine.GetActivityAttrText(itemType, itemKey, actId, parameter_name) function.
Any ideas? Thanx in advance
Hi,
All PL/SQL stored procedures that are called by function or notification activities in an Oracle Workflow process should follow this standard API format so that the Workflow Engine can properly execute the activity.
This standard API has the activity id passed as an "IN" parameter
procedure <procedure name> (itemtype in varchar2,
itemkey in varchar2,
actid in number,
funcmode in varchar2,
resultout out varchar2)
So, in the procedure, you have access to the activity ID.
Hope this helps,
Raja
Similar Messages
-
Workflow opens multiple workflows item types
We have a small workflow, when I open it from database, it opens multiple other workflow item types which are not
related to the process.
Can anybody tell me how to remove the links between these item types.
thanksI have a custom workflow process, while developing it we might have used some activities from oracle standard worflow process(PO Standard), now whenever I open the custom workflow process it opens the standard process with it. Same thing happens when deploying the process to database.
Is there a way to remove the connection between the two item types. -
Apex and Oracle workFlow.
Hi ,
Can anybody tell me how to integrate the Oracle Workflow in APex.
I m not looking only for Oracle workflow.
Except creating the PLSQL workflow from scratch anything which will surve the purpose will help.
Eagerly wiating for replies .... :)
Regards,
Nandini Thakur.Hi,
Were you able to find some pointers on integrating oracle workflow with apex? If so, would you please share here.
We have a similar requirement at our company too and looking for some help. Not much help found with google.
Thanks
H -
Process Flow Deployment using Oracle workflow
Hi,
If I have my own Process Flow in XPDL, can I deploy it to the Oracle workflow? I couldn't find any doc regarding how Oracle workflow (standalone) imports XPDL file.
Is the Oracle workflow packaged with the OWB comes with some adapter that understand the XPDL process flow?
I have an application that may output process flows in XPDL, and I want to deploy them to Oracle workflow for processing. How do I do that?
Thanks,
DennyHi,
I´ve used it in 2 system as a DM. It works fine. But I have to say that they were a small project.
OWF is a very robust and easy tool. I´ve never need to look for another workflow because OWF always cover my project. When it doesn´t, I´m able to change some pl/sql procedures to make it attend project requirements.
I can advice you that if you want a personalized user interface, you are going to spend more time doing it than developing your workflow. but if you don´t need to personalize user interface, so it is very easy do develop and deploy a workflow.
Any doubt just ask.
Regards,
Luiz Soares -
I intend to use process flows in OWB 10.2.0.5 (with Oracle Database 9.2) and in OWB 11.1 (with Oracle database 11.1). I'm having difficulties to find the appropriate versions of Oracle Workflow I should install in each case.
Does anyone know where can I find this?Hi Luciene,
according [Workflow Administrator Guide|http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15852/T319398T319402.htm#2298752] it is possible to install (create WF repository) Workflow server 2.6.4 (or 2.6.3) into Oracle8iR3 (8.1.7) and higher.
But I think you need to install Oracle Database 10gR2, because OWF 2.6.4 requires existing 10gR2 Oracle Home.
I think it is possible to install requried components (Oracle Database 10gR2 and OWF server 2.6.4) into different server/computer and then you can create WF repository in your 9.2 Oracle database remotely. I think it is possible to uninstal Oracle Database 10gR2 and OWF server after creating WF repository.
I have never installed 2.6.3/2.6.4 workflow into into 9.2 database so you need to check possibility of installation of 2.6.4 workflow into 9.2 database
Regards,
Oleg -
How to create a notification mailer that handles only some of Item Types
Hi All,
we are currently try to create another notification mailer to handle ONLY some of the workflows.
I have been browsing the internet (oracle site and none) as well as looking for an answer here but I was unable to find a solution/detailed documentation.
The only reference I was able to find is in the Oracle Workflow Admin's Guide where it's written "you can create a notification mailer that processes only messages that belong to a particular workflow item type" but it does not explain how.
Can anyone help me?
Thank You, Pier Paolo.You may use Correlation ID parameter of the mailer to specify the Itemtype that your mailer should process. This information should be available in the Workflow Admin Guide or Oracle Apps Admin Guide.
-
Portal 10.1.4 seeded Page link Item type - Getting it to open in new window
I've been working on creating a new portal and am having some difficulty with Page Links. I am using version 10.1.4 out of the box. When I create a page link to another page and click on it, the page always takes over the current window.
Under normal items, you can select the option to display item in new browser window. I do not see this option when using a Page Link.
My questions are :
Is this option to display somewhere else vs. Page Properties?
Has anyone created a custom item type to achieve this function?
Thanks in advance.Hi,
Something you could try is changing the way the item is displayed using a HTML Content Layout, this is a great feature of portal 10.1.4 and allows you to customise the region where the items are displayed.
Try this:
1) Create a new HTML Template
2) Select HTML Content Layout from the list
3) insert this code:
<oracle>
if '#ITEM.TYPE#' in ('baseportletinstance', 'portlet_instance') then
htp.p('#ITEM.PORTLETCONTENT#');
else
htp.p('#ITEM.TITLE#');
end if;
</oracle>
4) go to your page and edit your region properties
5) On the attributes tab chose the Html template you created.
the items should be displayed now as links that open in a new browser window.
Hope this helps..
Regards,
Juan -
POS DM ERROR "UNKOWN SALES ITEM TYPE ####"
Hi,
I am gettting an error in POSDM "UNKNOW SALES ITEM TYPE ####". I usnderstand that system can not validate the sales item type. I can see that in drop down where other sales item types are available like SALES-2001, SALES TO EMPLOYEE - 2101, RETURNS-2801,..."
I would like to find out where I can configure SALES ITEM TYPE?
Please Help me out !
Thanks,
RahimHi Rahim,
Go to Tcode posdw/img
then POS inbound processing ->POS Transactions ->Sales Item Type
Here you can define your own sales type(New Entries) and make sure you assign it to the relevant profile type which you are using for your stores.
NOTE : Most of the standard sales item types are available (like 2001,2101,2301,2801etc) with an assignment with standard profile type 0001 and it is copied to the specific profile type,however if you want a new one to be defined you can do so.
Hope it helps
Rgds,
Aram. -
I want to install Oracle workflow 2.6.3 on my server, but i get the following error while installing the program.
unable to find product oracle.swd.jre 1.4.0, 1.4.4
Below the step i took:
I selected the oracle_home and the path where my db has been installed. Then next... and the universal installer gives me that error. I can choose to continue or to go back. I tried to continue and oracle worflow has been succesfull installed. bet when to try to run the workflow manager. I get the following result:
C:\oracle\product\10.2.0\db_1\wf\install>set JAVA_HOME=
C:\oracle\product\10.2.0\db_1\wf\install>"\bin\java" -classpath ";C:\oracle\prod
uct\10.2.0\db_1\wf\java;\lib\rt.jar;\lib\i18n.jar;C:\oracle\product\10.2.0\db_1\
wf\install\WorkflowCA.jar;C:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;C:\oracle\
product\10.2.0\db_1\jlib\ewt3-nls.jar;C:\oracle\product\10.2.0\db_1\jlib\share.j
ar;C:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;C:\oracle\product\10.2.
0\db_1\jlib\fndctx.jar;C:\oracle\product\10.2.0\db_1\jlib\wfjava.jar;C:\oracle\p
roduct\10.2.0\db_1\jlib\wfapi.jar;C:\oracle\product\10.2.0\db_1\jdbc\lib\classes
12.jar;C:\oracle\product\10.2.0\db_1\sysman\jlib\emd.jar;C:\oracle\product\10.2.
0\db_1\jlib\emConfigInstall.jar;" oracle.apps.fnd.wf.install.db.WorkflowCA /wfdi
r "C:\oracle\product\10.2.0\db_1\wf" /orahome "C:\oracle\product\10.2.0\db_1" /
wintz "W. Europe Daylight Time" /systemroot "C:\WINDOWS" /ospath "C:\OraHome_2\
bin;C:\oracle\product\10.2.0\db_1\bin;C:\OraHome_1\bin;C:\OraHome_1\jre\1.4.2\bi
n\client;C:\OraHome_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sy
stem32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files
\Support Tools\;"C:\Program Files\Symantec\Norton Ghost 2003\";C:\Program Files\
QuickTime\QTSystem\;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Com
mon Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Com
mon Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Com
mon Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Com
mon Files\Nero\Lib\"
The system cannot find the path specified.
Anyone an idea to resolve it...
tnx in advanced....
Edited by: user565199 on 15-jan-2009 3:33
Edited by: user565199 on 15-jan-2009 3:52sorry maybe a noob question but does it means io have to install the whole db again?I don't know. Try to install OWF 2.6.4 and maybe it upgarde all compnents from OWF 2.6.3
Are can you choose to install the workflow server only. When i start the install file with the universal installer i can only choose forYou need additional Oracle Database Companion CD, for link look at this message
(from thread which I provided in prev. post)
Re: Create Process Flow
Regards,
Oleg -
Oracle Workflow Java Activity Agent not starting up
Hi,
I am trying to start the Java Activity agent of Oracle workflow.
As specified in the installation and setup guid I am running the following script (for NT):
wfjvlsnr user/password@connectString
The activiy agent does start up but then I get a NullPointerException in the main thread of the Java Activity Agent class.
Appreciate you help.
thanks.
Here is the dump.
E:\Ora9idb\wf\admin>rem ******************************************************
E:\Ora9idb\wf\admin>rem $Header: wfjvlsnr.bat 26.5 2001/07/02 09:13:06 smayze
ship $
E:\Ora9idb\wf\admin>rem USAGE:
E:\Ora9idb\wf\admin>rem 1) Workflow Schema User/Password@Database
E:\Ora9idb\wf\admin>rem 2> "Workflow Schema User Password Database [protocol
[charset]
E:\Ora9idb\wf\admin>rem To disable output, use the jrew command instead of jre
E:\Ora9idb\wf\admin>rem ******************************************************
E:\Ora9idb\wf\admin>set WF_UN=workflow/workflow@workflow
E:\Ora9idb\wf\admin>set WF_CHARSET=
E:\Ora9idb\wf\admin>IF "" NEQ "" set WF_CHARSET=-DCHARSET=
E:\Ora9idb\wf\admin>set WF_CLASSPATH=;e:\Ora9idb\wf\java;C:\PROGRA~1\Oracle\jr
1.1.8\lib\rt.jar;e:\Ora9idb\wf\java;e:\Ora9idb\jlib\wfjava.jar;e:\Ora9idb\wf\x
\java\lib\xmlparserv2.jar;e:\Ora9idb\jlib\wfapi.jar;e:\Ora9idb\jdbc\lib\classe
11.zip;e:\Ora9idb\jlib\share.jar;e:\Ora9idb\jlib\ewt3.jar;e:\Ora9idb\jlib\ewt3
ls.jar;e:\Ora9idb\jlib\swingall-1_1_1.jar;
E:\Ora9idb\wf\admin>"C:\PROGRA~1\Oracle\jre\1.1.8\bin\jre" -classpath ";e:\Ora
db\wf\java;C:\PROGRA~1\Oracle\jre\1.1.8\lib\rt.jar;e:\Ora9idb\wf\java;e:\Ora9i
\jlib\wfjava.jar;e:\Ora9idb\wf\xml\java\lib\xmlparserv2.jar;e:\Ora9idb\jlib\wf
i.jar;e:\Ora9idb\jdbc\lib\classes111.zip;e:\Ora9idb\jlib\share.jar;e:\Ora9idb\
ib\ewt3.jar;e:\Ora9idb\jlib\ewt3-nls.jar;e:\Ora9idb\jlib\swingall-1_1_1.jar;"
nojit oracle.apps.fnd.wf.WFFALsnr workflow/workflow@workflow
Oracle Workflow 2.6.0 JAVA Function Activity Agent
Connected to workflow@workflow with character set UTF8
Listening...
Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9996 test.SelectApprover
PUT APPROVER_NAME=CDOUGLAS
Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9996 test.SelectApprover
Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9997 test.SelectApprover
PUT APPROVER_NAME=CDOUGLAS
Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9997 test.SelectApprover
Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9998 test.SelectApprover
PUT APPROVER_NAME=CDOUGLAS
Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9998 test.SelectApprover
Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9999 test.SelectApprover
PUT APPROVER_NAME=CDOUGLAS
Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9999 test.SelectApprover
Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/99910 test.SelectApprove
PUT APPROVER_NAME=CDOUGLAS
Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEST_REQ/99910 test.SelectApprove
T
Wed Aug 28 12:14:12 GMT+05:30 2002 Executing WFEVDEME/PO3435 oracle.apps.fnd.w
XMLGetTagValue
GET ATTR=REQUESTOR
GET EVENT=EVENTMESSAGE
GET TAG=/ORDER/REQUESTOR
PUT REQUESTOR=BLEWIS
Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing WFEVDEME/PO3435 oracle.apps.fnd.w
XMLGetTagValue
Wed Aug 28 12:14:12 GMT+05:30 2002 Executing TEAC_IT1/SYSADMIN JayTestFunction
PUT TEST_RESULT=JAVA
Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEAC_IT1/SYSADMIN JayTestFunction
Wed Aug 28 12:14:12 GMT+05:30 2002 Executing TEST_REQ/9996 test.ApproveRequisi
on
PUT TEST_ATTRIBUTE=This value was set in the Approve Requisition Activity
Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEST_REQ/9996 test.ApproveRequisi
on
Exception in thread "main" java.lang.NullPointerException:
at oracle.apps.fnd.wf.WFFALsnr.listen(WFFALsnr.java)
at oracle.apps.fnd.wf.WFFALsnr.main(WFFALsnr.java)
E:\Ora9idb\wf\admin>Hi,
I tried to run the same without entering password,but still i am getting error.
The error description is:
Oracle Workflow 2.6.3 JAVA Function Activity Agent
Please Enter Database Password :
ORA-06401: NETCMN: invalid driver designator
Unable to connect to nn0734.nucleussoftware.com:1521:asdb
Accepted arguments:
java <program> <user> <conStr> [oci8]
java <program> <user> <conStr> thin
Where <conStr> is in the form of <host>:<port>:<sid> for thin
and DB Service name for oci8
Please Help. Is there any problem with my tnsnames.ora or something else.
Thanx in advance,
Sarab -
How to use java api for function activity in embed oracle workflow?
because i can't install standalone oracle workflow successfully.
pls tell me how to use java api for function activity in embed oracle workflow?
are there some patch or pulg-in package?
ths a lot...........The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
because i can't install standalone oracle workflow successfully.
pls tell me how to use java api for function activity in embed oracle workflow?
are there some patch or pulg-in package?
ths a lot........... -
Calling Shell script activity in Oracle Workflow.?
Hi,
I am using Oracle Workflow for executing OWB Mappings.
I also defined user defined activities to call shell scripts. It is working fine
But whenver the shell script executes for more than one day, work flow is not proceeding further even though, the shell script execution completed.
I have to manually skip that activity as success.
Did anyone face this type of problem?
Thanks in advance.
Thank you,
Regards,
Gowtham Sen.Hi Matt,
I have seen your previous replies to the posts.
I think, the problem which I am getting is may be with TIMEOUT. Once the day crosses, the even the shell activity is completed, the workflow is not recognizing its completion.
I am using Oracle Warehouse builder. In I am using process flow editor to create workflows.
I verified for the options of changing timeouts. I couldnot able to get any.
Could you please help me, How I could set those values in backend.
Thanks in advance.
Thank you,
Regards,
Gowtham Sen. -
Oracle Workflow Vote Yes/No Activity problems
Hi,
I am new to Oracle Workflow and trying to
solve this problem: I set up a process which
includes the Vote Yes/No Activity (notification).
The notification should be
sent to a role (a group of users) and I want
all users to respond before the process
proceed to the next step. However, as soon
as one user responds to his notification, the
process proceeds to the next step without
waiting for all user responses. I have
made sure that I checked the "Expand Roles"
checkbox for the notification. I have also
set the "Voting Option" attribute to
"Wait for all votes". However, the workflow
engine still does not wait for all votes
before proceeding. What am I doing wrong?
Thanks for any help/suggestions. I am using
Workflow 2.6 and Workflow builder 2.6 with
and Oracle 8.1.7 database.
IreneAt this point, after many tries, I am
convinced that the Vote Yes/No Activity in
Oracle Workflow 2.6 is not working according
to the Oracle documentation (specifically,
the activity does not wait for all votes
to be casted before proceeding).
Is there some web URL where I can see a list
of bugs for Oracle Workflow? Is there a URL
where I can download Oracle Workflow patches?
And if there are any Oracle guys out there,
I would love to hear from you if you can
get the Vote Yes/No Activity working.
Thanks,
Irene -
Payables Error for Invoice Approval in Oracle Workflow
Hi
Product Oracle Payables
Product Version 11.5.10.2 (VISION Instance)
We need to implement the AP workflow/approvals in Payables,have set-up Approvals Management(AME) for AP invoice approval in the vision instance.
Create a invoice Payables and initiated approval process found the below error in wf_notifications
Error in Workflow APINV/63401_1 ORA-01403: no data found ORA-01403: no data found
checked the notifications in the sysadmin responsibility, do find the errors
An Error occurred in the following Workflow.
Item Type = APINV
Item Key = 63401_1
User Key =
Error Name = 100
Error Message = ORA-01403: no data found
ORA-01403: no data found
Error Stack =
AME_ENGINE.doWeakHeaderRuleEvaluation(12732)
AME_ENGINE.evaluateRules(12733)
AME_ENGINE.updateTransactionState(12734)
AME_API2.getNextApprovers4(12735)
AME_API.getNextApprover(12736)
APINV.Get_Approver(APINV, 63401_1, 536104)
Wf_Engine_Util.Function_Call(AP_WFAPPROVAL_PKG.get_approver, APINV, 63401_1, 536104, RUN)
Activity Id = 536104
Activity Label = APINV_M:APINV_IA
Result Code = #EXCEPTION
Notification Id =
Assigned User =
Regards
YramPlease see these docs.
APINV Errors with Ora-01403 in AP_WFAPPROVAL_PKG.get_approver [ID 413840.1]
Invoices Getting Stuck Intermittently In Invoice Approval Workflow With No Data Found Error [ID 1201053.1]
Intermittent Error "3835: ORA-20002: 2018: Unable to Generate the Notification Xml" when Notification is Reassigned through a Vacation Rule [ID 1305504.1]
Thanks,
Hussein -
Hi everyone,
some questions to that API (maybe only Oracle can answer):
1) in the "Oracle Workflow and Java Technical White Paper" an API-Function called "setItemOwner" ist described but you cannot find this method inside any class of the wf*.jar files. Where is it ?
As i understnd, the owner of a workflow-item(process) is needed to watch the processes with workflow-monitor.
Do we have to implement this function/method ?
2) I found out, that the Java API is, compared with the PL/SQL packages, slightly incomplete?
Several functions/methods are not implemented and other functions/methods are not of the same functionality as their PL/SQL counterparts.
An Example: CreateProcess
The Java method "createProcess" has two parameters fewer (user_key and owner_role). API methods to set the user key or to set the owner (see Question 1) are not implemented.
Is there a special reason for that ?
Thanks
RalfRalf,
1) setItemOwner should be in the WFEngineAPI class in the package oracle.apps.fnd.wf.engine.
2) It is true that the Java and PL/SQL implementations are not exactly the same - some APIs are available only in PL/SQL, others only
in Java. The Workflow Guide lists which ones are currently available where. If there is functionality you would like to see added, I
think the best thing to do is log an enhancement request.
Regards,
Clara
Hi everyone,
some questions to that API (maybe only Oracle can answer):
1) in the "Oracle Workflow and Java Technical White Paper" an API-Function called "setItemOwner" ist described but you cannot find this method inside any class of the wf*.jar files. Where is it ?
As i understnd, the owner of a workflow-item(process) is needed to watch the processes with workflow-monitor.
Do we have to implement this function/method ?
2) I found out, that the Java API is, compared with the PL/SQL packages, slightly incomplete?
Several functions/methods are not implemented and other functions/methods are not of the same functionality as their PL/SQL counterparts.
An Example: CreateProcess
The Java method "createProcess" has two parameters fewer (user_key and owner_role). API methods to set the user key or to set the owner (see Question 1) are not implemented.
Is there a special reason for that ?
Thanks
Ralf
Maybe you are looking for
-
Content repository FD does not exist :user agent sap web application server
Hi All i am using 3rd party software(dms SERVER) and connecting it using archive link interface SAP HTTP 4.5 AL i have created a new repository with name FD using tcode OAC0.when i give inputs in OACO and click on test connection it gives me informat
-
Hi, I'm trying to find out if there any known excel add-ins that conflict with BPC for Excel (v7) and how the conflicts manifest themselves. I am currently specifically interested in conflicts with SAP BW BEx Analyser but would be interested in any o
-
Open an window which direct the URL when clicked on the custom webtab
Hi all, I was looking-When we click on an New Custom Webtab must Display an new separate window that directs to the URL that we have given in the Custom Webtab URL section. Can we do this in Oracle CRM on Demand using some Java Script. Need your inpu
-
I know this issue has been dealt with on several other posts, but it seems my case is a bit unique. I have a 17" MBP (about 1.5 years old) and have already had to replace the original power adapter for fraying and the battery for swelling. The batter
-
Transfering movies to iPod Touch
If I want to transfer a movie dvd that I recorded, how do I transfer it to my iPod Touch?