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

"Print workflow" in the debug menu shows the current workflow activity in red. Is there a more convenient way to show it?

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

The only way to know the workflow current activity of your record is using the Print Workflow button in debug mode.

Be careful. The states are different from a wokflow activity (node). They are two things apart. The state of a record is a special field (selection type) defined in the model object. The workflow is another object relationated to the model object and reprensent a chain of steps with the live cycle of the model object. For Example a model A has:

States: Draft, Proforma, Approved, Close, Cancel.
Worfklow activities: Draft, Progress, Done, Cancelled.

When the model is in the Draft workflow activity -> could be in Draft state,
When the model is in the Progress workflow activity -> could be in Proforma or Approve state,
When the model is in the Done workflow activity -> could be in Close state,
When the model is in the Cancelled workflow activity-> could be in Cancel state.

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

Hy leonardo,

The state field is supposed to indicate what is the position in the Wkf for the object.
I don't think that there will be better way to "print" this stuf!

regards

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

no, the state field has nothing to do with the workflow state.

Yes you're right, I answered too fast. Actually, for simple workflow, object states and wkf activity have often the same name but it's 2 different notions.

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 25
587
1
thg 9 25
789
1
thg 8 25
884
2
thg 7 25
1025
1
thg 7 25
918