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

Similar Messages

  • Approval Workflow: "Send By Email for Approval" not available in Comments Menu

    Im using Acrobat 9 Pro (9.4.1) but still have Acrobat 8 Pro (8.2.5) installed as well. I'm attempting to initiate an approval workflow utilizing the approval stamps but I'm not finding the "Send by Email for Approval" option under the Comments Menu or under the Comments button in the Task bar in either version of Acrobat Pro.
    Not sure what I'm missing on this end, either in the install of either version or if I, myself, am just not getting this process. The Review process is great and works as it should but I'd like to incorporate the approval process as well if possible in to our internal workflow.
    Thanks.

    Approval workflows are available in Traditional Chinese, Simplified Chinese, Japanese, and Korean only. Refer to http://help.adobe.com/en_US/Acrobat/8.0/Professional/help.html?content=WS62EA03B6-4B99-457 c-8A3C-06FDB463E293.html

  • Workflows error on any step using a rule but then re-start ok via SWPR

    Hi all,
    I have transported some workflows from SAP 4.6C (where they work ok) to SAP ECC 6.0 where I'm having the following problem -
    All the workflows go into error at the first step they encounter which uses a rule in the agent assignment.
    The workflows can all be restarted and complete successfully when they are re-started via SWPR.
    Any suggestions on how to fix this ?
    Thanks
      John

    The error message from the workflow log is ...
    <b>Message Text         Error when processing node '0000000017' (ParForEach index 000000)
    Exception            8987]
    </b>
    The problem only occurs when I create the object (e.g. invoice) under a particular username. I was always re-starting via SWPR under another username which completed the workflow successfully so I think the problem is just to do with authorisations.  I will look into this some more.
    Thanks anyway
    - John

  • Approval workflow in SharePoint foundation 2010

    Hello Experts,
    I'm using SharePoint foundation 2010. Can someone help me understand the procedure for creating the approval workflow for a doc library using the SharePoint designer 2010. It would be great if you can guide me the step by step procedure for setting up this
    workflow.
    Thanks. 

    Hi rebel537,
    As you described, you are using SharePoint Foundation 2010. There is no “Start approval process” action when you edit SharePoint Foundation 2010 workflow in SharePoint
    designer 2010.
    I suggest you using “collect data from a user” action instead of “start approval process” action to complete the approval task. There is a demo for your reference.
    1.  
    Open the SPD, navigate to the workflow edit zone. Select “collect data from a user “action.
    2.  
    Click data, in the pop-up window, click next and enter the task name for the approval workflow.
    3.  
    Click next, define the fields for the task, for this demo, there has a field “approval result”.
    4.  
    Then click finish.  Back to the workflow edit zone, click user, in the pop-up window, select the user for the task then click finish ,back to the workflow edit zone.
    5.  
    Add a condition (if any value equals value) after the action.
    6.  
    Click the first value, and then click Fx, there goes to a pop-up window, enter as below.
    Data source:  Association: Task List
    Field from source: Approval Result
    Field: ID
    Value:  Variable: collect
    7.  
     Set another value to “Yes”, add the action” set workflow statue”, set it to approval.   Add an If-Else branch, set the workflow statue to reject.
    8.  
    Publish the workflow, and use it for the approval purpose.
    Thanks,
    Simon

  • Trying to set up an out of the box SP 2010 approval workflow that doesn't generate warnings or errors

    I have a custom list for which I want an approval workflow.  There is only going to be one stop for the approval - creating an item is a request to a person for a new code to be created. 
    If I do not turn on content approval, then I get the message:
    The workflow could not set content approval status. Enable content moderation for this list and run the workflow again.
    When I turn on content approval, then when the users go to the custom list to create an item, they see this message:
    Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights.
    Surely I am missing something obvious. I just want a standard SP 2010 form without warnings to gather info from the user, then to create a workflow task that sends a person an email that they need to approve or reject the request.
    The second message is going to cause questions from the users. The person who has to approve the tasks wants to be able to see what requests are awaiting approval vs approved vs rejected.
    Is this something that is not doable in SP 2010?

    the "Approval Process" step is designed for manipulating the "Moderation Status" (Content Approval status) of a list item... What you are seeing is DESIGNED behavior.
    When Content Approval is enabled, content changes are not made public until they have been approved. The Approval workflow sends the email to a manager, who is supposed to approve or reject the change.
    If Content Approval is DISABLED, there is no point to the workflow.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Automatic approval workflow does not work anymore

    Hi,
    Our automatic approval workflows configured via standard business configuration sets (process controlled) do not work anymore. They did work previously.
    After changing the BUS objects 'automatic approval' workflow into the 1-step manager approval workflow it does work.
    - The 'automatic approval' workflow does not seem to generate a workitem, the bbp_pd 'workflow' part is empty. In addition previously approved documents via 'automatic approval' do not contain workitem details via bbp_pd either anymore.
    - We applied a new SP (SP07) not that long ago.
    - These documents go into status: 'awaiting approval', the documents 'approval' details tell us the following:
    001 Automatic Approval Valid (Can be Started) Open (No Decision Made) SYSTEM system
    However the system does not execute the task, how come? What normally ensures the system executes these 'automatic approval' tasks (report?)?
    Any input is very much appreciated.
    Kind regards,
    Tim

    Hi Balaji,
    In SRM 7.0,
    Our automatic approval workflows configured via standard business configuration sets (process controlled) do not work anymore. They did work previously.
    - The 'automatic approval' workflow does not seem to generate a workitem, the bbp_pd 'workflow' part is empty. In addition previously approved documents via 'automatic approval' do not contain workitem details via bbp_pd either anymore.
    - - These documents go into status: 'awaiting approval', the documents 'approval' details tell us the following:
    001 Automatic Approval Valid (Can be Started) Open (No Decision Made) SYSTEM system
    However the system does not execute the task, how come? What normally ensures the system executes these 'automatic approval' tasks (report?)?
    Any input is very much appreciated.
    Regards,
    Shears

  • Nstep approval Workflow

    Hi,
    Please let me know how to configure the N step Approval Workflow for Shopping cart in SRM 5.0
    Also, which BADI is used for the same and how to implemet it.
    Regards,
    SK

    Hi SK,
    Check if this link helps. Its for SRM 4.0 but I think the navigation should remain same.
    Re: SRM 4.0 PO Approval Workflow
    Also,
    Re: n step approval hybrid with Item level approval
    Regards,
    Saumya

  • Step using old measurement data

    I have a strange problem.
    I have a test sequence which runs correctly for several previous steps, using VI's
    Then it comes to 2 steps test (multi numeric) which calls the same VI (once in each step), output of VI is a 12 element numeric array.
    Now these steps are failing because the measurement used seems to be old data (i.e. the first step is using the measurement from that VI from the last sequence run, and the second step is using measurement from the previous step)
    I know the VI is returning the correct data, beacuse i put in a break point & watched it.
    And i know that VI data is initialised before returning the measurement.
    Its really crazy. None of the previous steps using other VI show this problem. And i can call the VI in question manually and it returns correct data.
    Any ideas?
    Labview 2010, TestStand 2010

    If you are using the same VI's on different steps and dont unload the step after its completed, this willl mean your VI stays in memory and any values on controls and indicators will remain from previous calls unless ofcourse you pass new data on the all the controls, or initialise any unused controls. Like wise on indicators make sure you initialise these, so for instance if you dont empty the output array or completely over write the indicator with the same number of elements as in previous calls you may see old data pass back to Teststand.
    Do you pass the error cluster out, maybe you are getting a error and if you are not passing this back to teststand maybe you are seeing old data because of an unseen error.
    Just a couple of thought.
    Regards
    Ray Farmer

  • Edit Approval Workflow - Task Rejection Email

    How can I Edit Approval Workflow - Task Rejection Email?

    Hi Sunil,
    Thank you for your posting!
    According to your description, my understanding is that you want to edit the Task Rejection Email for your Approval Workflow. Please take steps as below:
            1.Open your site in the SharePoint Designer, go to Workflows->open the workflow you want to modify ->click the Approval->click on “Change
    the behavior of the overall task process” in the Approval editor page.
            2.Find the Step “When the Task Process Completes”-> “Set workflow status to Rejected.”
            3.Add two “Set Workflow Variable” from Action on the ribbon,Click on “workflow
    variable” then select “Variable: CompletionMailTitle”(editing the email title) and “Variable: CompletionMailReason”(editing the email body).
             4.Scroll below and click on the last action – “Email Workflow Context: Initiator” under “Else”,remove
    the first line.
    Reference:
     5 Steps to Enhance SharePoint 2010 Approval Workflow
     step 4
    Thank you for your understanding and support.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Send an email to previous approver after rejection in OOB Approval workflow

    Hi all,
    I have created OOB Approval workflow with two approvers.
    If first approver rejects then i want it to send an email to the requester. 
    If second approver rejects then i want it to send an email to the first approver as well as requester?
    Is there any way to acheive this? 
    And same should happened when document is approved
    Also how to identify that the first approver has completed their task? 

    Hi Trupti,
    you can do that using SharePoint designer workflows:
    you can do that by putting the actions in the complete condition so you check who approved it and based on that you do the actions of sending email so it will be if conditions and where to put that in here
    http://bobbyspworld.com/2013/02/08/5-step-to-enhance-sharepoint-2010-approval-workflow/
    https://support.office.com/en-gb/article/Use-the-task-process-editor-for-approval-workflows-8680b4a4-36b1-441c-b070-e515976078aa
    <section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Completion conditions for the task process
    When you click the completion conditions, you’re taken to a full-page workflow editor where you can add or change the completion conditions that for the task process. Specifically, these actions
    will run every time an individual task is completed. You can customize the logic here using the workflow commands in SharePoint Designer, like conditions, actions, and else-if statements. You can also add task behavior actions, like the Set Content Approval
    Status and End Task Process.
     Top
    of Page
    </section><section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Behavior of a single task
    From the summary page, if you change the behavior of a single task, you’re taken to another full-screen workflow editor where you see the individual task events, such as when it’s assigned, pending,
    expires, and so on. Specifically, there are five events:
    Before a task is assigned: These actions run before every individual task is created.
    When a task is pending: These actions run after every individual task has been created.
    When a task expires: These actions run every time an individual task is incomplete after its due date.
    When a task is deleted: These actions run every time an individual task is deleted before it’s completed.
    When a task completes: These actions run every time an individual task is complete.
    You can add any of the available conditions and actions, and you can add several more task behavior actions this time, like append, delegate, escalate, and reassign. You can even add task notification
    emails and wait for changes in a task process item. The available task behavior actions change depending on the event you’ve selected.
    </section>
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Step should not be executed in PO approval workflow..

    Hi Guys,
    The PO approval workflow has a sub-workflow for the series of approval levels to be approved.
    Now the very first step is "Get DeadLine Dates" where we calculate three deadline lines date to send reminders to approver on 2, 7,14th day.
    Now when the deadline date has reached the flow goes to a branch where input is the workitem id... and it execute fine there..
    but when the mail has been sent the user opens it to approve it... but there either the system hangs or gets stuck in the mail or it doesnot approve it ...
    But when user opens the original mail... i.e. the first mail sent for approval .. he can open and approve it successfully...
    Now that client wants to stop sending reminders for sometime so that meanwhile i can work on the above issue..
    1)So I am confused that how will I stop this branch by executing.
    2) is it that my first step "get Deadline dates " binding should be removed..
    3)How will I stop sending reminders ..
    Next point is: what had happened before why was the approvers not able to approve it..
    Regards,
    raj

    It seems that you are trying to execute a workitem from the emails that has already been executed. Please note that you cannot open a workitem that has already been completed by others. I dont think email gets deleted from Lotus Notes or outlook when you process the workitem.
    <b>Reward points if useful</b>

  • 1-step SC approval  workflow - error awaiting approval

    Hi all,
    I am configuring 1-step SC approval  workflow but it gives me the status as 'awaiting approval' when i click on check status of SC and the 'Manager'[user] doesn't receive the mail. can someone help me on this?
    Regards,
    roopesh

    Hi Roopesh,
    *) activate SAPCONNECT (Transaction SICF)
    ) Transaction SCON - define node SMTP (specify mail server, port, codepage, internet as supported address, "" as address area
    *) define job for mail sending
    *) assure that all users have e-mail in their master record
    *) maintain domain using transaction SCOT.From menu -> Settings ->Default Domain. ( eg ibm.com )
    *) In the attribute of person in organization structure  FORWARD_WI should be 'X'
    *)Schedule a report RSWUWFMLEC to send E-mail notification for new work item
    this wil help
    smita

  • Workflow send email using username

    Hi,
    I have a Travel Workflow
    The scenario is After approval, the mail has
    to go to 3 person (TimeAdmin, HRAdmin, ReportAdmin).
    We have written 3 Funtion modules that return the
    USERID (SAP-USERNAME) like the SWX_GET_MANAGER.
    I am not aware about the procedure of how to use
    "SEND MAIL" step or "ACTIVITY" step to use?
    I have create New Methods for the 3 FMs in the ZBUS2089
    object.
    I have also linked the Task to the FMs, but where to
    assign and procedure, i do know.
    Pls let me know.
    Regards,
    Boobalan.

    Hi,
      In workflow template have a activity before sending the mail in that activity you create a task and call the function Module which you have used to determine the user and pass the user name to the method container(parameter) and this should be an export parameter. create another workflow container which gets the user name. create another steptype to send mail in which use the workflow container for receivers.
      Hope this could help you.
    Thanks,
    Prashanth

  • Single step workflow with multiple approvers (without using a group)

    Hi,
    is it possible to have a single step workflow with multiple approvers without using a group? This is for a contract document.
    i want to add a number of users based on particular logic. The approvers are random and do not belong to any particular group.
    DO let me know if it is possible or if any of you have done that.
    thanks in advance.
    regards,
    rubio

    Hi Rubio,
    I believe the behavior would be, if individual users are added as approvers then the system would require each approver to approve the document. However, if you use the user group, you could set the role so that it would be either ALL or ANY.
    Regards,
    Vikram

  • How to go back to previous step in a sub workflow?

    We are calling a sub workflow upon approval action from a main workflow. In the child workflow we have 9 steps. If at any step in the child workflow (other than first) user does reject action, the workflow control should go back to previous step in the child workflow itself.
    We added a custom action in the exit events of all the child workflow steps. Following is the logic of exit event of Step4 of child workflow. Similar logic is there for all steps in the child workflow.
    <$if wfAction and wfAction like "REJECT"$>     
         <$wfSet("wfJumpTargetStep", "Step3@childWF")$>
         <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    With this code when the user is doing reject action from child workflow, it is taking us back to the main workflow and not to the previous step of child workflow.
    Is this approach correct?
    -Pratap

    1. The 3 events are Entry, Update, and Exit.
    2. Rejects happen in the Update area but you can not reliably react to it there because upon reject it immediately leaves (not going through the exit event).
    3. The rejected content goes backwards in the Workflow step by step (even going back to the main workflow from a sub workflow) until it finds a Step that has valid Editors (not just reviewers).
    4. If it does not find an Editor step it goes all the way back to the automatic Contribution step at the beginning of the Workflow and sits there in a kind of no mans land until the contributor (or an admin) goes and approves it again.
    5. To check if something has been rejected the Entry Event of an editor Step BEFORE the step where it is rejected needs to have code to check for the Reject status.
    The sub workflow should be able to capture the Reject as you desire. Are all of the steps in the child workflow (sub workflow) Review only steps? Or maybe the people in the steps do not have RW access to the document? This is what I would predict with your described symptoms.

