cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

workflow task vs workflow template

Former Member
0 Likes
3,276

hi all,

may i know what is the difference between workflow task and workflow template?

appreciate if can provide a simple example of the difference.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hello,

I have never found a use for the worklfow task.

Stick with workflow template.

regards

Rick Bakker / hanabi technology

PS Has anyone found a use for the workflow task (WF....) or is it obsolete?

keohanster
Active Contributor
0 Likes

IMHO, a task is a single step which may get executed, for example in some cases the IDOC scenarios.  There is just one thing to be done, and no complex logic in it.

A workflow can contain many tasks.  It can contain simple to complex logic, with multiple steps for users to act upon.

A workflow template is indeed  the design-time version of your 'workflow' and it is type 'WS'.

A workflow instance is created when your purchase req needs release, or when your invoice needs approval.  It will use the template WSnnnnnnnn - and create a technical log which will allow you to see what tasks are evaluated and executed.

I hope this helps,

Sue

Answers (1)

Answers (1)

bpawanchand
Active Contributor
0 Likes

Hi,

May you are starting to explore SAP Business workflow start from here

SAP Library - SAP Business Workflow.

Regards

Pavan

Former Member
0 Likes

hi,

ya, i read sap help file as well but cannot really understand fully.

i just confused of the task and template or tcode SWE2 event vs receiver type.

can give kind advice? just a simple example is very much appreciated.

thanks

.

anjan_paul
Active Contributor
0 Likes

Hi,

  Workflow Template you can say it like Design Time.

Workflow Task  you can say it like Runtime.

In SWE2 that is linkage table which will tell which workflow will trigger when some BO event will raise.

bpawanchand
Active Contributor
0 Likes

Hi,

Workflow Template you can say it like Design Time.

Workflow Task  you can say it like Runtime.

Anjan... just to clear you some things your understanding is incorrect , if you ever tried to read the SAP workflow book or help.sap.com, it says that workflow definition  means in your terms DESIGN time and workflow means Instance of the workflow definition.

Workflow task means it is also a design time (in your terms) multiple step task. but the object type is WF where as for workflow template the object type is WS..

Refer the below image for clear understanding...

Regards

Pavan

Message was edited by: Pavan Bhamidipati

anjan_paul
Active Contributor
0 Likes

Hi Pavan,

    yes you are right. I never used workflow task. I misunderstood  workflow task with workflow workitem to give the answer.