Changes to an existing workflow

Hi,
I have a rather major change that needs to be done on an existing and active (production) workflow. I am wondering what should be the best approach.
1) Back up a copy of the workflow in DEV and make the necessary changes to the <b>old workflow</b>. Transport the <b>amended old workflow </b>to PROD.
2) Back up a copy of the workflow in DEV and make the necessary changes to the <b>copied workflow</b>. Transport the <b>amended copied workflow</b> to PROD.
Any comments? Points will be awarded for helpful advice. Thanks.

Thanks for the advice.
Actually, I have a custom screen that's dependent on the workflow. At every step of the workflow, the user will go to the screen and fill in remarks in a field corresponding to that step. The remarks will be stored in a maintenance table. They are non-key fields.
The new requirement is to remove several steps of the workflow. This means that other than changing the workflow, I have to remove some fields from the custom screen.
If I use versioning for the workflow, it looks fine for the workflow as the correct version will be used. However, I will face problems with the screen as there can only be one version at any time.
I can think of 2 solutions.
1) Disallow the users from triggering a new run of the workflow until all active sessions are completed. After that, transport all changes (new version of workflow and screen) to PROD.
2) Create a new workflow and new screen.

Similar Messages

  • 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

  • Workflow bulider changed ,still the same workflow  triggered for older requ

    On applyig leave request  a workflow is triggered and notification is sent to the
    Manager he approves it
    Everything is fine
    Now I have changed the workflow builder
    That after the approval, a task(Step) has to be performed.so I added a step for that
    Now I have 3 cases
    On applying for leave request the manager has approved and the step is executed after that
    But my problem is now
    There are a few prior requests which wernt approved yet
    On approving them the workflow builder which is called is previous one and not the current one
    And the step is not executed after the approval ,How to resolve the issue
    Please advice
    Thanks in advance

    Hi,
    If your workflow is a Event Based workflow, you can start the new workflow by raising the event manually again using SWUE. For this you need to know BO and triggering event , key of the object for your case.
    If it is not a Event based workflow, you can start workflow by SWUS , providing all the mandatory and required container element values.
    However, before starting you can delete/complete the existing workflow. To delete the existing workitems from user inboxes, you can use SWWL. If you also want to set the status of this workflow instance , then probably you need to execute few FM's to set the status to COMPLETED.
    Hope this helps you !!
    Regards
    Krishna Mohan

  • 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.

  • Change display name of workflow email address in sharepoint 2010

    Hi
    How I can change display name of workflow email address in sharepoint 2010. I want to configure display name (from address)of email
     for each site collection separately.for example I want to change "software unit"
     in below pic to another name for my software unit site collection.
    How I can do this?
    Thanx.

    Hi,
    According to your post, my understanding is that you want to change display name of workflow email address in sharepoint 2010.
    In my environment, if I assign a task to a user, the email is as below:
    The “test” is the site name, the [email protected] is the “From” user.
    Do you want to change the “From” field in the workflow?
    If so, you can have a look at the "Send email extended" custom SPD workflow activity (http://www.codeplex.com/SPDActivities
    ) which allow you to specify the sender.
    Here are some similar threads for your reference:
    https://social.technet.microsoft.com/Forums/en-US/22d95510-95b7-4882-b988-4038e59fb031/how-to-change-the-display-name-for-sharepoint-emails-sent-using-workflows?forum=sharepointgeneralprevious
    http://sharepoint.stackexchange.com/questions/19186/changing-from-email-address-in-sharepoint-designer-2010-workflows
    http://sharepoint.stackexchange.com/questions/61964/how-to-change-the-from-address-in-feedback-workflow-email
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to change the recipients in workflow?

    I'm not  a workflow expert. Please help me how to change the recipients in workflow.
    The approver already resigned and we would like to change it to a new approver.
    We already deactivated the user and I stiil see him in SOST.
    In some releases, he is the approver and we would like to change it.
    Hope you can help me. Just kindly let me know if you still have queries.
    Thank you!

    Ask your workflow admin to define a substitution and/or forward the workitems.

  • How to find the recent changes done in the workflow by user id ?

    Hello all,
    How to find the recent changes done in the workflow by user id ?
    I have made changed in Production system .
    Like changing the status ,
    changing the agent ,
    but for these it will , not ask for any request .
    So i want to know is there any method to find what are the changes done by me ?
    Thanks and regards
    Prem

    Hi,
    This is caused by mandant settings in scc4. It's better not to make changes in PRD, because then your DEV en QA systems differ.
    Kind regards, Rob Dielemans

  • When I try to save changes to an existing file, Acrobat X Standard stops working and closes. How to

    After making changes to an existing pdf, when I select Save from the File menu Acrobat X Standard crashes and closes down. The same scenario happens if I choose Save As and select the same fie name. How do I save changes to an existing document? I can sometimes Save As using a new file name but that does not always work either.

    Please try repairing Acrobat by going to the 'Help' menu > Repair Acrobat.
    Also make sure that Acrobat is updated to the latest release.You can check for updates from the same 'Help' menu > check for updates.
    Regards,
    Ravi.

  • BO4 - Changing name of existing connection on repository and impact on existing unx universes

    Hi,
    If we have universes (unx ) which have connections and want to rename the connection,  I know we can change the name of the connection on the repository via the repository resources in the Information Design Tool.
    I notice existing universes which use the connection still have the old name for their connection shortcut.
    Is there a way to synchronise so that if change a name of universe connection the names of connection shortcust on existing universe connections are automticallly chnaged to reflect the new name?
    Thanks

    HI
    Changing name of existing connection not impact on existing unx universe, if backed connection CUID not changes, I think you can rename the existing connection in CMC .
    Before doing test with sample example.

  • 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.

  • Change to the existing outgoing positive payment file (EID 820)

    Hello Experts,
    I have to make a change to the existing outgoing positive payment file (EID 820).
    The current scenario is:
    We are running the payment run in SAP and generating IDocs using program RFFOEDI1 mentioned in printout data medium. The IDocs generated are of Basic Type PEXR2002. These IDocs then processed by SAP PI and converted to EDI and the EDI is sent to the Bank. Currently in this process, we are not assigning the check numbers at the time of payment run. Also the check numbers are not there in the IDocs. The Bank prints the checks and sends us the check number which we update in SAP using Z program.
    Now there is a change in the requirement and we need to assign the check numbers at the time of payment run and also transmit them with the EDI file to the Bank. Bank will print the checks and send it to the vendors.
    Now as per my understanding, the check number will not be assigned until I use the program RFFOUS_C in printout data medium.
    Please suggest the possible options to generate IDocs which has the check number in it.
    Thanks in advance
    Sanjay Sarode

    You can use RFFOEDO_1 can still generate check 3's, just maintain check number in the check lots configuration and ensure you assign the lots to the correct payment method.
    Thanks
    Shine

  • Track changes made to existing comments

    How can I track changes made to comments in Word 2010? It seems that with track changes on, you can tell which user made which edits within the body of a document, but track changes fails to track changes made to content within comments.

    As far as I know, track changes would not track the changes made to existing comments. You can see:http://office.microsoft.com/en-001/word-help/change-options-for-track-changes-HA104053477.aspx?CTT=5&origin=HA102840151
    Maybe we can track the changes made in comment with the help of VBA code.
    Best Regards,
    Wind

  • SSRS 2008 R2 - Try to do some changes on an existing rdl - unexpected erro "External Component Has Thrown an Exception"

    Hi, 
    I am working on SSRS 2008 R2 -  Tried to do some changes on an existing rdl & save -  An unexpected error "External Component Has Thrown an Exception"  pop up 
    Any suggestions please to resolve it.
    thank you !!!
    best regards,
    Venkat

    Hi Venkat,
    The issue may be caused by the Visual Studio tried to close an invalid handle. This problem may happen if the operating system is a debug version, not a retail version. Please refer to the following steps to check.
    1. Right-click on "My Computer".
    2. Click "Properties".
    3. Make sure there is no "Debug" words at the end of the "Windows edition" section.
    Reference:
    http://connect.microsoft.com/SQLServer/feedback/details/467954/sql-server-2008-install-on-windows-server-2008-fails-with-external-component-has-thrown-an-exception
    If the operating system is debug version, please re-install the operating system with retail version to solve the issue.
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • 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

Maybe you are looking for