Approve/Reject/Suspend task in Humanworkflow without BPMWorklistApp

Hi,
A SOA process creates a work item , and I need to perform the UserAction without logging into BPMWorklistApp to my Human WorkFlow. Infact I should not create a new UI for my task. I need to use my own Approve/Reject buttons in my application. Now the challenge is, that work item needs to be Approved/Rejected/Suspended through the buttons in my own application.
Should I update the Cube_instance table with the relavant status code?
Should I access the workflow API by creating a new Java project?
By any chance can I close the running instance using correlation sets?
Can some one please provide me with the efficient and easy way to implement this. If possible with the reference URLs.
Thanks in Adv.
Uday

Got it done with the worklist API.
Thanks to the below blog.
http://niallcblogs.blogspot.com/2011/01/canceling-running-composite-instance.html
Thanks
Uday

Similar Messages

  • In approval workflow, can we have one action in which item can be review and approve/reject

    Hello,
    I have created approval workflow using SPD.
    While sending notification to approver, we need to mention link for viewing : [%TaskProcess:Item Title%][%Variable:InternetLink%] and for approve/reject : [%current task: form_URN%]
    So is it possible to have one link, where reviewer can review document and approve or reject it. he/she should not have to go again to mail and click on another link.
    Thanking you in advance.
    Regards,
    Jayashri

    hai
    go for DispatchAction class and then pass as parameters
    refer struts complete reference...
    it will solve ur problems..

  • Calling ADF page Custom Listener (Ex: ActionListener) from BPM Process Task (APPROVE/REJECT)

    Hi All,
    Jdeveloper version - 11.1.1.7
    I am very new to BPM / SOA development, but I have very good development skills on ADF.
    I am not using ADF BC, using EJB for business services and also using custom ADF pages for HumanTasks.
    Usecase:
    From the BPM Process task, when process submission (APPROVE / REJECT) , I need to invoke a Custom listener (Ex.Action Listener - a EJB call) in the ADF page.
    I am trying to use BPM APIs.
    Please clarify me how this will achieve using BPM APIs. I need detail guidelines to do it. Please make to understand this process.
    Provide some useful documentation or links to understand the following:
    1. Custom Human task pages
    2. BPM APIs - 11.1.1.7
    3. Call a BPM process task from ADF Listener and Call a ADF Listener from BPM Process task - Using BPM APIs.
    Please revert more clarifications needed.
    Thanks and Regards
    Mohanraj N

    Hi Joonas.
    Plese let me explain me better for your understanding
    A big summary for what I meant it's the following:
    1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
    2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
    This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
    2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
    3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
    4- Deploy your application
    All these are explain in the book I mentioned
    Th book you can find it here:
    https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
    Regards Dariel.
    PS: Please, let me know if you need more details.

  • Generate report having details of suspended,approved,rejected Approvals

    Hi Frinds,
    can you please help me to solve the following problem...
    Say there are few approvals( suspended,approved,rejected ). My requirment is to generate a custom report which will show the details ( requester, approver,date submitted etc etc) of those approval requests within a date range( this will be date picker fields with From date to To Date)
    thanks
    Somnath.

    That's pretty strange.
    Let's just see how you are doing this. Once you detect the out of hours situation in your Routing Script (either by checking a Global variable refreshed by an Admin script or by having a Time of Day node directly in the routing script), do you set a Call Type?
    Then after setting the call type, I assume you play a CVP message and Release the call. Correct?
    When you query the TCD on this call type you should only see your after hours calls. Let's look at one of the calls.
    You should see two rows in the TCD, one with the DNIS of your number on the gateway, or from the PSTN carrier, and one with the VRU transfer label (say 8111111111) - maybe that's in the DigitsDialed column, I'm not in front of an HDS database and can't check. This is all you should see for a call that comes out of hours.
    Both these legs should have the same RouterCallKey with different RouterCallKeySequenceNumbers.
    Do you see this?
    What is happening with another call at a similar time with a different RouterCallKey ? That doesn't make sense.
    Maybe you could do a query and show us the output?
    Regards,
    Geoff

  • Email Notification is approved but BPM Task is not getting completed

    Hi,
       A transaction is submitted, the approver gets a email notification. The Human task is Actionable.
       So in the email, approver can see Approve / Reject links. On clicking the links it generates a email response and it is sent to the server also.
       But the task is not getting approved.
       Do we need to check any settings in the server or task?
       Thanks for your help.
       Chacko

    ..

  • UWL Approve Reject button not visible

    Hello Experts,
    We have implemented Portal 7.0 SP 18 and configured UWL. All task items are appearing correctly.
    But approve and reject button is not visible in UWL. The same is visible in ITS screen when we click on the task.
    Kindly help.
    Regards,
    Nirmal Sivakumar G

    Hi Soral,
    All workflows from ECC is causing this problem. To be precise I have configured a webflow connector to pull the tasks from SAP Inbox. The approve/Reject button should appear in UWL ivew when we select the task item. But only forward and resubmit options are visible.
    I guess the problem is with SP 18 itself. Coz there are similar threads with the same scenario in SP 18.
    Regards,
    Nirmal Sivakumar G

  • Problem with Approve & Reject buttons text

    Hi Team,
    Once we have configured UWL in EP 7.0 & backed is SRM 7.0, facing problem in Approve & Reject Buttons text.
    Instead of showing Approve & Reject text on Buttons, it showing text like this  com.sap.pct.srm.core.action.oldwfl.approve  & com.sap.pct.srm.core.action.oldwfl.reject
    Can you please help me on this?
    Thanks in advance.
    Thanks & Regards
    Sandeep.

    Sergio, Thanks for your reply.
    It's happening for all the task items. Pls find out XML file here. here i pasted some of the code from my XML, because it is not taking full XML code here.
          <Action name="com.sap.pct.srm.core.action.oldwfl.approve" groupAction="" handler="FunctionModuleActionHandler" referenceBundle="com.sap.pct.srm.core.approve" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="FunctionModule" value="/SAPSRM/FU_WF_RFC_DECISION"/>
            <Property name="IV_DECISION" value="APPROVED"/>
            <Property name="IV_APF_VERSION" value="0500"/>
            <Property name="IV_WIID" value="${item.externalId}"/>
            <Property name="IV_MODE" value="APPROVAL"/>
            <Property name="FunctionModule" value="/SAPSRM/FU_WF_RFC_DECISION"/>
            <Property name="display_order_priority" value="50"/>
          </Properties>
        </Action>
        <Action name="com.sap.pct.srm.core.action.launchWD.conf.detail" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="Operation" value="detail"/>
            <Property name="ObjectValue" value="a=b&amp;sapsrm_botype=${item.BOTYPE}&amp;sapsrm_boid=${item.BOID}&amp;System=${item.systemId}&amp;sapsrm_wiid=${item.externalId}&amp;sapsrm_mode=${item.BOMODE}&amp;sapsrm_portalbaseurl=&lt;Portal.BaseURL>&amp;sapsrm_pcdlocation=&lt;IView.ID>"/>
            <Property name="ObjectName" value="conf"/>
            <Property name="System" value="SAP_SRM"/>
            <Property name="display_order_priority" value="30"/>
          </Properties>
        </Action>
        <Action name="com.sap.pct.srm.core.action.launchWD.oldwfl.conf.display" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="Operation" value="detail"/>
            <Property name="ObjectValue" value="a=b&amp;sapsrm_botype=BUS2203&amp;System=${item.systemId}&amp;sapsrm_wiid=${item.externalId}&amp;sapsrm_mode=DISPLAY&amp;sapsrm_portalbaseurl=&lt;Portal.BaseURL>&amp;sapsrm_pcdlocation=&lt;IView.ID>"/>
            <Property name="ObjectName" value="conf"/>
            <Property name="System" value="SAP_SRM"/>
            <Property name="display_order_priority" value="30"/>
          </Properties>
        </Action>
        <Action name="com.sap.pct.srm.core.action.launchWD.OldWFL" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="Operation" value="oldwfl"/>
            <Property name="ObjectValue" value="a=b&amp;System=${item.systemId}&amp;sapsrm_wiid=${item.externalId}&amp;sapsrm_portalbaseurl=&lt;Portal.BaseURL>&amp;sapsrm_pcdlocation=&lt;IView.ID>"/>
            <Property name="ObjectName" value="uwl"/>
            <Property name="System" value="SAP_SRM"/>
            <Property name="display_order_priority" value="30"/>
          </Properties>
        </Action>
        <Action name="com.sap.pct.srm.core.action.launchWD.conf.display" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="Operation" value="detail"/>
            <Property name="ObjectValue" value="a=b&amp;sapsrm_botype=${item.BOTYPE}&amp;sapsrm_boid=${item.BOID}&amp;System=${item.systemId}&amp;sapsrm_wiid=${item.externalId}&amp;sapsrm_mode=DISPLAY&amp;sapsrm_portalbaseurl=&lt;Portal.BaseURL>&amp;sapsrm_pcdlocation=&lt;IView.ID>"/>
            <Property name="ObjectName" value="conf"/>
            <Property name="System" value="SAP_SRM"/>
            <Property name="display_order_priority" value="30"/>
          </Properties>
        </Action>
    Thanks & Regards
    Sandeep.

  • Enterprise service for Approving/Rejecting Time sheets

    Hi All,
    I am searching for the Enterprise service regarding "Approving / Rejecting Employee timesheet by Manager", i am able to find the Approve/Reject leave request but not the time sheet. could any one please help me in finding these services regarding time sheets. I need these services names as it is high priority issue. or is there any other way to accomplish the same task ?
    Thanks,
    Rohan

    Hi Shrivastava.G,
    Thanks for the quick response, i will look and dwell into it and see if it's fit my requirements and award points accordingly. time being i am stuck in one more problem i was able to find the Enterprise sercvices for Changing timesheet and even displaying timesheet, but surprisingly we could not find the enteprise service for the initial basic requirement of "CREATING TIMECARD", where a user can enter and book the necessary hours on weeekly basis.
    i got these two enterprise service, but it does not fit our requirement:
    1) ECC_EMPLTIMEEVENTERPCRTRC
    2) ECC_EMPTIMSHEETCHGRC
    Any help on this would be much appreciated,
    Thanks,
    Rohan

  • BPEL Workflow Tasks - Assignees and how BPEL handles rejection of tasks.

    (JDeveloper 10.1.3.1.0)
    So I am curious about the following:
    1) When rejecting a task, can it go to the person that initiated the task? Or do we need to handle this through new tasks? Like in a while loop?
    2) Can we specify users and groups when selecting a management chain?
    3) How do we handle multilevel approvals? Seperate Tasks?
    The management chain functionality seems interesting. I would like to be able to create a management chain task so that we specify the user (initiator), reviewGroup, approvalGroup. If the Reviewer Rejects, then it would go back to the user. If the Approver in the approvalGroup rejects it, it would go back to the reviewGroup.
    This seems like standard type of functionality, but I don't think it is in this version of BPEL, or at least the JDev wizard interface.
    Any thoughts, suggestions, insights?
    Thanks,
    BradW

    While loop was the only way I could make this work... :) BPEL is pretty linear, not like a typical activity diagram...

  • Mass approval of Leave tasks..

    Dear Team,
    Is it possible to Approve all leave requests at a single go. If it is Possible, What needs to be done
    at WORKFLOW Part and What needs to be done at EP Part. Please specicy both coding and configuration part of them. Please help.
    Thanks a lot in advance,
    Sai

    Dear Surjith,
    Sorry for the late reply.
    I am currently working on EP7.0 and ECC 6.0. Please guide me on the step by step procedure to achieve mass approval of leave tasks.
    As said in the document about decision views, that it will help me in handling mass approvals and rejections. But does that mean that nothing sholud be done from Workflow or R/3 part. ?
    If that's so, please guide me how to implement decision views as in the document it sis not so clear and also our UWL is very much different from the one shown there.
    Please help.
    Thank you very much in advance,
    Sai

  • Direct Approval/Rejection buttons bid invitation

    Hi,
    The Direct Approval/Rejection buttons are disabbled while approving Bid in users Approval inbox.
    Actually I have activated wf 14500026, and the wf is only activated manually for the creator.
    I have added in tcode SWL1, tasks
    TS79007914
    TS79007919
    TS79007920
    and maintained the entry for Attributes EC_DECISION.
    however, buttons still disabled.
    Many thanks!!
    Patricia

    Hi,
    This is not my solution.
    Let me explain clearly
    1. After SC created, Buyer will add Bidders.
    2. Click on approval preview.
    3. It will be showing one concerned approver for Ex: ( MGR1)
    4. A mail will be sending to MGR1.
    5. After that MGR1 should log in and clicked on " approve all items " button.
    6. In the next screen it is asking final confirmation with YES/NO buttons.
    Here my requirement is " I need to be displayed a text above these buttons(YES/NO) ".
      So, Where do i need to do that, I mean where it is maintianing.
    Please do the needful...!
    I will be very much grateful to you..!
    Regards,
    Chandu

  • Approver not able to go detail screen to see approve / reject buttons

    Hello friends,
         Approver can see the corresponding workitem in his approval inbox. When click on the approval workitem next screen where approve / reject button with item detail screen is not coming. explorer is refreshing and approver workitem screen will appear again. I am in SRM 5.5 Server and SP13. please let me know if any one face this problem.
    with Regards,
    John.

    Hi,
    Please go to following SPRO node and maintain the settings as below.
    SPRO>SRM>Cross application basic settings>sap business workflow>define Dynamic columns for integarted inbox.
    Maintain the EC_Decision as well second attribute  ec_mail for below tasks.
    TS10008126
    TS10008127
    Then it should work.
    thanks
    Ravi

  • Approve/Reject from Outlook ?

    Hi,
    I got the requirement  that Send a mail to the outlook. up to this is fine. But the user wants to take decision from Outlook itself?
    How can we maintain Approve & Reject in Outlook. How the response will come back & Effect on the BO. Please explain?

    Akash,
    There are other ways to do it but the best way is to use Extended Notifications.  If your workflow task is a User Decision (it should be) then you can make the approve/reject links show in Outlook as follows: call SWNADMIN, go to Subscriptions, select the relevant subscription, go to the Message tab, near the bottom is "Show User Decision As". Set that to "HTTP Link", save it and you should be done.
    Hope that helps!
    Margaret

  • UWL Approve/Reject - Workflow Container Element

    Hello,
    I have a custom WF which uses a task copied from a standard. It is a User Decision task based on TS20000135 (Check Trip Facts).
    If the user rejects the trip he will need to Add a Memo which will be bound to container element AttachObjects.
    To test the existence of an attachment, I have a completion based on this field but I also need to check if the user pressed the "Send trip back for correction" or "Reject" button, otherwise he will also have to enter a memo in case he approves the trip.
    Anyone knows what is the WF Container Element that will contain the action value?
    Moreover, does anyone know what are the values for each action? (i.e. Approve, Reject, Send Back).
    Thanks in advance
    Antonio

    This value will appear in the task container of a decision task. I think it is of type SWD_LINES-RETURNCODE. I feel the container element is RESULT. This element gets created default in a decision task. Check the standard Decsion task 8267. Generally it returns a 4 digit number. Suppose you have 3 decision it will return 0001,0002 and 0003. Just analyze that Container Element in the task and you will resolve Ur issue. Test and find out which number returned is corresponding to your decision.
    Thanks
    Arghadip
    Message was edited by:
            Arghadip Kar

  • Workflow initiator does not get workitems when PR Approve rejects.

    Hi,
    Workflow initiators does not get workitems when PR Approve rejects.Is there any thing missing in that .
    Please let me know .
    Regards,
    Gurprit Bhatia
    Edited by: GURPRIT BHATIA on Jan 28, 2009 8:38 AM

    Hi GB,
    In order that the WF initiator gets workitems on PR rejection, you need to assign method 'InfoReleaseRejected' (BO BUS2009) to a task in the PR rejection flow of your WF. If this is done, then check if you have assigned WF Initiator as the Agent in that task.
    Hope this helps.
    Thanks,
    Ajay

Maybe you are looking for