转 Using Document Template in Workflow

workflow 2013-05-31

Using Document Template in Workflow

By Madhavi from Link

This tutorial details about the usage of the step “Document from Template” in workflow. 
Sometimes, it becomes a necessity to work with the documents (Word, Presentation, excel and others). Go to Transaction SWDD and create a new workflow definition. 

Before we go ahead and create a document template, we need to save the workflow definition. Save your workflow definition.  

Now select “Document templates” from the list as shown below (You can find this on the left side bottom of the screen)  

转 Using Document Template in Workflow 

Click on “Double-click to create”

转 Using Document Template in Workflow 

Click on “Change document class” and then select “Document” from the list provided (see the screenshot below):

转 Using Document Template in Workflow 

The following screen appears:

转 Using Document Template in Workflow 

Enter some text in the document: 

转 Using Document Template in Workflow 

Save your document. 

转 Using Document Template in Workflow 

After saving, go back to the main screen. You can observe the document template you just created, as shown below:

转 Using Document Template in Workflow 

Now in your workflow definition, create a new step “Document from Template”: 

转 Using Document Template in Workflow 

Enter the step name. 

转 Using Document Template in Workflow

In the section, Doc. Template(s), select the document we created earlier using the F4 help. Also enter the agent details.  

转 Using Document Template in Workflow 

Save your entries. 

The workflow definition would look like this:

转 Using Document Template in Workflow 

Activate your workflow and execute the same. 

Your work item would look as follows:

转 Using Document Template in Workflow 

Execute the work item. The document would open as shown below: 

转 Using Document Template in Workflow 

Modify the document and Save. 

转 Using Document Template in Workflow 

Your work item is executed.

相关推荐

87347969 / 0评论 2010-09-20
mnm0 / 0评论 2009-10-08