Inserting Fork in existing workflow

Hi,
I have an existing workflow with over 60 steps in it that works well now.  A requirement came in to insert a fork step at one of the beginning steps and then an end fork close to the end.  In the middle would be approximately 40 steps.  Is there an easy way of moving those steps all at once instead of copying them one at a time?  If I have to copy each one, how can I handle the loop untils?
TIA

Hello,
Yes, it is annoying, you can't easily move groups of steps around
in the graphical editor if they haven't been defined as blocks.
What's the particular problem with loop untils?
There's always the option of making a new workflow and calling
the existing one as a sub-workflow.
regards
Rick Bakker
Hanabi Technology

Similar Messages

  • How to insert text in existing file.?????

    how to insert text in existing file.?????
    my file contains simple text with numbers of lines having more then 10 MB size and it might be increase up to 100MB.
    i required to seek to spec. position and insert chunk of characters to file without overwriting existing one.
    I tried out with RandomAccessFile class Also.
    Pl. Suggest me way to insert String in existing file.
    Thanks ,
    Timir

    how to insert text in existing file.?????You can't "insert" text into an existing file. You can
    overwrite portions of an existing file or extend one by
    writing past the current end of file.
    If you want to insert text into a file you have to write
    out a new file.

  • Reassign existing workflow - please help!!

    We have an existing workflow that has thrown an error. We have corrected the backend code which results in the workflow now working but we have three existing WFs that we'd like to push through. However, we are getting the dreaded no performer error.
    I've captured some screenshots here of what we have done in an attempt to reassign which may or may not be correct. Please can someone provide some pointers so that the process does not have to be completely restarted?
    http://www.2ql.net/uploads/1255023160.jpg
    http://www.2ql.net/uploads/1255058496.jpg
    http://www.2ql.net/uploads/1255017068.jpg
    http://www.2ql.net/uploads/1255000660.jpg
    http://www.2ql.net/uploads/1255057613.jpg
    Many thanks in advance,
    Phil

    Rewind the WF if you are not using Ad-hoc roles to approvals activity which will generate a notification or update the wf attribute values to required value in WF_ITEM_ATTRIBUTE_VALUES or in front end screen.

  • Matching score for new records added to existing workflow

    Hi SDNers,
    My doubt is:
    I have a 2 Workflows which are already in process. The triggering event for them is Manual, Record Import.
    Now I manually assigned 20 records  to "Workflow A" based on Condition 1
    Also, I manually assigned 20 records  to "Workflow B" based on Condition 2
    I am importing 30 new records. Based on the condition, I want to assign these records to the existing Workflow A / Workflow B.
    Note: There is a Match stencil, so the newly created records have to be matched against the existing records in the present Workflow itself.
    Is it possible to add new records o existing workflow manually?
    Also, what about the Matching score? will the records be matched?
    Thanks & Regards,
    Priti

    Hi Priti,
    I tried restricting records using Named Searhes and Masks but it includes all the records with Match step property Records Vs All. You have to perform some maunal step either by selecting records using some search criteria or you can use Named Searches i.e.
    1. Create one field say New of type boolean and by default set it to NO.
    2. Create one named search for this field value to YES.
    3. Create one assignment which sets the value for this field to YES and add this assignment in the workflow as the first step.
    4. When ever you import records, assignment will set New=YES for all the records imported. Now, when you add more records, search the previous records using Restore Named Search function which will give the list of records imported now. You can perform Matching and Merging operation.
    5. Add one more assignment to the workflow as the last step which should set New=NO so that records should not appear next time for Matching
    Regards,
    Jitesh Talreja

  • SPD 2010 won't overwrite existing workflow but creates a new version instead

    When editing then saving and publishing an existing SharePoint Designer workflow a new version of the workflow is created but the previous version is still available in the SharePoint list for a user to select and start manually.
    Example: The original workflow is named Email Notes. After editing and publishing there are now two workflows available: Email Notes and Email Notes (1). Future edits increment the number so now we have Email Notes, Email Notes (1), Email Notes (2) and so
    on. Any of these workflows can be started. It looks like SPD won’t overwrite the existing workflow. SPD only shows the original Email Notes workflow.
    The problem appeared after making the setting change: SharePoint Central Administration > Application Management > General Settings > Workflow settings > Workflow Task Notifications. I selected yes for "Allow external users to participate
    in workflow by sending them a copy of the document?"
    After noticing the effect it had on editing workflows I reverted to the default "No" but the problem persists.
    One wouldn’t think making that change would cause my current problem but I have confirmed the behavior on a test server with images from our live environment.
    Has anyone seen or heard of this before? I found one random post on a site where someone else had experienced the same thing.

    Hi,
    This is a known behaviour. When you publish the new version of the workflow, the previous version is still available because there might be some workflows executing in lists and libraries on this version. But you can remove the previous versions so that
    they are not available for the users to starts. Go to List/Library > Settings > Workflow Settings.
    You will see all the previously published versions of the workflow. Here it shows the version of the workflows with Allow, No New Instance or Remove options. By default, previous version workflow should change to "No new instance" so users cannot
    start this manually. If this does not happen then this workflow will be available for users to start as in your case. If no instances of previous version are running, then select remove, and click Ok. Hope it clarifies.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Starting existing workflow from web dynpro application (ABAP)

    Hi experts,
        I am working on web dynpro application from which when I click on a button an existing workflow should trigger. This will be used in portal replacing existing iview with jsp. I did lot of reading on SDN maybe too much that I am confused how to get started. Here is what I have currently.
    We have an existing workflow that sends an approval email to manager when ever some unit information changes. In current functionality, workflow is triggered by event which is linked to workflow in transaction "swetypv". We defined scenario in "qisrscenario" that contains all elements to populate workflow container. The methods to get data into workflow container, send email etc are all written in business object methods. We have a class that implements standard SAP BADI "IF_EX_QISR1"(IF_EX_QISR1~SCENARIO_PROCESS_USER_COMMAND method) that probably has all logic. In current functionality when the workflow gets created it sends notification number back to portal jsp page that triggered the workflow on button click. Users look at notification number in iqs23 for workflow log, PCR form data etc. and I need that functionality too. Now I am confused where I should start so that I can use ew web dynpro applciation instead of jsp iview but want all the functionality that we currently have. How can I start workflow and get notification number back to web dynpro so that I can display that to user? The approving manager goes to UWL to approve, reject the workitem and workflow then finishes.
    Any help will be greatly appreciated.
    Thanks.
    Mithun

    Hi.,
    Using FM  SAP_WAPI_CREATE_EVENT  You can Achieve this., try the below piece of code.,
    DATA: OBJECT_TYPE  TYPE  SWR_STRUCT-OBJECT_TYP VALUE 'ZBUS333',   " Enter Your Business Object here
    OBJECT_KEY  TYPE  SWR_STRUCT-OBJECT_KEY,
    EVENT TYPE  SWR_STRUCT-EVENT VALUE 'FIRE'.     " Enter Your Event here
       DATA: lt_cont TYPE STANDARD TABLE OF swr_cont,
             ls_cont TYPE swr_cont.
           ls_cont-element = 'NAME'.       " To Pass Values to business Object you append to container
           ls_cont-value   = lv_name.
           APPEND ls_cont to lt_cont.
           ls_cont-element = 'ID'.
           ls_cont-value   = lv_id.
           APPEND ls_cont to lt_cont.
          CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
            EXPORTING
              OBJECT_TYPE             = OBJECT_TYPE
              OBJECT_KEY              = OBJECT_KEY
              EVENT                        = EVENT
             COMMIT_WORK             = 'X'
             EVENT_LANGUAGE          = SY-LANGU
             LANGUAGE                = SY-LANGU
             USER                    = SY-UNAME
    *         IFS_XML_CONTAINER       =
    *       IMPORTING
    *         RETURN_CODE             =
    *         EVENT_ID                =
           TABLES
             INPUT_CONTAINER         = lt_cont
    *         MESSAGE_LINES           =
    *         MESSAGE_STRUCT          =
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Integrating SAP BPM and existing workflows, does an interface exist?

    Hallo all
    I have to evaluate how to build a set of BPM Workflows which shold incorporate "exits" into existing workflows (basically combining BPM and Business Workflows).  Do you know if there is a referenc on how such a thing could be acomplished or have some advices for a smart way of organising the interface between the two workflow engines?
    Regards,
    Minima

    Hi Minima,
    You may want to post this in the [BPM|SAP Business Process Management; forum.
    Cheers,
    Ramki Maley.

  • How to find  the existing workflows

    Hi Gurus,
    How to find  the existing workflows, and assign a  user  to a role.
    Suitably rewarded for helpful answers.
    B S B

    Hi,
    You can find existing workflow in Transaction PFTC.
    Select Task Type as Workflow Template(WS) and either do F4 on Task
    or put some description and press enter.
    For assigning a user to a role, check transaction PPOCW. (If in an Org. Unit) or through SU01.
    Regards,
    Ashish

  • Modify existing workflow

    We need to modify existing workflow in UCM but only known approach - disable step and enable it. Is any alternative way to change it UCM workflow code?

    While directly writing IDOC script in the applet window is perfectly acceptable, you will experience some need to change it, thus your dilemma of having to disable the workflow in order to edit it.
    It is a much better practice to put your IDOC logic in a component within a dynamichtml include, and simply reference the include in the applet.
    For example, let's say your workflow is named "MyWorkflow" and you have a step called "Step1".  To create code in the entry step, in a custom component create a dynamichtml include called "my_workflow_step_1_entry"
    <@dynamichtml my_workflow_step_1_entry@>
    do something
    <@end@>
    Then in the workflow applet for "MyWorkflow" --> "Step1" entry event, simply put the following code
    <$include my_workflow_step_1_entry$>
    Now you can edit the code in the component resource file rather than the applet, and certainly don't have to enable/disable the workflow.
    The one caveat here is that changes to the resource file code will require a server restart in order for the changes to take effect, as workflow code is cached differently as I recall.  There is another way to get around that limitation, but I'll leave that solution for a blog post.

  • Migrating existing Workflows into BPEL

    Is it possible to migrate existing workflows to BPEL for instance PO_APPROVAL
    Any info on this would be appreciated or is it already all in the BPEL cookbook
    thanks
    Howard

    Please contact Customer Support. They will be able to switch things over.
    Looks like you are in Denmark so use the Danish support site:  http://www.adobe.com/dk/support/contact/index.html

  • Inserting Workflows into Existing Workflows(Subworkflow)

    i have been trying to insert a subworkflow into a workflow definition, initially created by me. each time i go to edit:insert or expand workflow,the message, ``Function not Permitted on Selected Node``.
    my aim is for a notification of winning bid approval to be sent to a supplier, the moment his bid has been approved as the winning bid.
    can anyone please help me.
    CHUKWUDOZIE CHUMA P.

    Hi,
    yes you can check those links
    http://blogs.msdn.com/b/bharatgupta/archive/2013/04/27/sharepoint-2013-app-workflow-with-custom-task-outcomes-in-o365.aspx
    https://msdn.microsoft.com/en-us/library/office/jj164126.aspx
    http://www.andrewconnell.com/blog/sharepoint-online-integrated-workflow-apps-workflows-as-apps-in-the-hostweb
    https://msdn.microsoft.com/en-US/library/jj220043.aspx
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • Re:Inserting Workflows into Existing Workflows(Subworkflows)

    Hello,
    I think i have been able to create a subworkflow.
    The idea is for a supplier to be informed that, as a fall out of the contract evaluation process he participated in, his bid has now been approved as the ´Winner Bid´.
    The subworkflow is supposed to send off an email notification to the ´winner supplier´, just to inform him that his bid for the service, has been approved, subsequent to the official contract award to him, by the Purchasing Organization.
    But, i keep on getting an error message/signal on the subworkflow step, in my workflow definition, at runtime. Also, that notification does not get to the user that i have assigned it to.
    Can anyone help me out with this?
    Chukwudozie Chuma P.

    Hi,
    yes you can check those links
    http://blogs.msdn.com/b/bharatgupta/archive/2013/04/27/sharepoint-2013-app-workflow-with-custom-task-outcomes-in-o365.aspx
    https://msdn.microsoft.com/en-us/library/office/jj164126.aspx
    http://www.andrewconnell.com/blog/sharepoint-online-integrated-workflow-apps-workflows-as-apps-in-the-hostweb
    https://msdn.microsoft.com/en-US/library/jj220043.aspx
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • Inserting Hyperlinks in Existing Menu Shell

    So, I've been trying to sort it out for over a week. I bought this theme for wordpress which has a flash on the main page, and I have no clue how to insert links on the pre existing menu shells on the left hand side. I have tried looking at tutorials but I just can't seem to get it right. I have attached a picture so you know what I'm talking about, and the file itself if someone can find time to look at it and let me know how to put hyperlinks in. It will be great if someone could help me. Thanks.
    https://www.dropbox.com/s/alpkz6le6cf9rue/header_v8.fla

    you need to
    1.  assign instance names to those items on the left (click to select one and in the properites panel assign a name - eg, english_btn for the first item)
    2. in the actions panel, add the needed actionscript for each item:
    english_btn.onRelease=function(){
    getURL("http://www.adobe.com");

  • Inserting PDFs into existing PDFs using Preview

    Previous to the 10.6.6 update I was able to insert a PDF document into an existing PDF document by dragging the new PDF into the sidebar within Preview.
    Now when I try this, instead of adding the document, it opens the PDF I have just dragged in, in the same window.
    Is this a setting that I have missed somewhere? Have check document security permissions, preferences etc...
    Thanks
    Message was edited by: griffs

    Preview (in Snow Leopard) can display more than one multi-page PDF in one window. If you drag pages from document 2 into the space at the end of the sidebar of document 1, they will remain as separate documents. Drag them on top of the pages of document 1 in the sidebar. Document 1 will highlight and you can position the pages as desired. It is easier to do it than to explain it.

  • String inserted into an existing string

    Hi All,
    I am trying to insert a string into the middle of another string. Does anyone know how I can do this. Basically what I want to do is this..insert the contents of the second string(str2) before the <Envelope> tag in the first string(str1):
    String str1 = "<?xml version="1.0" encoding = "UTF-8"?><Envelope><Header>.....</Envelope>";
    String str2 = "<Address><Email><Phone>";
    The final string that I want is:
    <?xml version="1.0" encoding =UTF-8?><Address><Email><Phone><Envelope><Header>.....</Envelope>
    If you know how to do this..I'd really appreciate some help. Thanks a lot
    brian

    Just use substrings to pull apart your existing string and insert the new text in the middle
    String str1 = "<?xml version=\"1.0\" encoding = \"UTF-8\"?><Envelope><Header>.....</Envelope>";
    String str2 = "<Address><Email><Phone>";
    String insertBefore = "<Envelope>";
    StringBuffer sb = new StringBuffer();
    sb.append(str1.substring(0, str1.indexOf(insertBefore)));
    sb.append(str2);
    sb.append(str1.substring(str1.indexOf(insertBefore)));
    System.out.println(sb.toString());

Maybe you are looking for