Approval Step using custom webdynpro to use it in NWBC

Hi,
I have created an webdynpro application for employee approval process. I did configuration for each workflow task , so that it will open up webdynpro screen on each dialog step.  When we click on "Approve" button in NWBC, how my webdynpro applciation responds ( need to update some database tables). Do I need to implement any interface in my custom webdynpro to respond to events from NWBC POWL. Or Do I need to create approval buttons on my webdynpro itself ?  Please suggest me.

Hi,
Not sure I understand your question. However, the usual way to get information from a WebDynpro screen back to the workflow is either:
(1) reserve the workitem, update the workitem container directly (using its unique identifier - the WI_ID) and then complete the workitem
OR
(2) raise a terminating event for the workitem from the webdynpro
cheers
Paul

Similar Messages

  • MDM Approval Workflow - Send to previous step using API

    Hi,
    I am working on MDM 7.1 SP 07. I have integrated MDM workflow with UWL.
    I have written a custom web dynpro application to approve the workflow record using MDM APIs.
    I am able to accept the workflow task, mark it as APPROVED, mark as DONE and send it to NEXT STEP using WorkflowTaskAction.SEND_NEXT_STEP
    Similarly I am able to accept the workflow task, mark it as DISAPPROVED, mark as Done.
    Issue:
    When the record is disapproved, I can see the "Send to previous" step option in data manager.
    But I donot get the option "SEND TO PREVIOUS" in the mdm api. I expected something like WorkflowTaskAction.SEND_PREVIOUS_STEP
    Any idea on the correct apis to send to previous step?
    Regards,
    Durai

    Hi,
    I tried with WorkflowTaskAction.SEND_NEXT_STEP. But it is failing. Because once the record is disapproved and marked as done, SENT_NEXT_STEP is not enabled.
    I also checked the Workflow status. Once disapproved and marked as done, only PREVIOUS_STEP gets enabled in Data Manager.
    Are there any other options to send to previous step?
    Regards,
    Durai

  • How to use the Validate step for Approve step

    Hi Experts,
       I have modeled a workflow with the steps start,process, validate, approve, process and stop.
    Process is set to owner and approve is set to some other user user1.
       My requirement is as follows :
    1) Approve the records by approver and then it should send it to the next step for further processing
    1.1)  if the approver did not approve the record it should send a error message until the record is approved. So it should not send it to the next step when record is not approved
    I am using a field called item status for approving and disapproving the records. My validation is based on this field only... Validation working fine when i tested it manually.
    But my issue is when am using this validate step in workflow design validation is getting triggered for all the users.as per my requirement only approver should get the error message.But in my scenario owner is getting the error message and approver is not getting any message.
    How can i use the validate step only for particular step say approve in workflow.
    Can anyone please help me out how should use validate step only for approve step...
    Thanks & Regards
    Sireesha.
    Edited by: sireesha esukapalli on Jun 17, 2008 2:48 PM

    Hi ,
      I have set the validation property to "None".
      My design is as follows :
    start->process->validate->approve->stop.
      Owner is assigned to process step and approver is assigned to approve step.
    Now my problem is owner is also getting this error message along with the approver. AS per the design both process, approve users are getting the error message.
    As per my requirement only approver should get this prompt but not the owner.
    How can i restrict only for specifc user to get this message.
    Can anybody please advice how can restrict the owner to not get this error message...
    Thanks & Regards
    Sireesha.
    Edited by: sireesha esukapalli on Jun 24, 2008 2:18 PM

  • Customize SP2010 OOTB approval workflow using SP designer

    Hi,
    Even though it has been long time i raised the following question:
    http://social.msdn.microsoft.com/Forums/office/en-US/1efa6726-5790-4930-9520-4ef6398c503c/customize-ootb-approval-workflow-using-spd-2010?forum=sharepointcustomizationprevious
    but i never created the workflow using the proposed solution until now. After doing some testing i can verify the proposed solution doesn't work for the following reason:
    1.If i use 'user who created current item' and at the time of submitting the workflow add a different user email address in the 'Approver' field. It doesn't assign task to the user who has been manually added into approver field. It would still assign the
    task to the user who created the current item which is incorrect.
    2.If i use 'user who created current item' and a user who created the page has moved from his/her role, when submitting the workflow manually, the system will assign the task to the user who created the original item not the one who has just modified the
    item
    Ideally we would like to add the 'Approver' when submitting the workflow manually. Is there any other way of doing this? or i have tried the following:
    Copy default approval workflow -> Edit Workflow -> Initiation Form Parameters -> Modify Approvers -> Change 'Collect from parameter during:' to Initiation (starting the workflow) -> Next -> Finish -> OK -> Save -> Publish
    This lets you add the approver and would assign the task to the correct user. Is this a correct approach?
    Any help would be appreciated.
    Regards,
    Kash

    By collecting the values during initiation, you would be able to make it work correctly.  The only down side to this approach is that there are no default values, but that's a small price to pay for a working process.
    If you tested this and it works correctly, I would say that you have a good solution without having to dive too deep into custom code.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • PO document total validation with approved PR used while creating PO

    Hi,
    Requirement :
    Need a validation over document total in refeerence to approved PR used to create purchase order. so that NO PURCHASE ORDER would be created in system for more than approved value of purchase requistion.
    Any ceeded control to achieve this ?? or any workaround suggestion.
    Regards,
    Ravi Malhotra

    For information:
    We are not using incumbrance ; so please consider this while replying.
    Thanks, Ravi Malhotra

  • Online purchase request(PR) approval application using Blackberry.

    Hi,
    We are having ECC6.0 ABAP stack and have to implement Online purchase request(PR) approval application using Blackberry.
    Please provide related information.
    With Request,
    Krishna.

    Hi Venkat
    below links will help you regarding your quarry
    http://help.sap.com/search/highlightContent.jsp
    http://help.sap.com/search/highlightContent.jsp
    http://help.sap.com/search/highlightContent.jsp
    Regards
    Bandla

  • Which case in LV Oper. Intf. will do "Run Selected Steps using single pass" for me?

    I added a button to simulate "Run Selected Steps", but I really want a button that will "Run Selected Steps Using Single Pass". Which case in the Complex Labview Operator Interface does this for me? What I really want is the report to be generated which happens when I use "Run Selected Steps Using Single Pass" but no report when I select "Run Selected Steps".
    Thanks!

    I figured out how to make this work.  Instead of calling the Sequence File View Manager ConnectCommand method using the Run Selected Steps button and the CommandKind_RunSelectedSteps command kind, you use the CommandKind_RunSelectedStepsUsingEntryPoints_Set command kind.  The tricky part is that before you can use the ConnectCommand method with the CommandKind_RunSelectedStepsUsingEntryPoints_Set command kind, you have to create a set of new commands.  Do this by first invoking the Application Manager method NewCommands.  This method returns an empty set of commands.  You must then add a new command to that set.  Do this by invoking the InsertKind method on the empty set of commands using CommandKind_RunEntryPointOnSelectedSteps for cmdKind, Sequence File View Manager for managerControl, -1 for insertBefore, and empty strings for currentMenuName and allMenuNames parameters.  Once you have made these calls, then you can call the Sequence File View Manager ConnectCommand method using the CommandKind_RunSelectedStepsUsingEntryPoints_Set command kind.
    The previous instructions work just the same for the Loop On Selected Steps button.  Just substitute the CommandKind_RunEntryPointOnSelectedSteps and CommandKind_RunSelectedStepsUsingEntryPoints_Set command kind constants with CommandKind_LoopEntryPointOnSelectedSteps and CommandKind_LoopOnSelectedStepsUsingEntryPoints_Set command kinds (and of course use the Loop On Selected Steps button reference instead of the Run on Selected Steps button reference when invoking the ConnectCommand method).
    There is one mystery with this solution that I haven't figured out yet, besides the fact that it is so laborious and non-intuitive to me (but at least it works).  Nowhere in any of the calls detailed above did I ever see a parameter to specify which execution entry point to use.  I am using the default sequential model entry points Test UUTs and Single Pass.  Typically you specify which entry point you want to use (such as when invoking the ConnectCommand method) in the form of an index to a set of entry points where the Test UUTs entry point corresponds to a set index of 0 and Single Pass corresponds to a set index of 1.  How did the previous calls determine which entry point to use when I didn't specify anywhere which one to use?  Do this just work because you can only run or loop on selected steps using no process model or the Single Pass entry point?

  • Multilevel dynamic approval process using precondition loop block

    HI,
    I am trying to create a multivel dynamic approval process using a precondition loop block. The structure of my process is,
    Process->1)Sequential Block containing requestor action->processor of requestor action is initiator
                2)Precondition Loop Block containing
                        i)Loop Decision action containing a business logic callable object
                        ii)Loop Body Block containing Approver action-processor of approver action is filled from context parameter
    The loop decision action implements the logic for loop decision. Can anybody help me by suggesting the proper target of each of these actions, and the processor for loop decision action?
    Whenever I am initiating the process, the requestor action is getting executed,  On completion of this action I am getting a message "No activity is currently selected", that is, it is not entering the precondition loop block.
    Please guide me with the proper process flow of this and how to adjust the roles and parameters
    Thanks,
    Swaralipi

    Posted another thread on the same issue

  • In LabVIEW OI the Run Selected Step Using Test UUTs does not work

    TestStand LabVIEW Operator Interface (old style) - TestStand Version 2.0.1 & 3.0
    The Interactive option was enabled for the Process Model Entry Point - Test UUTs in the SequentialModel.seq.
    When selective steps were selected to run within the LV OI using the menu item 'Run Selected Step Using - Test UUTs' it was found not to work.
    The reason for it not working was because the main event string was "Run Selected Step 0" but this isn't available in the case statement. Changing the "Run Selected Step 1".."Run Selected Step 9999" to "Run Selected Step 0".. didn't produced the desired result. Instead of the selected steps running using the entry point Test UUTs, the steps ran without the process model.
    The Case Statement string was retored back to "Run Selected Step 1".
    The changes that are required to make the "Run Selected Step 1".."Run Selected Step 9999" work with either of the Entry Points are as follow.
    In the VI TestStand - Create Entry Point Menus for Interactive Exec.vi
    Insert an Increment from the iteration terminal of the FOR loop. This ensures the Message Queue string generated is in the range 1 - 9999 not 0 - 9999.
    In the TestStand - Sequence Display.vi
    For the Main Message Event "Run Selected Steps", "Run Selected Step 1".."Run Selected Step 9999"
    In the case "1, Default", decrement the input 'Entry Point Index' to the VI TestStand - Start Interactive Entry Point Execution.vi. This ensures the Entry Point Index starts from the value 0.
    Now when the selected steps are run using a Pocess Model Entry Point, they run correctly.
    This problem only appears to affect the LabVIEW Operator Interface and only the old style. The new style that comes with TestStand 3.0 runs correctly.
    There is one other problem. When an Operator is logged in to TestStand, the Entry Point - 'Single Pass' is disabled. But this is not reflected to the menu item 'Run Selected Step Using'. Both 'Test UUTs' and 'Single Pass' are available to the operator.
    The reason for this is because in the VI 'TestStand - Create Entry Point Menus for Interactive Exec.vi' the sub menu item is enabled as a result from the property Sequence.AllowInteractiveExecutionOfEntryPoint. This is not enough to disable the 'Single Pass'. The Engine.CurrentUserHasPrivilege needs to be checked as well. Which means modications to the VI 'TestStand - Create Entry Point Menus for Interactive Exec.vi'.
    Hope is maybe of help to anyone that may need to use this option.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    In_Labview_OI_-_Run_Selected_Steps_Using_Test_UUTs_doesnt_work.txt ‏3 KB

    Thanks Ray for the "heads-up". )
    I am about to implement a vi which calls TestStand functions. This vi will allow to select tests and permits test re-entry (loops) if the user has supervisor privileges.
    I will consider what you recommend in this string.
    I will also provide feedback on this thread if I discover anything .... let's say "unusual"..
    On another note, I am using TestStand 3.0 I have not observed any problems when running selected steps or run selected steps using single pass. I have also within TestStand set privileges for certain Operators to do the same. They have not reported any problems.
    Thanks,
    JLV

  • BAPI step by step Using CATSDB table full point if useful

    BAPI step by step Using CATSDB table to folder
    full point if useful

    Hi,
    "Steps for Creating a BAPI:
        1) Create a Function Module in SE37 and assign it to an active Function Group.
    (Check Remote Enable in attributes section)
        2) Fill the Import (Input) Parameters for the RFC
        3) Fill the Export (Output) Parameters
             (BAPIRETURN IS MANDATORY)
        4) Fill the Table parameters, if any
        5) Write the “functionality” in the source code
        6) Activate and Release the Function Module"
    Thanks
    Srinu

  • Importing date UDF's to activity steps using SDK

    I an having difficulty importing/exporting UDF date fields on activity steps using the SDK.  Text UDF's are no problem but any other type of field is not recognized.  No errors are generated.  Any suggestions?

    Hi
    It is not possible . In 8.8 OINM is a view you can't add UDF to it .
    Regards
    Arun

  • 2 level approval workflow using spd 2010

    Hi,
    I have to create 3 level approval workflow using sPD 2010, 
    1) User raises request --> Email goes to approver1 & Task assigned to approver1 --> If approver1 approves Task should be assigned to approver 2--> If  approver2 approves--> Task should be assigned to approver3 & Email Notification-->
    If approver3 approves workflow should complete & email goes to request initiator.
    Could you please let me know the exact steps

    Hi ppatil,
    According to your description, my understanding is that you want to create a workflow to assign tasks to different levels people in SharePoint 2010 Designer.
    To achieve it, I suggest you use the built-in approval workflow 2010 template.
    You can do as the followings:
    Open the library
    Click Library-> Settings->Workflow Settings->Add a workflow
    Select the ‘Approval-SharePoint 2010’ template, and type a name for this workflow
    Select the start options, and click Next
    For the Approvers, type your approvers as the order approver1, approvaer2, approver3, and the Order is ‘One at a time(serial)’
    Select ‘End on First Rejection’
    Click Save
    Then if you start the workflow, it can be workflow as your description.
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Cancelling a Approval Task using Designer 2010

    I created an Approval Workflow using Designer 2010. The workflow sends out notifications emails to approvers. But what if I want to cancel the approval task after the email has been sent out. I mean I don't want user to be able to approve the List Item.
    Is there something I can change in the Designer 2010 code to make that happen. Thanks so much!
    Regards,
    mayank

    Hi Kapil,
    Thanks so much for your response. I have a document library and it has a column called CE Status.
    When a task is assigned, the CE Status becomes "Media Relations in Progress" for instance. That is one of the stages. There is a group called Media Relations that will receive an email to approve. Once approved, the logic in my code changes the
    CE Status. It goes to next stage and sends out an notification email to the next group.
    I want to create a separate workflow that will cancel any pending task. So some selected user should be able to cancel the task. In that event, the assignee (Media Relations for instance) should not be able to approve the document via the email they originally
    received.
    Mayank

  • Approach to create a generic Approval process using SOA human workflow ?

    Hello Experts,
    I'm looking to create a generic approval process using oracle soa human workflow component using JDev 11.1.1.5
    Have about 7-8 existing applications which do some kind of 'approval' . So need to create a generic solution for all 7-8 applications, instead of users logging into 7-8 different applications to approve by logging into different systems. Just want to have like a 'one stop shop' , where i can just go and approve for any application without having to log into separate applications.
    I'm looking to get some suggestions and ideas, on how I can achieve this functionality ... Any suggestions/ideas are appreciated .
    Thanks a lot.

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Creating LabVIEW module adapter TestStand Steps using the API without loading module prototype???

    Is it possible to programatically create a TestStand step (using the API), that calls a LabVIEW module, without loading the prototype of the module to get a reference to the Module Parameters.
    I want to specify a VI Pathname, but I dont want to use that pathname to load the prototype.  I want to programatically specify the name, type, representation etc. of each of the controls and indicators.
    My reason for attempting this is that I only want the VIs called by the steps to exist on the target hardware not on the numerous development machines running my application.
    Any thoughts greatly appreciated.
    Steve  
    https://decibel.ni.com/content/blogs/DailyCLAD

    Hi Steve,
    Unfortunatly it is not possible to do what you want within Test Stand but I am not sure why it is necessary, I think I am understanding your application incorrectly.  The only time you will need to load the prototype is if you are creating the step but if you are creating the step you will need the VI that the step calls so that VI will need to be present on the system.  If you are not calling the step then you shouldn't need to load the VI prototype.  If this is how you program funtions it may be a problem with your architecture but if not please could you correct my misunderstanding so that I can go about finding a suitable solution.
    Regards,
    Tom
    Applications Engineer
    National Instruments UK & Ireland

Maybe you are looking for

  • Check payment cancel after transferring the balances to SAP

    Hi All, Need your confirmation on below My Client have processed a payment to a Vendor before they move on to SAP. Means, while they were on Legacy. Now they want to cancel the payment after migrating to SAP What are the possibilities to overcome thi

  • BAPI_SALES_CREATEFROMDAT1 is not working for following case

    dear friends,       I have created a function module for creating sales order in BSP page. Because i dont want to include all the structure in BW system. so i just pass required parameters and i will only sales order from that function module. so whe

  • Oracle10g database performnace at unix to windows

    how is oracle10g database performnace at unix to windows which one more useful which one more performance how can we compare them thanks ömer faruk akyüzlü

  • ANE Android override Activity onNewIntent()

    Hi, I'm trying to create an NFC extension to be informed when a Tag is detected by the NFC sensor. I guess i have more or less everything i need, expect that onNewIntent override. In the JAVA samples i saw, as soon as we call enableForegroundDispatch

  • Form To Be Returned As A PDF

    My ultimate goal is to have an interactive form returned by email include the completed form with the data. I would prefer not to have only the data returned but I want the form to be returned (to [email protected]) already populated with the data fr