You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup a custom workflow channel, following the steps described in the documentation.
The first issue is with the documentation itself: using the code examples without any changes and registering the ExtJS class using the \Pimcore\Event\BundleManagerEvents::JS_PATHS event, results in an internal error, as \App\FormBuilder\MyChannel::getUsedFormFieldNames() and \App\FormBuilder\MyChannel::dispatchOutputProcessing() lack the required return types.
After adding the return types, I see the new workflow channel in the workflow settings of a form. Selecting it, results in a Javascript error message: Uncaught TypeError: channelConfigPanel.setVirtualFunnelAware is not a function. It seems, inheritance doesn't work.
Changing the name in the ExtJS class to Formbuilder.extjs.formPanel.outputWorkflow.channel.my (i.e. removing the Channel suffix as with the integrated workflow channels) removes this error. But then, no configuration is found (message No configuration for myChannel found. instead of the configuration form). Additionally removing the Channel suffix in the service registration in services.yaml, makes the initial Javascript error message reappear.
The text was updated successfully, but these errors were encountered:
Environment: Pimcore 11.3.1, FormBuilderBundle 5.1.4
I'm trying to setup a custom workflow channel, following the steps described in the documentation.
The first issue is with the documentation itself: using the code examples without any changes and registering the ExtJS class using the
\Pimcore\Event\BundleManagerEvents::JS_PATHS
event, results in an internal error, as\App\FormBuilder\MyChannel::getUsedFormFieldNames()
and\App\FormBuilder\MyChannel::dispatchOutputProcessing()
lack the required return types.After adding the return types, I see the new workflow channel in the workflow settings of a form. Selecting it, results in a Javascript error message:
Uncaught TypeError: channelConfigPanel.setVirtualFunnelAware is not a function
. It seems, inheritance doesn't work.Changing the name in the ExtJS class to
Formbuilder.extjs.formPanel.outputWorkflow.channel.my
(i.e. removing theChannel
suffix as with the integrated workflow channels) removes this error. But then, no configuration is found (messageNo configuration for myChannel found. instead of the configuration form). Additionally removing the
Channel
suffix in the service registration inservices.yaml
, makes the initial Javascript error message reappear.The text was updated successfully, but these errors were encountered: