Angel
October 16, 2020, 6:40am
1
Hi,
I am new to Visual components.
I want to model a complex logic using work process.
Here is the logic (graph should be better understand)
I don’t know how to write this three cases at the same work process (#4 & #5 )properly.
My current task notes for work process #4 & #5 is attach below, but it won’t work.
I’m not native in English, hope you can understand the question.
Thank you in advance.
testWorkProcess.vcmx (718.1 KB)
Angel
October 27, 2020, 8:37am
2
Hi,
I break the complex problem down to smaller problems.
This one is want to know how to write a nested waitSingal statement in work process.
Hi,
How can I write a nested waitSignal statement and use the “and operator” like the example below.
if condition1 and condition2:
if condition3:
#do caseA
else
#do caseB
else:
#do caseC
[image]
I tried this but there is an error “Traceback (most recent call last):
File “Works Process::OnRun”, line 363, in OnRun
File “Works Process::OnRun”, line 461, in call_WT
File “Works Process::OnRun”, line 402, in call_WT
File “Works Process::OnRun”, line 1877, in WT__WaitSignal
RuntimeError…
I would be grateful if I could give some suggestions
I would be grateful if someone can provide me any suggestions (even through that is not the perfect solution).
I just stuck in here for so long TAT.
Angel