Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

task and container

Former Member
0 Likes
480

hi,

1) task is used to define the Activity step in workflow definition. besides this,

task also can be executed independently, right? may i know how and where to execute it if not in workflow?

2) what is the use of container? for example task container, method container, event container and workflow container.

thanks

4 REPLIES 4
Read only

Former Member
0 Likes
451

Hi el,

1. We cannot independently execute the tasks. They are always

executed in reference to a step inside the workflow.

2. what is the use of container

Just like a function module has import/export parameters,

in a similar fashion,

task use the word CONTAINER.

3. Container is nothing but bunch of variables

to pass/export values and import values as required.

regards,

aimt m.

Read only

0 Likes
451

hi,

1) i got the statement from the blog. so do not know if it is saying task can run on its own.

Task: Task (Standard Task, Customer Task) is used to define the Activity step in workflow definition. <b>Task can be executed independently also</b>.

2) so the word container is actually variable / structure / table for interface parameter? task/method/event/workflow all of these also got parameter passing where the variable/structure/table keep in the container?

thanks

Read only

0 Likes
451

hi again,

1. In workflow and task,

there is a separate TAB.

2. Inside this tab we can add the variables

we want.

3. Eg. Task1 finds the Manager who should release the purchase order.

Task2 sends the mail to the manager to release the PO.

4. Here TASK2 is independent in a sense,

and does not know who is the manager. It simply sends the mail.

5. In that case CONTAINER is used.

6. One variable eg. ManagerMail is defined

and put inside the container of Task1.

The same variable of same name,

is also Put/added to container of Task2.

regards,

amit m.

Read only

0 Likes
451

hi,

1. task is triggered by the method that you define in the basic data of your task.The task refers to a method of an object type in the Business Object Repository (BOR) and can be executed at runtime either automatically (background task) or by a user (dialog task).

2. container is used for binding purpose that is moving the information between task container and the workflow container as per the requirement. as amit said its like structures with almost same elements.

regards,

pankaj singh