joostvangils / BPMN_RPA

Robotic Process Automation in Windows and Linux by using Diagrams.net BPMN diagrams.
GNU General Public License v3.0
40 stars 8 forks source link

BPMN_RPA Studio not running flows #3

Closed burque505 closed 3 years ago

burque505 commented 3 years ago

ISSUE: Flows will not execute from Studio DESCRIPTION: Flows will not execute from Studio STEPS TO REPRODUCE:

  1. Install BPMN-RPA Studio 4.6.1 on Win10 Pro 64-bit.
  2. Create simple flow with one Message
  3. Run from Studio
  4. Should fail.

TROUBLESHOOTING:

  1. Where flow is named "flow2.flw", copy BPMN_RPA_STARTER.py to flow directory, rename as test.py
  2. Run from cmd.exe "python test.py flow2.flw"
  3. Output indicates module "xmlt2dict" is missing.

C:\BPMN-RPA Studio\Git>python test.py flow2.flw Traceback (most recent call last): File "test.py", line 1, in <module> from BPMN_RPA.WorkflowEngine import WorkflowEngine File "C:\Program Files\Python37\lib\site-packages\BPMN_RPA\WorkflowEngine.py", line 22, in <module> import xmltodict ModuleNotFoundError: No module named 'xmltodict'

FIX: pip install --upgrade xml2dict SUGGESTION: Add xml2dict as dependency

joostvangils commented 3 years ago

Good find! Many thanks for this. I will go through all dependencies again and add the missing ones in the net update.

Btw: if you already haven't done so, please upgrade BPMN-RPA Studio to the latest version (now 21.6.51). It has lots of new features, like disabling steps in the flow by right ckicking a shape and the ability to stop flows that have an endless loop.