Activity 图 UML:替代流程中的替代流程?
Activity diagram UML: An alternative flow within an alternative flow?
假设还有一个基本流程,洗车已经是备选流程:
A1 : 检查要洗的车
A1.1系统在车库系统中查询是否需要洗车
A1.2 系统找到汽车并给出汽车状态 = 'to wash'
(When step A1.1 does not find the car, it should check the parking
system before the status = 'to investigate') I describe this part in the Special requirements part of my Use Case template.
A2(或 A1.1?):检查停车位系统
A2.1 系统检查停车系统中状态为'to wash'
的车
So in this case A1 and A2 needs to be checked before it gets = 'to
investigate'
奋斗历程:
我的替代流程 2 在纸面上是替代流程 1 的步骤 A1.1 之后的流程,我感觉它是替代流程 1 的替代流程,因为它会在检查另一个系统时检查另一个系统在步骤 A1.1 中找不到数据。还有步骤A1.2这样建模有问题吗?
如何在 activity 图表中对流程建模?还是可以将其建模为 A1 和 A2(即使 A2 是在步骤 A1.1 之后发生的过程,并且还有步骤 A1.2)?
根据你最后的话:
The preconditions: we know we had a car with number GJ35X for example and we want to find it, only we dont know whether it is in the garage system or in the parking spot system. It needs to go to investigate status when we can not find it in both systems
activity 只管理一辆车,可以是:
假设还有一个基本流程,洗车已经是备选流程:
A1 : 检查要洗的车
A1.1系统在车库系统中查询是否需要洗车
A1.2 系统找到汽车并给出汽车状态 = 'to wash'
(When step A1.1 does not find the car, it should check the parking system before the status = 'to investigate') I describe this part in the Special requirements part of my Use Case template.
A2(或 A1.1?):检查停车位系统
A2.1 系统检查停车系统中状态为'to wash'
的车So in this case A1 and A2 needs to be checked before it gets = 'to investigate'
奋斗历程:
我的替代流程 2 在纸面上是替代流程 1 的步骤 A1.1 之后的流程,我感觉它是替代流程 1 的替代流程,因为它会在检查另一个系统时检查另一个系统在步骤 A1.1 中找不到数据。还有步骤A1.2这样建模有问题吗?
如何在 activity 图表中对流程建模?还是可以将其建模为 A1 和 A2(即使 A2 是在步骤 A1.1 之后发生的过程,并且还有步骤 A1.2)?
根据你最后的话:
The preconditions: we know we had a car with number GJ35X for example and we want to find it, only we dont know whether it is in the garage system or in the parking spot system. It needs to go to investigate status when we can not find it in both systems
activity 只管理一辆车,可以是: