Hi,
I've problem with action 'Run program' (in ZP 4.0.8.2).
I uses little python scripts for various purposes and I need to send exit code 0 or 1 to ZP.
I expected:
exit code == 0 -> success -> green dot or next action
exit code != 0 -> failure -> red dot (if not, BadEnd)
What happens:
If exit code = 0, no problem.
If exit code != 0 AND if there is a connection through the green dot to another action, ZP exit through the green dot.
if exit code != 0 AND if there is only a connection through the red dot to another action, ZP doesn't exit by red dot but produces a BadEnd.
Maybe am I missing something?
I've problem with action 'Run program' (in ZP 4.0.8.2).
I uses little python scripts for various purposes and I need to send exit code 0 or 1 to ZP.
I expected:
exit code == 0 -> success -> green dot or next action
exit code != 0 -> failure -> red dot (if not, BadEnd)
What happens:
If exit code = 0, no problem.
If exit code != 0 AND if there is a connection through the green dot to another action, ZP exit through the green dot.
if exit code != 0 AND if there is only a connection through the red dot to another action, ZP doesn't exit by red dot but produces a BadEnd.
Maybe am I missing something?
Вложения
-
20,3 КБ Просмотры: 315