sartography / cr-connect

0 stars 0 forks source link

enum_label() error in NICU workflow #617

Closed calexh-sar closed 2 years ago

calexh-sar commented 2 years ago

When running the NICU Committee Approval workflow, I received the following error: image.png

There is a task with that name in the sub-process in the workflow: image.png

Similar error in the Data Security Plan workflow: image.png

calexh-sar commented 2 years ago

@cullerton this error is still happing as before after the release and my updates.

cullerton commented 2 years ago

It turns out we don't have access to task_specs of a sub process. We need to make the call to enum_label in the sub process, and then access that variable in task data

calexh-sar commented 2 years ago

We are going with the solution that the enum_label() and any other similar scripts must be run in the Sub-Process.