How to carry out an action on a task in a bpm process from another adf app?

Hi everyone,
We have a simple BPM process with only one human task with two actions: approve and reject.
We want to know if it is possible to approve or reject this task from another adf application; I mean by clicking a button on a different page - not using the Actions menu in workspace, can I change the status of the task to approved or rejected and remove the task from the workspace of the assignee?

I think you can use ItemAdding event to update your fields. This works better for you instead of ItemAdded event.
Bala

Similar Messages

  • 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?

  • Can I carry out the persistence and ORM tasks using EclipseLink?

    Can I carry out the persistence and ORM tasks using EclipseLink (without TopLink or Hibernate) ?
    Is the EclipseLink a free tool and no license fee?
    How about TopLink Essentials?
    Edited by: junez on 18-Nov-2009 05:51

    junez wrote:
    Can I carry out the persistence and ORM tasks using EclipseLink (without TopLink or Hibernate) ?
    Is the EclipseLink a free tool and no license fee?And yes, EclipseLink is an open source project so there are no license fees. However, Oracle does redistribute EclipseLink as part of the Oracle TopLink product and therefore customers are able to access support for EclipseLink through Oracle support.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to trigger BPM Process from SRM Portal

    Hello Experts,
    I'am new to BPM and NWDS 7.3 but experienced with Abap and NWDS 7.0 Development...
    Before posting, i have been through the forum and couldn't find exact answer to my case..
    Basicly what i need to do is to trigger BPM Processes on the BPM Server from SRM Portal Server, I'm aware that i can communicate between these servers with WSDL basicly but how am i going to call the BPM Process' Web Service from Standart SRM  Processes?
    These processes will be standart ones mostly and also i am new to SRM.
    Kindest Regards,

    SAP SRM 7.0 user interface is developed in WebDynpro and runs on NetWeaver Portal (Portal was optional component in earlier versions of SRM but it is mandatory component now). So in order to call BPM Webservice (i.e., to trigger a BPM Process) from NetWeaver Portal / SRM 7.0 you can do the following
    - Develop a custom application (using EJBs,etc) to call the BPM web service by creating a web service proxy client using NWDS and then deploying it on Portal Server.
    - Directly create a model in WebDynpro project by using the WSDL of BPM trigger webservice (using NWDS). You can then call the model in WD User Interface, which in turn will invoke the BPM web service and start the process.
    Hope this helps.

  • How to call a process from another project

    Hi;
    How to calling a process from another process in another project? Which activity that i need or web service, direct binding? I use 11g

    Hi Tulasi ;
    I have wsdl of the process i need to call. Also wsdl address on the server. But CALL activity can't use to service call. CALL activity can use only to reusable process call.
    I think, this operation must make on composite.xml. But I have a same problem with this method and it don't work.
    I create a base process that looking at below. It's include a direct binding. Is it include a direct binding?
    [Base Process|http://d1201.hizliresim.com/t/s/21wqu.png]
    Then i create a process that call to base process:
    [Caller Process|http://d1201.hizliresim.com/t/s/21wqx.png]
    I paste to base process' wsdl address on the server. Then i select port type (BaseProcessPortType) and a warning has occured that you see the picture above. Base Process contain Oracle SOA Composite Type. What's the wrong? It happened for Callback Port Type.
    And second question is what's the Address? (under Reference Binding Setails option).
    I think, i create the this direct binding correctly, i call to base process into my caller process via service activities.

  • How to Carry out New Pricing in Sales Order userexit

    Hello,
    In userexit save_document_prepare of program MV45AFZZ, I'm adding an entry in XKOMV for a header pricing condition ZD01.  After saving, if I go back into the order and go directly into the line item conditions, the ZD01 does not exists at the item level.  If I navigate the the header conditions and then go back to the items, ZD01 appears as it should.  I believe what is happening is that the header condition is not being distributed to the line items unless New Pricing is carried out.  If I manually enter the ZD01 condiiton instead of relying on the userexit code, everything works fine.  The header condition is properly distributed to the line items.  Therefore, I believe the configuration is correct.  My question is, "How can I programatically trigger New Pricing from a sales order userexit".  Is this possible in SAVE_DOCUMENT_PREPARE or do I need to do it somewhere else.".
    Thank you,

    this problem has been resolved.  The problem was that I was appending the header condition to XKOMV instead of inserting the header condition as the first line in the table.  SAP will carry out the new pricing if the header condition is on the first line.

  • How to carry out / trigger defined substitution

    Hello,
    Can you tell me why I can not carry out the substitution, which is defined as following:
    Tcode: OPSN
    Applicatn area  PS       Project System
    Callup point    1120     Network activity
    Prerequisite:  AFVGD-STEUS = 'PS01'
    So when I change the some user fields of the (internal) activity in a project, when I save the project, the substition is not carried out, can you tell me what else I need to implement the trigger of substitution.
    Thanks a lot!
    Jing

    Dear,
    For first Query:
    1) Create a value assignment type with type u201CAu201D Node with class with all the tick marks for activate indicator a
    Path: SPRO>>Environment, Health and Safety >> Basic Data and Tools >> Specification management >> Specification Data Base Structure >> Settings for value Assignment >> Specify value Assignment Types.
    Here you will find total value assignment Types available in the system.
    Double click on the value assignemnt type, which you would like to change.
    In this screen you need to select the value ***. Category as "A". after selecting the category "A" you need to enter the class in the column class(valAss.). Select the last 2 check boxes (New VA Active & Change Active) out of six.
    If you want to create a new one go to "new entries" and follow the steps mentioned above.
    For second Query:
    2) Run Table based value assignment creation make sure the check edit is ticked ok
    Once the updations or changes happened in the value assignments, you need to do this activity.
    Path: SPRO>>Environment, Health and Safety >> Basic Data and Tools >> Specification management >> Specification Data Base Structure >> Settings for value Assignment >> Set Up Table-Based Value Assignment
    Here you will find 2 rows
    1. Create Entries for the Value Assignments
    2. Set Up Table-Based Value Assignment
    You need to select "Create Entries for the Value Assignments" first
    double click on this. You will find a execution button. execute it.
    system asks "Do you really want to change value assignment type entries?"
    click on "Yes".
    system updates the information in the value assignment tables, what ever you did the updates in value assignment types.
    you will find the message of "number of new entries and number of entries deleted"
    Go back...........you will find the activity performed tick mark.
    you have to do the same thing in the second line "Set Up Table-Based Value Assignment". Here execution is not required.
    Kamal

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How to call BPM process from Java

    Hi All,
    Can anybody help how to call a BPMN process from java.Please give any sample exaple on this.
    Thanks,
    Ganesh

    For 11g BPM please look at this post. Re: Getting while running the BPEL process from java
    It references an ATeam example app that can start processes from a web client. But the Java APIs are described too.

  • How to start a BPM process from ERP system

    Hi,
    I created a process in Netweaver Developer Studio with the Process Composer in SAP CE 7.1 BPM, now I want to automatically start the process by saving a SAP document like purchase requisition or purchase order. Therefore I think about implementing a UserExit / Badi or something else.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event?
    Greetings,
    Christian

    the process by saving a SAP document like purchase requisition or purchase order.
    Based on your business process, you will have to decide what data should be sent to other system. It could be in the form of Idoc trigger or an RFC calls. If there are non-SAP systems involved, you should be using PI 7.1 too. In that case, you can communicate using Abap proxy call too. For this you may either call an RFC internally in a report and schedule it.
    Regards,
    Prateek

  • How to trigger the BPM process from WD Application

    Hello All,
    I have a simple business process with two ui activities. I am able to start the process from NWA -> Process Repository.
    But, I need to start the process from the application. Here is the requirement:
    User opens the application. ON completion, the BPM process for approval needs to be triggered. How do i access/obtain process?
    If I need to call a particular task in process, How do i do that?
    Kindly assist.
    Thank you.
    Regards,
    Sharath

    if you want to know the whole story, please refer to the doc
    http://help.sap.com/saphelp_nwce72/helpdata/en/44/4d2bb1c6b00597e10000000a155369/frameset.htm
    the profile, provider system,endpoint。。。。。
    search this doc in sdn, it is a good example regarding the configuration.
    How to Use SOA Configuration to Call RFCs and Web Services from within SAP NetWeaver BPM
    hope those may help.

  • How to add parameters to human task implementation in BPM process?

    Hi,
    I tried the BPM process tutorial Tutorial
    and at step "Implementing the User Task" 1. ("Click on the hello data object and drag it into the parameters panel") I encounter a problem.
    I cannot drag anything onto the parameter pane. I can send you a screenshot if that helps. The data object window also does not have the buttons it should have according to the image in the tutorial.
    I am using JDeveloper 11.1.1.6.0 (the tutorial uses 11.1.1.3) I don't know if thats a bug or if I missed something. I followed the tutorial step by step starting from "Creating the Process Model".
    thanks in advance
    Steffen

    Ok I finally figured it out by myself.
    This is a bug that sometimes occurs, several re-installs solved the problem.
    (However in the process also another bug appeared but in the end it installed without any of these two bugs)

  • How to create new instance of the process from external web apps?

    Hi Everyone,
    How to create a new instance of the process which deploy to the weblogic server from the external web app?
    Thank you.

    Assuming the process includes a message start event, the simplest way is to use Web Service call. Once you've deployed the process you can use Enterprise Manager to get the URL of the WSDL. There's and icon at the top of the composite summary page for getting the WSDL, or you can get it from the test page. Use that WSDL URL to construct the client to use from the web app. If it's an ADF client you can generate either an ADF Data Control or a client proxy.

  • How to carry out Dynamic Replace action in OSb

    Hi all
    I want to do a dynamic replace in OSB.
    like
    Lets my input be :-
    <cli:AccountInquiryRequest xmlns:cli="http://client.accountInquiry.dto.cards.nab.cz.fc.ofss.com">
    <cli:requestUID>string</cli:requestUID>
    <cli:cardType>string</cli:cardType>
    <cli:AcctId>5</cli:AcctId>
    <cli:scr>AcctId</cli:scr>
    <cli:dest>requestUID</cli:dest>
    </cli:AccountInquiryRequest>
    So what i want to do is check for element name in <scr>(in this case AcctId) and then replace the contains of the <AcctId> with the contains of the element name given in <dest>(in this case its requestUID)
    so in this case i want to replace the contain of requestUID with AcctId .
    Please help !!!
    Thanks

    I think you need to determine the xpath used for replace at runtime.. You can try looking at xslt xalan:evaluate function for this.
    The function syntax is as :
    <xsl:value-of select="xalan:evaluate($XPath)"/>
    You need to construct $XPath to point to right xpath . e.g concat("$body/*:",$body/*:dest)
    This will make $XPath to = $body/*:requestUID
    You can then pass this xpath string to xalan:evaluate.

  • How to carry out entry validation in SM30 with events

    Hi people,
    I'm creating a Z table with Maintenance view in SM30...i've modified the view so all fields are required as Rich H explained in some other post. But now i need to validate user input for a particular field against a standard table, and force to reenter if data is not valid. I've been looking up the available events...event 05 triggers when the line is new, but not when modifying. I've tried a couple of other events but don't serve my purpose. What i want is to validate data upon user's entered all the required fields (whether the line was preeexistant or  not). If data is valid then go on, if not trigger a message and force correction prior continuing (disallowing saving).
    Anyone knows how to do this?
    Many thanks

    I get what you suggest, but unfortunately i've already done that, it's not enough.
    Here's the situation: The table has this fields:
    KSCHL (PK-FK T685)
    LIFNR (PK-FK LFA1)
    EBELN (FK EKKO)
    EBELP (FK EKPO)
    Besides the implicit foreign key validations (i.e. the PO item exists in EKPO), i need to validate that it's not deleted (LOEKZ = 'L') and that the PO vendor is the one entered (i must not enter any PO which vendor isn't the one in that line). Hope I make myself clear.
    This code works but in event 05 (new lines). I need to find out an event for the modified lines as well:
    FORM f_validate_po.
      CHECK NOT ( ztmmiv001rps-lifnr IS INITIAL OR
                  ztmmiv001rps-ebeln IS INITIAL OR
                  ztmmiv001rps-ebelp IS INITIAL ).
      SELECT COUNT(*)
      FROM ekko
      WHERE ebeln = ztmmiv001rps-ebeln AND
            lifnr = ztmmiv001rps-lifnr AND
            exists ( SELECT *
                     FROM ekpo
                     WHERE ebeln = ztmmiv001rps-ebeln AND
                           ebelp = ztmmiv001rps-ebelp AND
                           loekz <> 'L' ).
      IF sy-dbcnt = 0.
        MESSAGE e000.
      ENDIF.
    ENDFORM.

Maybe you are looking for

  • WGM error while trying to connect to Active Directory

    Hello I'm trying to insert AD groups into OD groups so I can create automounts to a users specific network folder. When attempting to connect to AD from within WGM I get an unexpected error. It states: Error of Type eDSOpenNodeFailed (-14002) on line

  • Output report format rtf  in IE5

    Hello. I want to run a report and have the output in RTF format. This works fine, but when Internet Explorer ask me where to save the file the filename is rwcgi60, not myrep.rtf from the parameter desname=myrep.rtf. I have version 6i.

  • Hit Counter For Web Site

    I've published a site to .Mac for a friend, and her domain name, which is hosted on godaddy is being forwarded to the .mac site. I'm using masking so only her domain name shows in the address bar of each page. That's all working well. I've added a hi

  • XE License

    Hi I downloaded and installed Oracle XE yesterday. Since this is a trial version could you tell me how much time I 've got? Also when the production release of XE is ready will it be still free (and possibly with no timeframe)? Thanks Stelios

  • Discoverer Migration issue - Calculation item changes

    Hi All, In the development environment, I made some changes to the Calculation item in the existing Discoverer Workbook. It works in fine in DEV. But when I try to migrate (overwriting the existing workbook) it to ST environment (by opening it in Dis