How to change RedirectUrl by java code in service

Hello world

I have a new MY_WORKFLOW_APPROVE service.

1. If the service successfully completes, I need to redirect the AAU to HOME_PAGE

2. If the service does not properly complete, I need to redirect the AAU to Workflow My Page assignments

Is it possible to change RedirectUrl by Java in my service? And how?

Thanks, Martin

Hello world

The solution is very easy...

Example:

SerializableAttribute public class MyWorkflowApprove extends Service {}

public void workflowApprove() {}

My code... The result is error

this.setRedirectUrl ("idcplg? IdcService = GET_DOC_PAGE & Action = GetTemplatePage & Page = HOME_PAGE');

}

}

Service definition:

<>
ucmcomponent. MyWorkflowlApprove
    49
    REDIRECT_TEMPLATE
    null
    null
    null
3:MyWorkflowApprove:null

Martin

Tags: Fusion Middleware

Similar Questions

  • How to trigger an ActionListener JAVA code?

    Hello

    I have the button and the button has an ActionListener attached.

    I want to trigger the ActionListener from java code (no click in the interface).

    How can I do this?

    Thank you.

    I found the answer.

    save.doClick ();

  • How to call external C/java code in pl/sql or sql?

    Mr President

    I'm a newbie, but I want to know how to call the external C/java code in pl/sql or sql?

    Embedded SQL to Oracle environment is called Pro * C.

  • Need information of Java code for services

    Hi Experts,

    Can you please give information about where I'll get the Java code for java api services.

    Example: For VisitorManager, where I'm going to get its details information.

    There are also many other api services, then where I will find its detail.

    Thank you

    Ravi

    Following links may help you.

    Sites API Java Docs - https://docs.oracle.com/cd/E29542_01/apirefs.1111/e39356/toc.htm

    Asset API Tutorial - https://docs.oracle.com/cd/E29542_01/doc.1111/e29634/asset_api_tutorial.htm#WBCSD2387

    REST API - https://docs.oracle.com/cd/E29542_01/doc.1111/e35835/wemrestresources.htm#WBCSR354

  • How to change the adobe ID code

    SIRS

    I closed my gmail account that I used my adobe ID how can I change my Adobe ID

    The option when I try to edit it does not work.

    This is an open forum, not Adobe support... below to connect with Adobe personnel to help

    While the forums are open 24/7 you can't contact Adobe support at any time

    Chat support: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • How to change the color scheme code DW CC

    I'm a little unhappy with the dark colors of the mode set code in DW CC. I would change the whole system are generally not specifically like in each type of code ownership. I cannpt find the background color of the page - don't jut not the bottom of the text. Can someone do the 'light' on it? Thank you

    Hi Awakekats,

    I hope that I'm right... You try to change the background color of the page default HTML in code view.

    1. go to preferences of DW.

    2. click on the coloring of the Code on the left column.

    3. look for the Option "Default background".

    4 choose the color according to your interest.

    I hope this helps.

    Thank you

    VIANEY Gupta

  • How to change the power state in a Service profile template

    I would like to change the "Power status" in a model of Service profile. While I can change almost all other aspects of the model, I don't find it in the UCS Manager GUI. Is it an unchangeable decision while creating the model? I can change it via the CLI?

    Hi Joernclausen,

    What version of the firmware of your UCS?

    In the CLI, try the steps below and let me know if it works.

     Go into the FI CLI and perform the steps below, ensure to enter your own template_name and select appropriate type of template followed by setting the power up or down sj-ucs-r13-mon-A# scope org sj-ucs-r13-mon-A /org # enter service-profile template_name initial-template sj-ucs-r13-mon-A /org/service-profile # power up sj-ucs-r13-mon-A /org/service-profile* # commit-buffer sj-ucs-r13-mon-A /org/service-profile # power down sj-ucs-r13-mon-A /org/service-profile* # commit-buffer

    You may also be able to change the power state of the individual service profiles

     Go to the service profile and use "Change Initial Power State" button for modifying the desired-power value.

    See attached screenshot

  • How to change a sync to forget the service and fire bpel process

    Hi all

    I need to change a synchronous BPEL process in a fire and forget service in SOA 11 g.

    If anyone have implemented the same thing in their projects, please provide your inputs/suggestions.

    Thanks in advance

    Hello

    You will need to change the WSDL operation to a one-way asynchronous type.

    i.e.






    TO





    Otherwise, no matter what it is calling the service will wait for a response.

  • How to change address MAC of Console of Service?

    Our network department wants the MAC addresses to create DHCP reservations for all systems with a fixed IP address.

    We have provided all service consoles virtual MAC addresses on our ESX 3.5 U4 machines. This method works.

    After reinstalled an ESX after a failure of the drive, our MAC service console has changed. I am looking for a way to configure the MAC address of the former esx Server installation.

    Is it possible somehow?

    Edit/etc/sysconfig/network-scripts/ifcfg-vswif0 and restart the network.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • How to change IP address of the web service proxy.

    Hello

    I created an AppModule and expose as a serviceInterface. I deployed this project in the server and then created the Web service proxy by giving the IP address of the server in WSDL.

    Now I have deployed the same application in different server and manually change the IP address of the proxy Web service methods. But he's still point to the previous server.

    I don't want to regenerate the web service proxy. Is it possible to manually change the IP address in the generated Web proxy service method? Or I have to regenerate their?

    Thank you
    Rohit

    chk
    Configure endpoint URL in WebService DataControl and Proxy

  • How to change the path of the Web service to a Portlet

    Hey,.

    Y at - it any approach to change a path webservice to a portlet in ALUI 6.5, I find nowhere to do...

    Thank you

    Wen

    There is no way to do it in the portal of the user interface. However, you can run a SQL script to update the database if you really need to change the portlet web service:

    UPDATE PTGADGETS SET WEBSERVICEID = WHERE PORTLETID =

    (above is not tested, use at your own risk, etc., etc.)

    I would recommend just recreate the portlet from the new web service, unless you have a specific reason to not do (keep the settings, have a bunch of users who have it on their page, etc.).

  • How to change the soap to the proxy service request?

    Here is an example SOAP:
    <soapenv:Header>
        <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <UsernameToken>
        <Username>kvd</Username>
        <Password>testpwd</Password>
        </UsernameToken>
       </Security>
      </soapenv:Header>
    
       <soapenv:Body>
          <per:getApplicationInfo>
             <userName>test</userName>
             <applCode>358</applCode>
          </per:getApplicationInfo>
       </soapenv:Body>
    I need to replace the value of the app with user name in the proxy service. Could someone help me what is the XPath expression for the username and app?

    The company should get the underside of SOAP.
     <soapenv:Header>
        <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <UsernameToken>
        <Username>kvd</Username>
        <Password>testpwd</Password>
        </UsernameToken>
       </Security>
      </soapenv:Header>
    
       <soapenv:Body>
          <per:getApplicationInfo>
             <userName>kvd</userName>
             <applCode>358</applCode>
          </per:getApplicationInfo>
       </soapenv:Body>
    This is the approach that I think: 1) alter the flow of messages Proxy Service-> add a pair of Pipeline-> replace app with username-> call Business Service.

    I use Oracle Service Bus 10 g.

    Published by: user12876168 on April 25, 2011 05:50

    You were missing the namespaces in xpath associated header.

    In your request, soap, security namespaces, UsernameToken, etc... are related to the target namespace. Below is the reason why:
    xmlns = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" >

    So that means all the xml tags that don't have not one namespace linked to it belongs to the targetNamespace and where they must be accessible with it.

    So set a namespace as WSSE as http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd and then use the underside of xpath.

    * $header / wsse:Security/wsse:UsernameToken/wsse:Username/text() *.

    It should work.

    Thank you
    Patrick

  • How to call java code within OpenScript

    Hello

    How we can integrate a java code (externally written) inside OpenScript.

    Concerning

    Hello

    1. create a jar of your source code a.java file, for example a.jar
    2. in Openscript create a new script and then go to the Script menu-> properties-> Active Script Script->-> add JAR files
    3. Add the jar created in step 1
    4. then add the code mode code of your script - Java

    a myclass = new a();
    MyClass.b ();

    That's all.

    See you soon,.
    Jamie

  • How to change the default properties of the Apache plugin and machine names

    Hello

    Two questions:

    1. How do change you the computer name (under services/servers too)? My problem is that I have a big cluster running on Amazon EC2, and when I add them to the Hyperic they use the FULL, i.e. "ec2-XX-XX-XX-XXX.z-X.compute-X.amazonaws.com" domain name I then manually change them to their real domain name. This involves a LOT of steps. Anyway to do this more effectively?

    I just tried to change the db directly, but this does not seem to work. (Tables: eam_server, eam_service, eam_resource, eam_platform).

    2. How can I change the default settings for the Apache plugin? I run Debian for PID and Exec locations are different than the default values. I was not able to find these values by default in server locations or the agent or the database anywhere.

    Thanks in advance!
    David

    Hi David,

    > Hi,.
    >
    > Two questions:
    >
    > 1. How do change you the computer name (in the)
    (> services/servers too)? My problem is that I have a
    > large cluster running on Amazon EC2, and when I add
    > to Hyperic they use the FULL domain name, i.e.
    > 'ec2-XX-XX-XX-XXX.z-X.compute-X.amazonaws.com '. I have
    > then must manually change their actual
    > domain names. This involves a LOT of steps. In any case to make
    > this more effectively?
    >
    > I just tried to change the db directly but does not
    > seem to work well. (Tables: eam_server,)
    (> eam_service, eam_resource, eam_platform).

    I don't know a smart way to do it. As SIGAR determines the hostname by OS specific functions based on the NIC main automatically, it is difficult to manipulate the configuration.

    >
    > 2. How can I change the default settings for the Apache plugin?
    > I run Debian for the locations of PID and Exec are
    > different than the default values. I could not
    > find these default values in the server or the agent locations
    > or in the database anywhere.

    Hi, it is possible. Search the apache - plugin.jar in your directory of the HQ Agent and extract to a folder. Then unzip it with jar - x
    Modify etc/hq - plugin.xml and look for the DEFAULT_PIDFILE property. You will find an example for Apache ERS product that looks like this.


    value = "logs/httpsd. PID "/ >"

    Copy of your Apache (1.3,2.0 or 2.2) of the article and adapt it to your needs, for example:


    version = "2.0".
    include = "1.3" >


    Class = "Apache20ServerDetector" / >


         
       


          
    Description = "Server MPM" / >


    value = "/ var/run/httpd." PID "/ >"


     

    After that, recreate the jar with jar - c and spread the new jar file to your appropriate HQ server and directories of agents HQ.
    This solution has some disatvantages, for example, if you are upgrading your versions of the Agent and the server.
    If you a familiar with the development of a plugin you can create a plugin for Apache specific Debian and preconfigure all of your values.

    >
    > Thanks in advance!
    > David

    Hope this helps
    Mirko

  • Change the password using API web services?

    I can create and update users using Adobe Connect API web services, but how do I change the password of a user?

    I use the API "principal-update" that has a setting of password, but according to the documentation, it is only used for new users... not the users.

    So exactly how to change user password using the web services?

    Hello

    There is an API that can be used to change the password: user-update - pwd

    Format of the API :

     

    http://server_name/API/XML?action=user-update-pwd&user-ID=integer&password-old=string&pass = word string - string verify password = & session = BreezeSeesionCookieValue.


    Hope this helps!

    Thank you

    Nikhil

Maybe you are looking for