27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 5.<br />

Metamodel for contructing activity diagrams<br />

V. EXAMPLE OF RESEARCH METHOD<br />

An example of t he trouble ticket scenario is selec ted to<br />

demonstrate how t o compose the underlying ADL script and<br />

how to insert control nodes based on the ADL semantic model.<br />

Fig.6 illustrates the target activity diagram [2] associated with<br />

the example scenario.<br />

15 then auditAndRecord,<br />

16 communicateResult<br />

17 endif<br />

18 else<br />

19 if 'not recorded' then terminate endif<br />

20 endif<br />

21 end<br />

22<br />

23 decision from reproduceProblem<br />

24 if 'cannot reproduce problem'<br />

25 then correctProblem<br />

26 else<br />

27 if 'can reproduce problem'<br />

28 then idProblemAndResolution<br />

29 endif<br />

30 else<br />

31 if 'duplication of another problem'<br />

32 then verifyResolution<br />

33 endif<br />

34 else<br />

35 if 'known problem and solution'<br />

36 then auditAndRecord,<br />

37 communicateResult<br />

38 endif<br />

39 endif<br />

40 end<br />

41<br />

42 correctProblem -> auditAndRecord<br />

43 correctProblem -> communicateResult<br />

44<br />

45 decision from verifyResolution<br />

46 if 'problem not solved'<br />

47 then idProblemAndResolution<br />

48 else auditAndRecord,<br />

49 communicateResult<br />

50 endif<br />

51 end<br />

52 end<br />

Fig. 7 illustrates all the actions and their object evidences as<br />

implicit objects are used to create all action sequences here.<br />

Record Problem A Reproduce Problem<br />

B<br />

Correct Problem<br />

Verify Resolution<br />

C<br />

E<br />

ID Problem and<br />

Resolution<br />

D<br />

Audit and Record<br />

G<br />

Communicate Result<br />

F<br />

Figure 6. Target activity diagram of trouble ticket scenario [2]<br />

The ADL script representing the trouble ticket scenario can<br />

be written as follows:<br />

01 diagram 'ticket trouble scenario'<br />

02 action recordProblem end<br />

03 action reproduceProblem end<br />

04 action correctProblem end<br />

05 action idProblemAndResolution end<br />

06 action verifyResolution end<br />

07 action auditAndRecord end<br />

08 action communicateResult end<br />

09<br />

10 decision from recordProblem<br />

11 if 'recorded'<br />

12 then<br />

13 reproduceProblem<br />

14 if 'problem statement rectified'<br />

Figure 7. Actions and their object evidences<br />

Once all sequences of actions have been created, the start<br />

point and the termination point are identified. Actions without<br />

an input object and those without an output object are<br />

candidates for connecting to th e initial node and the activity<br />

final node, respectively. Therefore, recordProblem is connected<br />

to the initial node, while auditAndRecord and<br />

communicateResult are co nnected to the activity final node.<br />

The directed connections can be expressed as follows:<br />

initiate → INITIAL → recordProblem → A<br />

auditAndRecord → G → terminate → TERMINATE<br />

communicateResult → F → terminate → TERMINATE<br />

Next, (5) is ap plied to build guard condition objects,<br />

resulting in the directed connections as follows:<br />

727

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!