Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2292 Lượt xem

I have 2 modules a and b . In module b i have a workflow with 4 states : 1-2-3-4 .I want in module b ,user can use state 1 and 2 and in module a user can use state 3-4 in workflow in module b .Is it possible to do that .Please help me :)) Thanks .

Sorry for bad English :(

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

By states do you mean transition or activity?  Anyway, you need to define the workflow in one module.  You can then define actvivities and transitions in the same module or different modules, as long as it uses the proper ID and the other modules depends on the first module.  Furthermore you can trigger the workflow (using button or in methods) in yet another different modules.  So, module dependency and proper use of XML IDs are key.

Ảnh đại diện
Huỷ bỏ