ProcessMode method SendMessage argument ignored in the workflow
Hello
I'm doing a workflow to send the e-mail notification using SendMessage outbound Communications, Business Service Manager. The problem is that when it is called from workflow, this method always executes in asynchronous mode (it creates a server job), even when I put the ProcessMode method argument to the local value. When simulating Business Service, it works well and emails are sent immediately. It is Siebel 8.1.1.8.
Please suggest, what don't get me.
Thank you
Hi user,
Please follow the documentation on configuring outbound
How to configure the Siebel Workflows to send outgoing Emails? (Doc ID 473858.1)
For troubleshooting, you can follow this document
Troubleshooting guidelines for Siebel Workflow (Doc ID 478275.1)
Tags: Oracle Applications
Similar Questions
-
Passing parameters to a method call in the workflow
Hello
I have a jsff page with a table it contains. To fill the table I used the default activity in the workflow.
Table is is filled with data. When clicked on a line other jsff should get called.
For this, we have written action method in the backup of the homepage bean.
public String homeNavigation() {}
Return "navigateToJobDetails";
}
and in the workflow if "navigateToJobDetails" is returned, we called breeding "getJobDetails" for complete details on employment and the method of flow control is given to the jobdetails.jsff page.
This stream works very well, but we need to send parameters to the getJobDetails method. How this can be done.
Help, please.
JDeveloper 11.1.1.7.0
http://docs.Oracle.com/CD/E12839_01/Web.1111/b31974/taskflows_activities.htm#ADFFD1676
See: 15.5.2 How to specify the method parameters and return
Dario
-
Hi all
I am a newbie for ADF and JDev. Start learning about the documentation provided for the ADF, I try to create a stubborn workflow that has an element of train and every stop on the train should be activated/skippered by program. I am able to jump the train stops after reading the content provided at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf.
But I'm not able to jump to the default train stop which is the first call of the activity in my case during initialization.
Here are the steps I followed:
1 creating a project of viewController and created a workflow in bounded with the component train activated.
2. added 4 displays with train component marking the first view as default activity appeal.
3. According to the document, which I mentioned above, I've added bean managed to ignore the train stop by program files.
Now when I run the workflow, I'm able to jump the number of train stops 2/3/4, but I'm not able to jump stop number 1 (first stop which is the default activity) at initialization.
According to documents from the ADF, for a stubborn workflow must be assigned default activity that is always called first when we enter the stubborn workflow. Which means, default activity will always be called initialization of said defined workflow and never to be ignored by the program. ? Alternatively, if there is a way to jump to the default activity, so please let me know the documentation/measures to do this.
Thanks in advace.
Published by: 1004973 on May 9, 2013 02:52Thanks Timo. Your idea has solved my problem. :)
I created a new page in my workflow narrow-minded that I realized as a default activity for the workflow bounded. Then I applied the navigation via router and under certain conditions, I am now able to switch my order to my desired train stop. By this design, I can make another customization on train button(Back/Next).
-
In regard to the Workflow Designer in Adobe sign
I wanted to confirm that the user interface technology used for the manufacture of boxes of workflow is HTML5, also I am not able to view the workflow option in the trial version of the product.
It is not available in trial version?
Also, please share links to understand more precisely on the workflow designer.
Hi anikav53009235,
Please be informed trial offer is a superior level of service will be all the features except integration.
You can consult the KB documents below to create forms in the sign Adobe environment:
Create form: Create forms
Field Type field types :
Assign roles: assign roles to form fields
Field validation: form field validation
Appearance of field: set the appearance of the field
Otherwise, you can use the method of text tag to complete the forms:
Use the text tag - Tags text use to create form fields
Feel free to contact us if you have queries or concern.
Kind regards
Nicos
-
Hey guys,.
I get this error when I tried to deploy the process. Din could not do anything on the net
java.lang.IllegalArgumentException: Argument 0 for the @NotNull of oracle/bpm/project/interfaces/ConversationHelper.getReferenceNameFrom parameter must not be null
My composite application contains a certain number of processes. I added a BPEL process and then removed, but since then, appears it problems and could not deploy the composite application more. Any hint is appreciated.
the entire stack trace is:
Error when bean calling "domain manager": error deployment suitcase BPMN. error when trying to deploy the component BPMN "D:\oracle\domains\BPMSOA_DOMAIN\servers\BPM_1\dc\soa_6b5472e6-f4dc-4cd1-a7b5-c7b81f5e24ab" file the reported exception is: java.lang.IllegalArgumentException: Argument 0 for the @NotNull of oracle/bpm/project/interfaces/ConversationHelper.getReferenceNameFrom parameter must not be null This error was an exception thrown by the underlying deployment module.
Check the trace for the exception in the log (the connection value level debug mode).
ORABPEL-05250Suitcase BPMN deployment by mistake.
error when trying to deploy the component BPMN "D:\oracle\domains\BPMSOA_DOMAIN\servers\BPM_1\dc\soa_6b5472e6-f4dc-4cd1-a7b5-c7b81f5e24ab" file the reported exception is: java.lang.IllegalArgumentException: Argument 0 for the @NotNull of oracle/bpm/project/interfaces/ConversationHelper.getReferenceNameFrom parameter must not be nullThis error was an exception thrown by the underlying deployment module.
Check the trace for the exception in the log (the connection value level debug mode).at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:202)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:949)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:128)
at sun.reflect.GeneratedMethodAccessor1654.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
to com.sun.proxy. $Proxy345.deployComponent (unknown Source)
at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_IBPMNCubeServerManagerLocalBeanImpl.__WL_invoke (unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_IBPMNCubeServerManagerLocalBeanImpl.deployComponent (unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:923)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:703)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:157)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:243)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:94)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:185)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:86)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
to com.sun.proxy. $Proxy438.load (unknown Source)
at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:67)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:467)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:268)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:203)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:147)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:134)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:100)
at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:221)
at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)The answer late, sorry it was a bug in the product, was fixed after you apply the hotfix.
Cheers, nasser
-
In the Workflows and debugging API
Properly read in the manual that it is not possible to access the workflow API in a workflow script?
For example, I want to enter the name of the current workflow:
// Niether works the way I want var wfname = Workflow.name; var wftname = WorkflowToken.name;
-
Doors to be ignored in the NDP Module
Hello
my client would like to avoid the steps in the DOOR.
He requested that the guardian of the gate to give a GO - NO GO decision when things are accomplished in a certain stage.
He would like to him allowing projects to move automatically from one STAGE to the next.
Is it not possible to avoid as follows:
Team leader moves forward STADIUM at GATE project
Gate Keeper gives the go ahead
Project Leader/Gate Keeper moves forward, the GATEWAY to the next STEP project
My client feels that this procedure makes the workflow too slow and too strict. Would you explain why it is necessary if IIT is not editable?
Thanks and greetingsThe workflow of scene/gate is not configurable in the way you describe.
The basic concept is to standardize projects in a common model. While some models can be used to reduce the number of steps/doors which must be managed in a given project the method to get through the doors is common.
6.1 we did add extensible functionality for the project workflow and save. They are similar to what we have in GSM. If you can standardize the procedure you can be able to write a customization using the extension of the workflow.
-
Hi all
We are on R12.1.3.
We have an obligation to complete the workflow when nothing was done on notice for a few days.
Are there methods or any API to complete the workflow after the notice period.
Any help is appreciated.
Kind regards
SanjayPlease see these documents.
Workflow Java Mailer & Notifications FAQ [ID 562551.1]-"How to cancel e-mail for the particular Type of Workflow Notifications?" and "how to cancel Workflow point keys in bulk?
How to identify and cancel the items in a queue of Workflow using Oracle Applications Manager OAM [393460.1 ID]
You can also use the wf_engine.abortProcess APIs - http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ENGINE&c_owner=APPS&c_type=PACKAGE
Thank you
Hussein -
Error in saving of the workflow
Hi all
I'm doing yourself record work flow. But while trying to save the workflow, I get the following error.
[echo] *******************************************************************************
[echo] REGISTRATION TOOL
[echo] *******************************************************************************
[echo] The entrance to this tool is a properties file that contains the details of the workflow
[echo] definition. Also, the tool prompts the user name and password admin IMO.
[echo]
[echo]
[echo]
[echo]
[entry] Enter the user name
xelsysadm
[entry] Enter the password
[entry] Provide the server IOM managed t3 URL (Ex: t3: / / localhost:7001)
T3://172.25.121.134:14000
InputPath [input] (full name of the file) of the file property
SelfRegistrationAppproval.props
[echo] ${gen.classpath}
[java] name = SelfRegistrationApproval
category [java] = approval
[java] providerType = BPEL
[java] serviceName = RequestApprovalService
[java] default = domainName
[java] version = 1.0
[java] payLoadID = payload
[java] operationID = process
[java] listOfTasks = ApprovalTask
[java] javax.security.auth.login.LoginException: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
[java] at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
[java] at javax.security.auth.login.LoginContext.access$ 000 (LoginContext.java:186)
[java] at javax.security.auth.login.LoginContext$ 4.run(LoginContext.java:683)
[java] at java.security.AccessController.doPrivileged (Native Method)
[java] at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
[java] at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
[java] at Thor.API.Security.LoginHandler.weblogicLoginHandler.login (weblogicLoginHandler.java:61)
[java] at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
[java] at oracle.iam.platform.OIMClient.login(OIMClient.java:114)
[java] at oracle.iam.platformservice.workflowregclient.WorkflowServiceClientUtil.getWorkflowService(WorkflowServiceClientUtil.java:87)
[java] at oracle.iam.platformservice.workflowregclient.WorkflowRegistration.main(WorkflowRegistration.java:41)
[java] may 25, 2012 23:16:32 oracle.iam.platformservice.workflowregclient.WorkflowServiceClientUtil getWorkflowService
[java] GRAVE: Username/password Incorrect name is entered during the recording of the workflow
[java] Exception in thread "main" oracle.iam.platform.workflowservice.exception.IAMWorkflowException: user/password Incorrect name is entered during the recording of the workflow
[java] at oracle.iam.platformservice.workflowregclient.WorkflowServiceClientUtil.getWorkflowService(WorkflowServiceClientUtil.java:92)
[java] at oracle.iam.platformservice.workflowregclient.WorkflowRegistration.main(WorkflowRegistration.java:41)
BUILD FAILED
/Home/Oracle/Oracle/middleware/Oracle_IDM1/Server/workflows/registration/registerworkflows-MP.XML:51: Java returned: 1
Even if I give the correct user name and password, the display of the error (user/password incorrect name).
How to solve this problem...
Please anyone suggest me...
Kind regards
Deena.Make sure you have the wlfullclient.jar.
Example:
opt/Oracle/middleware/wlserver_10.3/server/lib/wlfullclient.jar.If you do not have wlfullclient.jar can generate one according to the wlfullclient.jar to generate or Weblogic JarBuilder tool
The weblogic home WL_HOME value:
Example /opt/oracle/Middleware/wlserver_10.3/Reference: {: identifier of the thread = 2251290}
-Marie
-
How to disclose a tree inside a page fragment of the workflow on the opening
Hello
I use JDeveloper 11 g 11.1.2.1
I have the taskflow with the inside page fragment. This page fragment inside a tree there.
I need to disclose this tree on the opening page.
I know how to disclose the tree, but what place I could call the method for disclosing this tree?
It is possible to use BeforePhase of f: view of the jsf page, but I use page fragments.
AnatoliiHello
You can use EL pointing to a bean managed to control the State to disclose the tree. The managed bean should be available during the initialization of the workflow (there is a property initializer is called before the first view renders). You can then use the initializer to set the desired tree open State
Frank
-
Trigger an email notice when the workflow mailer service is down
Dear all,
We can trigger an email automatically from the operating system, if the Workflow services mailer goes down?
or which is the best method to notify when services are down. Please update...
Thanks in advance...
Kind regardsWe can trigger an email automatically from the operating system, if the Workflow services mailer goes down?
Yes, by checking the OS workflow services - see (Note: 1054215.1 - how to check if the sender of Workflow runs) for more details.
or which is the best method to notify when services are down. Please update...
You can also use Oracle alert (use of the query in the same doc) - you can find the manual Oracle alert at http://www.oracle.com/technetwork/documentation/applications-167706.html
Thank you
Hussein -
The workflow API to retrieve the parameters programmatically?
Under JDev 11.1.1.2.0 + and the controller of the ADF, we have a requirement regarding access or exit from any defined task flow (BTF), to save the user, the BTF name and BTF key/value parameter.
The most ideal, I identified for this seems to be via method calls to bean on the properties of initializer/finalizer BTF. For purposes of keeping this simple message, I look at the code of the initializer.
Within the initializer, I can easily access the username and the name of the workflow is only a little more complicated by using the following code:
However generically retrieving incoming parameters proves more difficult. A solution hard is for the initializer code just 'know' the incoming parameters and extract them 1 by 1 by making explicit reference to each incoming parameter. Yet this hardcoded solution will be a pain in the butt that I'll need to check that all of my programmers BTF correctly extract and log each parameter, which will become a double-pain-in-the-stock maintenance, if other parameters are added at a later stage.ADFContext adfContext = ADFContext.getCurrent(); SecurityContext securityContext = adfContext.getSecurityContext(); String userName = securityContext.getUserName(); ControllerContext controllerContext = ControllerContext.getInstance(); ViewPortContext currentViewPort = controllerContext.getCurrentViewPort(); TaskFlowContext taskFlowContext = currentViewPort.getTaskFlowContext(); TaskFlowId taskFlowId = taskFlowContext.getTaskFlowId(); String taskFlowName = taskFlowId.getFullyQualifiedName();
Ideally I'm wanting an API which reveals the list of parameters in order to browse and extract the values. Searching through TaskFlowContext, TaskFlowId and other classes, I don't see anything to do.
Another solution is to extract all the objects of the BTF #{pageFlowScope}. Yet it is a red herring, the initializer is called after the BTF own controlled beans are instantiated, implying that the pageFlowScope will include additional objects beyond the BTF parameter set that we want. As such, we need a way to distinguish beans controlled pageFlowScope for this useful parameters BTF method solution.
What is someone is aware of an API or a solution to retrieve the settings that do not require I hardcod the names of parameters extracted please?
With our thanks,
CM.Hi Chris and all,.
Sorry for not being very active lately as this pretty much fall in my area of expertise. Would the following works for you:
FacesContext context = FacesContext.getCurrentInstance(); Application application = context.getApplication(); TaskFlowDefinition definition = MetadataService.getInstance().getTaskFlowDefinition(taskFlowId); Map
parameters = definition.getInputParameters(); for (TaskFlowInputParameter parameter : parameters.values()) { String name = parameter.getName(); String expression = parameter.getValueExpression(); Object value = application.evaluateExpressionGet(context, expression, Object.class); // Do something with the parameter } I hope that's what you're looking for as I am scanning the thread very fast atm and speed of reading often missing some subtleties.
-
Reset the sequence in the workflow or the mapping
I tried to simply by creating the procedure and insertion in the workflow. but I get the following error:
PRE-01003: A condition of infrastructure has prevented the request to complete. PRE-01038: unable to evaluate the expression declare expression VARCHAR2 (4000): = SEQ_TRADE; Start: result: = owbsys.wb_rt_conversions.from_char (expression); end;. Please change the expression, redeploy and start over again. ORA-06550: line 1, column 42:
PLS-00357: Table, view or reference sequence "SEQ_TRADE" not allowed in this context
ORA-06550: line 1, column 24:
PL/SQL: Ignored Element
ORA-06550: line 1, column 107:
PLS-00320: the declaration of the type of the expression is incomplete or incorrect
ORA-06550: line 1, column 61:
PL/SQL: Statement ignored
the procedure is simple and it works fine when running Toad:
CREATE OR REPLACE PROCEDURE DWH. "RESET_SEQS"(seq_name IN VARCHAR2).
IS
BEGIN
RUN IMMEDIATELY 'DROP SEQUENCE DWH.' | seq_name;
IMMEDIATE EXECUTION "CREATE SEQUENCE DWH." | seq_name |
"START WITH 1
MAXVALUE 999999999999999999999999999
MINVALUE 1
NOCYCLE
NOCACHE
ALL ';
END;
Any suggestions? TXTry to join seq_name input parameter value of the processing activity in processflow with a single quotation mark (i.e. change SEQ_TRADER 'SEQ_TRADER')
Kind regards
Oleg -
How to access the BPM 11 g load useful or process varibles in the workflow of ADF
I'm trying to view/edit the data in a user interface that is linked to a database by using a foreign key, requestId. The foreign key comes from a BPM process where it is spent in the workflow, a human task. The foreign key comes process variables or values of payload. I know that I can simply load the payload in BPM with the data in the tables, but I'm looking for a better solution use the ADF business components to view and edit data directly in the user interface.
The BPM process uses a web service to start the process. Web services takes a primary key as a parameter to reference a column in the database table. The data is pre-filled with content and a primary key reference. The first activity is an activity of the user. I want the workflow behind the user activity to accept this primary key and use to locate the line in the database, so related views of the database delimited ADF business components can work to present the data in the user interface.
I tried two approaches to the problem. The first uses the setCurrentRowWithKeyValue operation. The other changes the SQL where clause, used by the ADFbc iterator only returns one row for the given requestId. Both of these approaches fail to work because I don't know how to access the load BPM or variable data entering the workflow. Here is the piece of code that I used to try to define the row using the value of setCurrentRowWithKey:
public String setRequestId() {}
FacesContext context = FacesContext.getCurrentInstance ();
Object requestObj = context.getApplication () .evaluateExpressionGet)
context, "#{bindings."(, Number.class) RequestId.inputValue "};
If (requestObj is nothing)
Returns a null value.
RequestId number;
requestId = (number) requestObj;
ITR DCIteratorBinding = (DCIteratorBinding)
getBindings () .get ("PatfRequestHdrView1");
itr.setCurrentRowWithKeyValue (requestId.toString ());
Returns a null value.
I didn't get very far with the second approach, change SQL where clause, because I do not know Groovy. I think I need something like:
adf.object.viewObj.RequestId. but it is not a viewObject associated with BPM data, so I don't know that this particular expression will not work.
Any help you can give me is greatly appreciated.
Kind regards
MarkTry this code in your method:
FacesContext context = FacesContext.getCurrentInstance ();
String ctx = (String) context.getApplication () .evaluateExpressionGet (context, "#{pageFlowScope.bpmWorklistContext}", String.class);
String tskId = (String) context.getApplication () .evaluateExpressionGet (context, "#{pageFlowScope.bpmWorklistTaskId}", String.class);
IWorkflowServiceClient workflowSvcClient = WorkflowService.getWorkflowServiceClient ();
ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService ();
IWorkflowContext wfContext = wfQueryService.getWorkflowContext (ctx);
Task myTask = wfQueryService.getTaskDetailsById (wfContext, tskId);
XMLElement xmlPayload = (XMLElement) myTask.getPayloadAsElement ();
get the payload as a string simple, useful for debugging
java.io.StringWriter writer = new java.io.StringWriter ();
xmlPayload.print (writer);
String payloadAsString = writer.toString ();
extract payload values: use methods in Oracle XDKSee also this post:
-
Is it possible to incorporate a note (a comment text) in a formula? In other words, to insert text which would be ignored by the formula processor?
None
You can attach comments to a cell:
Maybe you are looking for
-
How can I remove the option full screen, I Dah a r 63 old NEWBIE
II hit full screen option but don't want it now - how to return to the old. Thank you, I think that this Rocks!
-
Satellite Pro A120 adapter works in the USA?
I'm leaving on a trip to the United States on business, and I don't know if I have to buy a new network for my laptop power converter.What is the standard converter that comes with the work of A120 in the States? Or will puff up my laptop if I try to
-
I own a PC Toshiba laptop p875-7102-i7-3630qm Windows 8 with a brilliant display of 17.3 "1920 x 1080. It uses the integrated graphic chip Intel HD 4000. I bought the HP 23xi based monitor very there comments. Here's the thing, though: no matter wh
-
FrostWire is being knocked down by a display Assembly
I recently answered an update of frostwire is refusing now to me to open it
-
Cannot install the update KB2729449
KB 2729449 keeps not I tried 4 or 5 times