Maybe you are looking for

  • Creation of Transfer order with multiple materials at a time(no reference)

    Hello All, Can you please tell me  the transaction to create transfer order (TO) with multiple materials, LT01 has the abiity to create only one material at a time, any transaction available to create with multiple materials ? Please reply. Thanks Jo

  • How to do where clause within the where clause?

    Hello. I have had a look in the previous postings, OWB help and user guide - and can't seem to find how to do the following in OWB: insert into table A (col1, col2, etc) (select col1, col2 etc from table B where col2 is (select col3 from table C wher

  • Billing block on DNs is for a regular invoice

    Hi I am facing an issue of billing block on Delivery Note for regular invoice. The customer is not getting the invoice after we ship the part. the issue here is that the part the customer wants had to be pulled from "inter company nad The "inter-comp

  • Variable DRIVERPATH is undefined Error

    I have just installed coldfusion mx 6.1 developer edition on vista ultimate. The installation went fine. However i get an error when adding a datasource in access or verifying all connections. On adding the datasource, i get the following error. Unab

  • Why do I receive error code "-1074118644" when trying to initialize the 2532 Matrix?

    I am using the VI "IviSwtch Initialize With Options.vi". I created a logical IVI name (MATRIX), and am passing the following option string: "Simulate=0,RangeCheck=1,QueryInstrStatus=0,Cache=1,DriverSetup=Topology:2532/1-Wire 4x128 Matrix". I tried va