Completion of one workflow is triggering another workflow

Hi Experts,
I am facing a wierd issue. I have created a workflow to approve/reject a contract. In the start condition I have maitained a container attribute to check is the agent is not WF-BATCH AND activity type = 00001under conditions  there is only one event that is triggerred in all scenarios.
Also to remove the workitem for the approvers inbox when the contract is settled/reversed directly from the transaction i have used an event step and a process control step within a loop.
Everything is working fine in development system, but im facing a weird issue in QA.
Once the workitem is approved the workflow is completed, but it is starting another workflow for the same contract number and when i check the containers that i hv used under conditions, those do not match.
i.e the agent is WF-BATCH and activity type = 00000 . Then how come the workflow is started again ?
Can any1 help.
BR,
Aaarvi.

Hi Swami,
Thank you for the quick response.
I just found that, in my development system in event linkages a check fucntion module SWB_2_CHECK_FB_START_COND_EVAL is used, whereas the same is not used in QA.
Can this be causing the issue by any chance?
Aarvi.

Similar Messages

  • Workflow 2013 start another workflow 2013

    In an existing workflow 2013, I need to lower the permission levels of a user so that they can not modify a custom listed after it as been submitted. Thus I am thinking of having he first workflow 2013 start another workflow 2013 before the permission level
    of the custom list item is lower.
    Thus can you tell me how to do the following:
    1. Have a workflow 2013 start another workflow 2013.
    2. After the first workflow 2013 is started, have the first workflow not expect the 2nd workflow to run any results. The first workflow will basically end right after it lower the permission levels of the user that submitted the custom list to workflow 2013.

    See these links
    How
    to trigger a SharePoint 2010 workflow from a SharePoint 2013 workflow
    Sharepoint
    2013 workflow to automatically trigger another workflow to start
    call one workflow from another workflow
    Useful Sharepoint Designer Custom Workflow Activities
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Complete workflow tasks before starting another workflow.

    Hello everyone
    I have a requirement in my project and i am not sure how to do that task in best possible way.
    I have a reviewer workflow where i will be creating approval tasks for 'n' number of reviewers (the reviewers we get it from initiation form).
    For example
    I have 4 reviewers and there will be 4 approval tasks (1 for each) that will be created and if I have a reply percentage (the people who reviewed
    the tasks assigned to them) set to say 50%. 
    Then if at least 2 reviewers are sending reply for the tasks assigned to them then
    we can start another workflow manually and when that new workflow is starting we should complete all the tasks that are in progress for the review workflow
    If there are only 1 reviewer or no one is sending reply then we should not allow
    the new workflow to start and if anyone try to execute the workflow manually we should say “Minimum number of reviewers had not replied to the tasks assigned to them so we cannot start the workflow now. Retry later”.
    How to achieve this requirement? I already developed the 2 workflows that I discussed here and it is working correctly. I simply need to create this dependency condition
    between the 2 workflows as I discussed here. Please suggest me the proper way for achieving my requirement.
    Thanks
    K.Anantha rengan

    Hi K, the only way I can see this working is if you make the second workflow automatic, and have it start when the number of approvals reaches a certain number. This number would have to be in another column (possibly a calculated column).
    cameron rautmann

  • Move a folder, sub-folders, and documents under that folder from one document library to another within a Workflow

    Hello,
    I'm building a workflow in SharePoint Designer 2010 (Unfortunately we are not on 13 yet), and in that workflow I need to move a folder (with all it's sub-folders and items) from one document library to another document library.
    I tried a copy item but that kept failing, I checked content type, columns, and permission and it all looks good.
    the other option I started looking into is to Create the folder in the document list and them move all the items under that folder to the new folder. However I can't figure out how to loop through each items in that folder.
    Has this issue been addressed? or does someone has a solution.
    I looked and searched and all I found was tutorials on moving single items into a folder, but not entire folders.
    Thanks
    Hani

    Why to take pain in creating a workflow that copies folders, sub-folders and all of its contents from one document library to another.
    Simply open your source and destination document library in Windows Explorer mode and start copying your folder, sub-folders and contents that you want to copy out of the box.
    You will find "Open with Explorer" button under the Library tab on the ribbon of document library.
    Please remember to click 'Mark as Answer' on the reply if it helps you

  • Move Files from one document set to another document set using workflow

    Hi All,
    Env : SP 2013 Server - SPD 2013.
    I'm trying to make a SPD Workflow that must copy a  files from one Document Set to another Document set in the same library other document library  
    Does Someone already get success for Copy  files from one Document Set to another Document set?
    Thanks for your help.

    Hi,
    According to your post, my understanding is that you wanted to move Files from one document set to another document set using workflow.
    I recommend to use the custom workflow activity  Copy List Item Extended Activityto
    copy files to another document set.
    You can do this with codeless SharePoint Designer workflows as long as you can install the
    Codeplex Custom SharePoint Designer Workflow Activities. 
    These activities are also built-in to SPD2013. However, you can only use the custom activities in the SharePoint 2010 Platform.
    To install the custom activities, please follow the steps as below:
    Download the solution file form
    Useful Sharepoint Designer Custom Workflow Activities
    Copy the wps file to the Disk C.
    Open the SharePoint 2013 Management Shell.
    Run the command: add spsolution c:\ dp.sharepoint.workflow.wsp
    Open the Center Administration, click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to one or more Web Application.
    Open the SharePoint designer, create SharePoint 2010      Platform workflow, add action from Custom Actions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Call one workflow in another workflow

    How to call one workflow in another workflow? which QPAC is used to achieve this functionality?

    None. If the workflow being called is in the active state you should find alongside your list of 'QPACS' in the Services panel.
    You can then drag it onto the caller process and configure it the same way you would any other QPAC.
    Keep in mind that your parent process will wait or continue immediately, depending on your user settings. Then there is the issue of security....
    Good luck!
    Lachlan
    http://www.avoka.com

  • Triggering a workflow from a adobe interactive form...

    Hi,
    I am new to SAP.
    I hv to ceate a adobe form for creating CREDIT MEMO REQUEST...
    on filling the data and submitting, it should trigger a workflow, in which, the approver may approve or reject..
    if it is approved it should be updated in the database table
    and if rejected it should go to the another person.
    I know to create adobe forms.. On clicking the SUBMIT button in the form the workflow should be triggerd..
    is there any standard wokflow for my requirement or should i create a new WF.
    What is the code for triggering a workflow.... how to approach my requirement... can any one help on this please...

    *CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
    *  EXPORTING
    *    task                      = 'WSXXXXXXXXX'
    **   LANGUAGE                  = SY-LANGU
    **   DO_COMMIT                 = 'X'
    **   USER                      = SY-UNAME
    **   START_ASYNCHRONOUS        = ' '
    **   DESIRED_START_DATE        =
    **   DESIRED_START_TIME        =
    **   DESIRED_START_ZONLO       = SY-ZONLO
    **   IFS_XML_CONTAINER         =
    * IMPORTING
    *   return_code               = lv_retcode
    **   WORKITEM_ID               =
    **   NEW_STATUS                =
    ** TABLES
    **   INPUT_CONTAINER           =
    **   MESSAGE_LINES             =
    **   MESSAGE_STRUCT            =
    **   AGENTS                    =

  • Workflow is triggerred in golden client

    Hi Workflow guru,
    i got a very unique scenario here. i did try to activate the standard travel request approval workflow. (ws20000050).  in my environment, i do have two client for the development server. one is served as configuration client and another is served as unit testing client.
    I also transport the necessary activation of the workflow from configuration client to unit testing client. However, when the workflow get triggerred, it is happened in the configuration client instead of unit testing client. (please take note that the portal is pointing to unit testing client.
    Can anyone throw any light on what are the possible steps that i did wrong?
    Regards.

    Hi Viji,
    i did the same as you mentioned. ithe workflow is triggered when i am doing the simulation of event also SWUD. however, it does not happen when i am doing the trip transaction. instead, it is pointed to the workflow in the configuration client.
    Is that any other possiblity that it will causing it?
    I vaguely remember that i did activate the binding in the configuration client for the workflow and transport it to the testing client. could it be the cause of it? if it is, is that anyway i can revert back to the original state?
    Regards,

  • Workflow not triggering when changing Item-level Permissions in Sharepoint 2013 list

    Scenario:
    We have a custom list in Sharepoint 2013 that we use for Case Management. We have a workflow that triggers on a created item generated from an email. The user then gets a reply with a link to his own case.
    I want the users only to be able to see their own cases and no one elses.  When I change this under
    Advanced Settings under List Settings and
    Item-level Permissions and set them to Read items that were created by the user
    and Create items and edit items that were created by the user
    the workflow doesn´t trigger.
    How can I resolve this? I've tried every possible out-of-the-box permissions but with no result. Help!
    Thanks in advance!
    // Browncreek

    When you're testing , remember you cant trigger declarative workflow from the System Account - you need a general user account for auto-trigger workflows.  Good luck!
    Chris McNulty MCSE/MCTS/MSA/MVTSP | blog http://www.chrismcnulty.net/blog | twitter @cmcnulty2000 Microsoft Community Contributor Award 2011
    Hi, I have the same problem. Except that I am not using an email to create a new item. The item is created by members of a SharePoint group that have Contribute access to the list. When use the same settings i.e.
    Read items that were created by the user and Create items and edit items that were created by the user,
    the workflow does not trigger. If I set it back to Real all items and Create
    and Edit all items, it triggers the workflow.
    Please help me resolve as I have rolled this out to pilot users and am having this trouble.
    Thanks,
    Vishal

  • Workflows not triggered when documents are created in Doc Set via Content Organizer

    The following is my scenario:
    A document set (containing several documents) is created in Library A on Site A
    Using Send To, the Document Set is sent to the Drop Off Library on Site B (a different Site Collection)
    A Content Organizer rule then moves the Document Set and its documents to destination Library B
    In Library B I have defined a workflow (using Visual Studio 2012) that is triggered when new item is create
    When the Document Set arrives in Library B from the Drop Off library (i.e. when the Content Organizer moves the Doc Set to Library B), the workflow is triggered (and executes) on the Document Set, but it is NOT triggered on the documents within the Document
    Set.   How can I get the workflow to trigger on the documents within the set when they are created via the Content Organizer rule?
    The interesting thing is that if I manually add another document to the Document Set in Library B, the workflow is triggered on that document.  It just does not trigger when the documents are created via the Content Organizer.

    Hi,
    In edit Content Organizer rule page, I see there is an option as Automatically create a folder for each unique value of a property:
    However, unlike the drop down used in the property based filters above, this drop down *only* contains properties that are required by your content type. 
    This is done to prevent adding folders that have no values for a property. 
    If you need to put similar documents to the same folder, you could consider making use of this feature.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Triggering SRM workflow from a  web-based form (HTML)

    I am a beginner in SAP, please bear with me.
    I have created an online data entry form using html to populate a table in a non-SAP database. I am able to call this form in SAP EP using URL iView.
    I want some help on triggering an SRM workflow from this form.
    Thanks.

    Hi Vadim,
    I would like to explain the scenario:
    1.The form would reside in the SAP Enterprise portal
    2.When the form is completed and the "submit" button is  clicked, I expect a workflow in SAP SRM to be triggered.
    3.The workflow is a developed three-step approval workflow. It was developed using the Hierarchical Approval workflow wizard.
    Questions:
    1. How can the workflow be triggered when the submit button is clicked?
    2. How can the data from the Form be integrated into the workflow and vice versa?

  • Workflow not triggered..in client server

    Hi Friends..
    i have developed one workflow for po release in local system it works fine..
    But i developed the same workflow in client system it was not triggered..
    i checked in swue the event was triggered perfectly..
    But the workflow not triggered.. if i click the workflow overview in me23n it shows
    "there are no workflows that are already worked with this object" so i dont know why this problem..' occur.. this problem arises at the time time of development in local system.. but now it was cleared..at that time release strategy not maintained.. but now release strategy also maintained.. but i dont know the exact reason and how can i solve this kind of issue...
    so anyone help me..urgent issue..
    Thanks in advance
    Gowrishankar

    What is the message that you are getting for the event? Is it "No receiver entered" or something else?
    Check for the event linkage between your event and workflow in SWE2. If it is not set select the checkbox "Linkage Activated" and acitivate the linkage and then try to trigger the event.
    If your event linkage gets deactivated everytime you  try to trigger the event, there could be some problem in binding from your event to workflow container. Check if all mandatory parameters in workflow receive data from event container.
    Thanks,
    Prasath N

  • Workflow not triggered for BP when start condition's field is set by BADI

    Hi guys,
    I have created a workflow and given the start Event "Changed" of object BUS1006. In this I have given a start condition which triggers this event when a particular field on transaction BP is populated.
    Now the problem is that when I myself explicitly populate the field and press save the workflow is triggered fine, but when I populate that field automatically in a Save BADI (BUPA_GENERAL_UPDATE), the workflow is not triggered. Tcode swel just returns the msg that Start condition returns 'FALSE' for object.
    Can someone please help me in this or let me know where I can find its cause in system.
    Any help would be really appreciated.
    Regards,
    Shaili

    If this is just one field, create your own custom event and code launching it when saving BP with your field changed.
    Maybe event Changed is executed only for changes in GUI.
    If you program your own one you will have 100% control of it.
    Regards
    Radek

  • Triggering the workflow after the Notification is created

    Hi Everyone,
    If the two workflow templates have the same triggering event BO: BUS7051, Event: CREATED). Both the workflows are triggered after the notification is created.
    Scenario:
    After terminating an employee notification number is created and triggers the workflow template 99900033 (Event: CREATED)
    After Promoting an employee notification number is created and triggers the workflow template 99900035 (Event: CREATED)
    My Requirement is: I want to trigger only one workflow template depending on my scenario (Termination or Promotion).
    How can I achieve this? Could you please let me know?

    please include a simple condition in SWB_COND where employment  EQ Termination for  termination event linkage (SWE2) and similary for promotion also create ne more condition and include in promotion event linkage.
    You might be having some doc type, so based on this you can achieve this.

  • Triggering of workflow

    In CRM2007  lead creation, if status of lead is E0006 for 2 days then the workflow should trigger to the respective activity partner   i will provide details
    statussince : 09- 02- 2009,(this field contains created date)
    userstatus : E0006,
    if this user status is still same for that document at 11-02-2009 ,then the workitem should trigger to the activity partner.
    wt is my problem is  event is getting created at 09th , how should i trigger workflow on 11th...
    please any one provide me some info regarding this

    Thank u for ur reply,
    But the value userstatus = "E006"  would not change after the workflow is triggered,
    my requirement is if the user doesnt changes the status of the document for 2 days then it should trigger, during these 2 days if user changes the status  workitem shouldnt go to agent.
    according to u how can i check  within workflow  whether user changed the status or not.
      that changed status value wont be available in workflow.
    please suggest me

