sartography / spiff-arena

SpiffWorkflow is a software development platform for building, running, and monitoring executable diagrams
https://www.spiffworkflow.org/
GNU Lesser General Public License v2.1
48 stars 36 forks source link

dev.mod - "The Data Output was not available in the subprocess output.." error #1563

Closed madhurrya closed 1 week ago

madhurrya commented 2 weeks ago

In dev.mod I am getting this error when running a PP1.

https://dev.mod.spiff.status.im/i/38872

Image

Due to this error can't complete any pp1/pp2 etc

Managed to recreate using this model. https://dev.mod.spiff.status.im/process-models/misc:test:madhurya-testing:temp-group8:temp-model-8-10-call-activity-3

It works without any error in dev.app. https://dev.app.spiff.status.im/i/1417

But it errors in dev.mod https://dev.mod.spiff.status.im/i/38893

If I remove this call activity or changed the process it is calling, then it seems to be working fine.

Image

jasquat commented 2 weeks ago

This seems to happen if the call activity doesn't set the variable is_emp_out. If I do set that variable from within the process that the call activity calls, then the final task data contains the value for that instead of the one set in the Activity_1ev83sg. If the call activity isn't there then it uses the variable set in Activity_1ev83sg.

It seems to be this commit of SpiffWorkflow https://github.com/sartography/SpiffWorkflow/commit/6d18cb8d282b3eaf0a6d10abadf534c663eb45a4. If I downgrade to ac2d8f3f168d7c7cc5d73dfc77b8166f607f379c then it all works.

@essweine any ideas why that would be the case?

madhurrya commented 1 week ago

This issue seems to be fixed now