Professional Documents
Culture Documents
https://www.researchgate.net/publication/221269828
CITATIONS READS
41 61
3 authors, including:
All content following this page was uploaded by Kamalakar Karlapalem on 29 May 2014.
1. Introduction
A contract is an agreement between two or more parties to create business relations or
legal obligations between them. There are several stages involved in a contract such
as exchange of information and negotiation, before the execution of the contract. A
contract will define a set of activities to be performed by parties satisfying a set of
terms and conditions (clauses). Thus, a contract consists of several entities such as
parties, activities, and clauses. Each of the activities may involve a considerable
period of time for its execution. The terminology of activities is according to the
concept of activities as promoted by activity management system [KYH1995]. In rest
of the paper, we mean an activity to be a workflow and an activity consists of set of
tasks.
In recent years, the penetration of Information Technology into real-life
applications has transformed the way business is being transacted. One such
application is Electronic Contracts, which made business simple by effectively
modeling and managing the processes/tasks involved. An electronic contract (e-
contract) is a contract modeled, specified, executed, controlled and monitored by a
software system. In e-contracts, all (or a number of) activities are carried out
electronically and, thus, overcome the delays involved in the manual system and also
personnel biases. In the literature, considerable work has been carried out on the legal
H.S. Kunii, S. Jajodia, and A. Sølvberg (Eds.): ER 2001, LNCS 2224, pp. 193-207, 2001.
Springer-Verlag Berlin Heidelberg 2001
194 Kamalakar Karlapalem, Ajay R. Dani, and P. Radha Krishna
2. E-contracts
In the present work, we consider a typical e-contract consisting of parties, activities
and clauses. E-contract and contract are used synonymously in the rest of the paper.
Two or more parties are involved in performing activities of a contract. A contract
has a set of clauses. Each party has a well-defined role in a contract, which is
specified in the contract document. For example, in a purchase of goods contract, one
party is a buyer and there can be many sellers. Even though a contract can have many
entities involved, a contract in its simplest form can be characterized as an ordered list
consisting of {P, A, CL}, where P = {P1, P2, . . ., Pn} is the set of parties, n ≥ 2; A is
the set of activities to be performed by different parties; CL is the set of clauses.
A contract will specify how the contract will be executed, the restrictions on the
parties involved, etc. Unless it is specified in the contract it can be assumed that
1. One or more parties involved in the contract can enter into a subcontract. A sub
contract itself is a contract, thus may have its own parties, activities and clauses.
Thus, contracts may be nested.
2. A clause can refer to another clause in the list of clauses of a contract.
3. A contract will have list of activities to be performed, some of the activities may
be nested. That is, an activity is composed of other activities. Some activities
may be carried out in parallel, and some sequentially.
The contract will be for a specified time period or duration, which will be defined
in the contract. This duration will define the active life stage of the contract. It is
expected to last till the contract is completed. A contract completion may not occur
when some clauses beyond completion of activities need to be adhered to, for
example, maintenance and warranty period. The activities will be linked with parties,
A Frame Work for Modeling Electronic Contracts 195
and each party will have to carry out one or more activities. The clauses in the
contract may list out the activities, however the activities may not be linked with
clauses. For example, “70% of the payment is made after the systems received and the
remaining amount will be paid in two installments after six months and one year
respectively from the date of installation”. In this example, the clauses are linked with
payment activity, but not vice-versa. This helps us to have a library of common
activities that cater to various clauses in the contracts.
Thus, when a contract is being executed, many events will occur and operations on
different files (tables) will take place.
Rule-1 Addition
of New
(1, n)
Reject Parties Is a
Request
refer
Roles Budget
Over
Can
Budget
have
Stop
Rule - 3
Work
Rule - 2
Role Payments
Allowed
changes Relations
Rules
Not Allowed
Events
An event happens at any point of time and has no duration. At any particular time
some action will cause an event to occur. The action like “Change Status of Activity”
will cause the occurrence of an event like “Status Updated”. A Contract event such
as adding of new party may trigger several database operations. Similarly, new
activity may trigger several insertions or updates across the tables. The contract
events will be caused by the actions in the execution of the contracts. A contract event
may lead to several database events, however database event can occur independent
of contract events. Suppose, when an address of a party in the contract is changed (a
database event), it is not a contract event since it will not effect the execution of the
contract. In the Figure 1, we use ER-R model to model an event.
Some of the contract events in the meta-schema are contract completed,
subcontract made, subcontract over, new party joined, activity started, activity
completed, party violates clauses, activity deviates from clauses, activity updated,
A Frame Work for Modeling Electronic Contracts 197
activity requires more budget, Payment initiated, payment made, role added and role
updated, synchronization of activities not followed.
The event is defined as below:
<event> ::= <contract_event> | <database_event> |
<temporal_event> | <external_event>
The database events are associated with data objects (<data_object>), and
<database_event> is defined as in [TNCK1991]. In the above definitions,
<contract_object> and <data_object> can be an entity set or a relationship set, and
<attribute> is an attribute of a <contract_object> or <data_object>. Further, both
contract events and database events can have more events than those specified above.
A temporal event is a time-based event, which could be relative (20 minutes after
contract starts) or absolute (at 3.00 PM). An External event could be, for example, a
document arrived.
Exceptions in a contract are mainly due to the deviations from the clauses defined
in the contract. Some of the exceptions in the meta-schema are shown in the Table 1.
Workflow
Type Definition
may
have
uses
Invoked Application
Transition
conditions may refer to
3. EREC Model
In our approach, we describe an EREC model as an extension of ER-R [TNCK91]
model, to bridge the gap between the complexities in E-Contracts and Workflow
process. The conceptual schema in the EREC model is represented by an EREC diagram
(Figure 1.). An EREC model has the following constructs for modeling e-contracts:
1. Contracts – A contract is a legal agreement between multiple parties.
2. Clauses – A contract consists of many interdependent clauses that need to be
fulfilled.
3. Activities – A clause is fulfilled by successfully executing one or more
activities.
4. Parties – An activity is undertaken by one or more parties.
5. Exceptions – Exceptions model deviations from fulfillment of contracts.
The above five constructs form the core of EREC model. First, an e-contract is
conceptualized from the requirements collected by the user. Once it is conceptualized,
it is presented as a single EREC model. After that, the clauses within e-contract need to
be fulfilled while executing one or more activities. Each activity is handled by one or
more parties. Therefore, in an e-contract, the actual work done is modeled by
activities. Many times, an activity fails triggering a violation of an important clause in
a contract. This gives rise to an exception that needs to be handled by further
augmenting activities with exception handling process. We illustrate an EREC model
for an “Investment” example in the next subsection.
which individual investors or the institutional investors can invest (i.e. Bond holders).
The payment of interest, which is promised in advance, may be done electronically or
through paper instruments.
When an individual/institution invests the amount with FI, they enter into a
contract. The terms and conditions of the operation of Bond or security are defined by
FI. It has to periodically pay the interest and must return the amount to the holder
after the period defined in the contract is over. The investors will be making initial
payments through bank. The FI will be periodically paying interest through banks.
Here, the contract and subcontracts involved are:
1. FI and Banks/agencies for accepting the Application Form and initial amount
from Investors and sending the Application Forms to FI and collected amount
to the account of FI (with FI’s own bank).
2. FI and Banks (in some cases may be different from 1) for periodic payment
of interest/warrant/dividend.
3. Among banks for inter bank funds transfer
4. Bank and investor – investor being the account holder of the bank
5. FI and Investors
6. Among the investors for the transfer of ownership
7. Agencies and banks for transfer of funds
In above case (5) is the main contract relevant to our example and others are sub
contracts. However, the sub contracts listed in (3) and (4) can exist irrespective of
main contract. The contract at (7) is required, if there is a contract between FI and
agencies (i.e. not banks). In this case, there has to be another sub contract for the
transfer of funds. The clauses in the main contracts will be as indicated by the FI at
the time of notification. Table 2. and Table 3. shows some clauses and activities in the
“investment” contract respectively. Table 4. shows some of the rules defined in the
meta-schema for the present example.
CL-a. Who can invest (like say citizen of the country and or institutions), how they can
invest (like say singly, jointly etc.)
CL-b. Minimum Amount, Maximum Amount and Other restrictions Maturity Period
CL-c. Promise of return, mode and periodicity of interest payment etc.
CL-d. Other conditions like whether Transfer of ownership allowed, Pre-mature withdrawal
allowed or not, reinvestment in other schemes allowed or not etc. and penal clauses
like payment of additional penal interest in case the interest is not paid in time.
Figure 3. shows the schema for the contract in our example. In the Figure 3, the
“instance” level information is co-existing with conceptual level information. That is,
in the case of Parties, FI is a particular instance of entity Party. But we show it as a
specific entity (object) in the entity type “Parties”. This feature is very much needed
to model e-contracts, because the information captured at the instance level of an
entity is different from other instances of the same entity type due to its specific
behaviour in a contract. For example, the information captured for the Party instance
FI is entirely different from the Party instance Investor. This feature is also a feasible
solution because of small number of entities involved in each entity-type. In other
words, the EREC meta-schema is a template for modeling e-contracts.
A Frame Work for Modeling Electronic Contracts 201
Activities
(A1,A2,A3, A4)
Submission Contract
A1 Sub Contracts
Fund Agreement
Receipt &
Info. To FI
Investment have
Bank
Scrutiny Customership
A2
Inter-Bank
Allotment
Periodic
Repayment Clauses
has CL-a
Maturity
Repayment
CL-b
have
Parties
A3 Change
Ownership CL-c
Payments
Funds ∪
A4 Transfer CL-d
FI
Agency
Investor
Bank refer
business processes to be specified. For example, the activity scrutiny may require a
new business process in a FI to be specified. This Scrutiny workflow may require
additional agents to be involved in the execution. Third, the contracts and clauses are
A Frame Work for Modeling Electronic Contracts 203
Account
Resultant Event : {Calculate Interest Due, Amount_Transfer, Bank_Transfer}
The interest will be calculated and the amount will be transferred to the Account of
the Customer
Exception : Not able to credit – Incorrect_Account_Info, Interest cannot be paid
Rule_Name : Transfer_Bond
Triggering Event : Transfer
Rule 3
After specifying the workflows, they can be incorporated at various parties for
supporting e-contracts. For example, workflow A enables an investor (say, Rama) to
submit a requisition to buy some ICICI bonds from Citibank. At Citibank, the
workflow A will enable relevant information, documents and payments (through his
account in Citibank) to be provided by Rama. Further, workflow A will transmit the
documents to ICICI and the payment is transferred from Citibank to ICICI. After that,
workflow B is initiated at ICICI to scrutinize and allot the bonds to Rama. Once
Rama is allotted the bonds, Workflow D is initiated at ICICI to transfer funds to
Rama’s account in Citibank, either periodically and/or at maturity time based on the
contract. In case, Rama is interested to sell the bonds to another investor, (say, Sunil),
the workflow C enables Rama to transfer the ownership of his bonds to Sunil. Here,
the workflow C is initiated by Rama and the transfer takes place at ICICI.
Scrutiny
Start Periodic Maturity Fund
repayment Payment Transfer
Allotment Fund
End
Transfer
(b) Mapping Activity A2 to workflow B
Change Fund
Start End Start Transfer End
Ownership
No sufficient Send
balance clarification
4.1. Discussion
E-contracts are complex and difficult to understand and facilitating an implementation
of e-contracts is not straightforward. Therefore, we have developed a modeling
framework for e-contracts, namely EREC data model and illustrated an investment
EREC model and its mapping to a workflow. The points that need to be noted are:
1. The EREC model is a natural way for modeling e-contracts. The important
aspects namely, clauses, activities and parties can be easily conceptualized and
their relationships can be modeled.
2. Exceptions to clauses are integral part of e-contracts which needs to be modeled
carefully. In EREC model, we provide facilities to link up contracts, activities
and exceptions are modeled using rules.
3. A methodology is developed to map an e-contract to many workflows that need
to be executed by various parties involved in the contract. Thus, EREC model is
one of the first models to facilitate conceptual modeling of cross-organizational
e-contracts that are implemented by cross-organizational workflows.
4. The meta-schema for e-contracts can be augmented to include additional e-
contract requirements such as authorization and delegation.
5. Related Work
In the recent years, the research on E-Commerce and related areas made it a challenge
to do business electronically. This is mainly due to the increase use of Internet and
web driven business processes. The Domain Task Force established by OMG
produced a working version of the electronic commerce reference model [O1997].
This model is largely based on the results of OSM ( An Open Service Model for
206 Kamalakar Karlapalem, Ajay R. Dani, and P. Radha Krishna
6. Conclusion
In this paper, we focused on the framework for modeling an e-contract. The meta-
schema for electronic contracts is presented and illustrated with a simple example. We
proposed an extension to ER model called EREC model to represent the complex
inter/intra relationships among entities in an electronic contract. We illustrated the
utility of this EREC model through a detail example. The salient feature of the EREC
model is the seamless conceptualization of “instances” and constructs, and
relationships among them. This advocated the notion of an EREC model to be a
template for a class of e-contracts to be supported by a set of parties. In this case, a
particular e-contract may involve some of the parties to engage in fulfillment of the e-
contract. For example, in the “Investment” EREC model, for a user Rama, the parties
involved were Citibank and ICICI and the e-contract was among them. Thus, the
notion of conceptual model as a template instantiated at run-time is proposed.
Further, we showed how an e-contract is mapped to a set of workflows that can be
executed by different parties. A detailed methodology for this mapping has been
provided along with an illustrative example. Overall, in this paper we focused on
modeling e-contracts and mapping it to workflows. We are currently working on
developing a toolkit for EREC data model and facilitate its mapping to workflows in
commercially available workflow management systems.
A Frame Work for Modeling Electronic Contracts 207
References
[CKL2000] Dickson Chiu, Kamalakar Karlapalem, Qing Li. E-Adome: A framework for
enacting e-services, Workshop on Technologies for E-Services (VLDB workshop), 2000.
[G1999] B. N. Grosof, A declarative approach to business rules in Contracts: Courteous Logic
Programs in XML, Proceedings of the 1st ACM Conference on Electronic Commerce (EC99),
Denver, Colorado, USA, Nov. 3-5, 1999.
[GHS1995] Dimitrios Georgakopoulos, Mark F. Hornick, Amit P. Sheth: An Overview of Workflow
Management: From Process Modeling to Workflow Automation Infrastructure. Distributed and
Parallel Databases 3(2): pages 119-153 (1995).
[GSG2000] M. Gisler, K. Stanoevska-Slabeva, and M. Greunz, Legal Aspects of Electronic
Contracts, in CAiSE*00 Workshop of Infrastructures for Dynamic Business-to-Business Service
Outsourcing (IDSO'00) Stockholm, 5 - 6 June 2000.
[H+2000] Jenny Hands, Mikhail Bessonov, Mike Blinov, Ahmed Patel and Ron Smith, An inclusive
and extensible architecture for electronic brokerage, Decision Support Systems, 29, 305-321,
2000.
[I1998] Infowin ACTS Project 1998, Information Brokerage, Deutshe Telekom Berkom, Berlin.
[KS1998] G. E. Kersten and S. Szpakowicz, Modelling business negotiations for electronic
commerce, Proceedings of the 7th workshop on Intelligent Information Systems, Warsaw: IPI
PAN, 1998, 17-28.
[KYH1995] Kamalakar Karlapalem, Helen P. Yeung, Patrick C. K. Hung: CapBasED-AMS - A
Framework for Capability-Based and Event-Driven Activity Management System. CoopIS 1995:
pages 205-219.
[LH2000] Ting-Peng Liang and Jin-Shiang Huang, A framework for applying intelligent agents to
support electronic trading, Decision Support Systems, 28, 305-317, 2000.
[LS1997] Yu Lei and Munindar P. Singh, A comparison of workflow metamodels, Proceedings of
the ER'97 Workshop on Behavioral Models and Design Transformations: Issues and
Opportunities in Conceptual Modeling, 6 - 7 November 1997, UCLA, Los Angeles, California.
[O1997] OMG/CommerceNet 1997, Joint Electronic Commerce Whitepaper. OMG Domain
Technical Committee, Monreal ( http://www.osm.net/upload/97-06-09.pdf)
[S1980] R. G. Simith, The contract net protocol: High Level Communication and Control in a
Distributed Problem Solver, IEEE Transactions on Comp[uters (29;12), December 1980, 1104-
1113.
[TNCK1991] A. K. Tanaka, S. B. Navathe, S. Chakravarthy and K. Karlapalem, ER-R: An
enhanced ER model with situation-action rules to capture application semantics, in ER
1991: pages 59-75.