- This topic is empty.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Arthur Wang Digital Blog
Home › Forums › SAP Workflow › Copying Existing Workflow to Another
Tagged: Workflow Copy
Question:
This is my scenario:
I have a custom workflow working fine. I need to create another workflow that works exactly the same, only difference is that the Business object associated is different (but has all the necessary methods / attributes as of first workflow).
So I copied the first and did the following:
1. Added my new business object in the workflow container and removed the old one.
2. Changed all the bindings.
and it worked fine !!!
I just want to confirm if my understanding is correct…
1. By doing above, will my first workflow be affected in any way? Any of the bindings for first workflow?
2. In the first workflow there is a step called ‘Send mail’ and it has the text and data referring to the first workflow. When I copied it to new workflow, I changed those text so that it describes the second workflow, i.e. the subject the body text etc. Now this step is bound to a task which was defined in first workflow.
My question is should I just change the subject and body text and save that as part of second workflow? Will this change impact the first workflow ? Do I need to create a new task under any scenario?
{{ In other words, do I have to create a new task for the second workflow for the step ‘send email’? }}
Just want to make sure, copying the workflow is not affecting the original in any way.
Answer:
If you share one task between two workflows any change you do in the task will affect both workflows. And texts are at task (TS) level. So if you need to change text in your copied workflow and don’t want the first workflow to be affected you’ve better create new tasks as well. This includes sendmail steps: there are also tasks behind these and the text you maintain in the sendmail step is in fact saved in the sendmail step’s task.