The aim of the Task metamodel is the definition of a language capable of representing the relationship between task and entities that are immersed into a Context-Aware System (CAS) running in an Ubiquitous Computing Environment (UCE).

The Task model is based on the Workflow definition by the Workflow Management Coalition (WMfC) [2]. The conceptual mapping between WfMC workflow concepts and the Task Metamodel concepts is depicted on the following table.

Workflow concept TaMM concept
Token Token
Condition Condition

Conditions are employed to define system states. There are 4 types of Conditions: Initial Conditions (to define the initial conditions of entities that are part of the system), Pre Conditions (to define System task pre-conditions), Post Conditions (to define System task post conditions) and Final Conditions (to define final conditions of entities that are part of the system).

The task Metamodel is depicted in Figure 4 and Figure 5.

Therefore, in order to build a task model, the pattern depicted on Figure 6 should be followed.

The Figure 7 shows a Task model for the asynchronous exchange of files.

As can be seen in the example, Conditions are defined by 5 types of Expressions: Social expressions (So), Task expressions (Ta), Space expressions (Sp), Logic expressions (Lo) and Data expressions. All of these expressions should be satisfied to get the Condition satisfied.

References

[2] The Workflow Management Coalition (WfMC ).

You can reference this work as:
Ricardo Tesoriero, José A. Gallud, María D. Lozano and Víctor M. R. Penichet. CAUCE: Model-driven Development of Context-aware Applications for Ubiquitous Computing Environments
Journal of Universal Computer Science,  Vol. 16,  No. 15, pp. 2111-2138. 2010. Link: http://www.jucs.org/jucs_16_15/cauce_model_driven_development