orlenyslp / Caterpillar

Caterpillar: A BPMN-based BPMS for Ethereum
BSD 3-Clause "New" or "Revised" License
122 stars 52 forks source link

compilation errors #83

Open koopspieter opened 2 years ago

koopspieter commented 2 years ago

Hi,

I try to run a process including a XOR gateway. However, it chooses by default the sequence flow that listed first in the BPMN file. When I set the bool to false, that is used by the gateway, according to the format in the papers, it results in a compilation error of smart contracts. I use version 1. What is going wrong? Is version 1 outdated? How do I solve it? I already inspected the code thoroughly, without positive result.

koopspieter commented 2 years ago

Additionally, it does not this: (bool _powder) : (bool powder) -> {powder = _powder; } when no option is selected, it takes the flow that is specified first. Which leaves me with the impression the bools are set to true by default. The following results in compilation errors: bool powder = false; bool powder = "false" Anyone faced this. problem and solved it? Would be really helpful. @orlenyslp @TimKam

koopspieter commented 2 years ago

"bool powder = false" does not raise errors anymore. However, it still does not comply with the flow it is supposed to take

koopspieter commented 2 years ago

After trying v2 and v2.1, I got v2.1 working, however the output is not of interest to me. When I try the v2 version, it does not continue after the first step. Who knows how to deal with that?