Maybe you are looking for

  • A new Mac shipping with OS X Lion will not accept OS X Snow Leopard

    Hi Fans, I''m back again to report on my 2.5hr campaign to get Snow Leopard back. I have of course no DVD drive on the Macbook Air. So, I created a restore disk from my Mini, to an external drive. Loooks good... Boot Air, kernel panic. The Snow Leopa

  • Cisco desktop administrator Services Configuration Multiline, Monitoring & Recording Remove VoIP/Recording & Playback Services

          I remove default VOIP Monitor Service in "Cisco desktop administrator>Services Configuration > Multiline, Monitoring & Recording >Remove VoIP/Recording & Playback Services". Now I can't choose in  "Services Configuration > Multiline, Monitoring

  • X250 no smartcard reader despite on list

    Hello It is my first post and sadly about wrong configuration of my x250. When I was ordering my laptop there was a clear message it has smartcard reader. Sadly It came without it but some unremovable plastic  instead. Has anyone seen something like

  • ACPI Error and warning

    Hi everyone, I just switched over from Ubuntu 14.04 after installing a new hard drive on my Samsung 900x3c. I did a clean Arch install with Lxqt as my desktop and in an attempt to get all the function keys working and installing samsung-tools I disco

  • Skip validation on page definition

    Hi all, That article explain how to skip validation using page definition http://mahmoudoracle.blogspot.com/2011/08/skip-validation-in-adf.html Thanks